Skip to content

Commit

Permalink
Add policies chart with trust root and initial policy
Browse files Browse the repository at this point in the history
  • Loading branch information
codysoyland committed Jun 6, 2024
1 parent a7fc8cf commit 4273b13
Show file tree
Hide file tree
Showing 7 changed files with 83 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
tags:
- policy-controller-v*
- policies-v*

jobs:
release:
Expand Down
20 changes: 20 additions & 0 deletions charts/policies/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
16 changes: 16 additions & 0 deletions charts/policies/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: v2
description: The Helm chart for Policy Controller
home: https://github.com/github/policy-controller

sources:
- https://github.com/github/policy-controller

type: application

name: policy-controller-policies
version: "v0.1.0"
appVersion: "v0.1.0"

maintainers:
- name: codysoyland
- name: malancas
9 changes: 9 additions & 0 deletions charts/policies/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# policies

The Helm chart for Policy Controller Policies

**Homepage:** <https://github.com/github/policy-controller>

## Source Code

* <https://github.com/github/policy-controller>
18 changes: 18 additions & 0 deletions charts/policies/templates/clusterimagepolicy-github.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{{ if .Values.policy.enabled }}
apiVersion: policy.sigstore.dev/v1alpha1
kind: ClusterImagePolicy
metadata:
name: github-policy
spec:
images:
- glob: "**"
authorities:
- keyless:
identities:
- issuer: https://token.actions.githubusercontent.com
subjectRegExp: https://github.com/{{ .Values.policy.organization }}/{{ .Values.policy.repo }}/\.github/workflows/.*
signatureFormat: bundle
attestations:
- name: require-attestation
predicateType: {{ .Values.policy.predicateType }}
{{- end }}
9 changes: 9 additions & 0 deletions charts/policies/templates/trustroot-github.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: policy.sigstore.dev/v1alpha1
kind: TrustRoot
metadata:
name: github
spec:
remote:
mirror: https://tuf-repo.github.com/
root: |-
ewogInNpZ25hdHVyZXMiOiBbCiAgewogICAia2V5aWQiOiAiNGY0ZDFkZDc1ZjJkN2YzODYwZTNhMDY4ZDdiZWQ5MGRlYzVmMGZhYWZjYmUxYWNlN2ZiN2Q5NWQyOWUwNzIyOCIsCiAgICJzaWciOiAiIgogIH0sCiAgewogICAia2V5aWQiOiAiNWUwMWM5YTBiMjY0MWE4OTY1YTRhNzRlN2RmMGJjN2IyZDgyNzhhMmMzY2EwY2Y3YTNmMmY3ODNkM2M2OTgwMCIsCiAgICJzaWciOiAiIgogIH0sCiAgewogICAia2V5aWQiOiAiZWI4ZWZmMzdmOTNhZjJmYWFiYTUxOWYzNDFkZWNlYzNjZWNkM2VlYWZjYWNlMzI5NjZkYjk3MjM4NDJjOGE2MiIsCiAgICJzaWciOiAiIgogIH0sCiAgewogICAia2V5aWQiOiAiYTEwNTEzYTVhYjYxYWNkMGM2YjZmYmUwNTA0ODU2ZWFkMThmM2IxN2M0ZmFiYmUzZmE4NDhjNzlhNWExODdjZiIsCiAgICJzaWciOiAiMzA0NTAyMjEwMDg0YzlmMjk2ZWI1YjY3MmU0NDIxMzA5NjY1M2RkN2ZlZGNkMjQ3Nzg1MDQ0ZGVjNjQ4ZjBmM2JlN2IwY2Q1MTAwMjIwNzg2NzgyMmI2ZDFhODU5NjlhNTY5N2U3NzQyNTczMTllM2Q4NzIzZmE2ZDQwM2FlMDcyOTgwYjcyYWNmYTUwZCIKICB9LAogIHsKICAgImtleWlkIjogImQ2YTg5ZTIzZmIyMjgwMWEwZDExODZiZjFiZGQwMDdlMjI4ZjY1YThhYTk5NjRkMjRkMDZjYjVmYmIwY2U5MWMiLAogICAic2lnIjogIjMwNDUwMjIwMGYwZmI0Y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b24tY2ktc2lnbmluZy1wZXJpb2QiOiA2CiAgIH0KICB9LAogICJzcGVjX3ZlcnNpb24iOiAiMS4wLjMxIiwKICAidmVyc2lvbiI6IDIsCiAgIngtdHVmLW9uLWNpLWV4cGlyeS1wZXJpb2QiOiAyNDAsCiAgIngtdHVmLW9uLWNpLXNpZ25pbmctcGVyaW9kIjogNjAKIH0KfQ==
10 changes: 10 additions & 0 deletions charts/policies/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# A default policy can be created by setting policy.enabled to true.
policy:
# organization is a regex that matches the organization name in the certificate identity
organization: '.*'
# repo is a regex that matches the repository name in the certificate identity
repo: '.*'
# enabled is a flag to enable the default policy
enabled: false
# predicateType is the type of predicate to expect in the default policy
predicateType: https://slsa.dev/provenance/v1

0 comments on commit 4273b13

Please sign in to comment.