diff --git a/charts/scaffold/Chart.yaml b/charts/scaffold/Chart.yaml index bbcda100..f72d63ee 100644 --- a/charts/scaffold/Chart.yaml +++ b/charts/scaffold/Chart.yaml @@ -4,7 +4,7 @@ description: Scaffolding the components of the sigstore architecture type: application -version: 0.6.61 +version: 0.6.62 keywords: - security - pki diff --git a/charts/scaffold/README.md b/charts/scaffold/README.md index d387c62a..18a2842a 100644 --- a/charts/scaffold/README.md +++ b/charts/scaffold/README.md @@ -2,7 +2,7 @@ -![Version: 0.6.61](https://img.shields.io/badge/Version-0.6.61-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) +![Version: 0.6.62](https://img.shields.io/badge/Version-0.6.62-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) Scaffolding the components of the sigstore architecture diff --git a/charts/scaffold/templates/clusterrole.yaml b/charts/scaffold/templates/clusterrole.yaml index 7679b131..c2101851 100644 --- a/charts/scaffold/templates/clusterrole.yaml +++ b/charts/scaffold/templates/clusterrole.yaml @@ -9,5 +9,5 @@ rules: verbs: ["get", "create", "patch"{{- if .Values.copySecretJob.copySecretCronJob.enabled }}, "delete"{{- end }}] - apiGroups: ["apps"] resources: ["deployments"] - verbs: ["get", "list"] -{{- end }} + verbs: ["get", "list"{{- if .Values.copySecretJob.copySecretCronJob.enabled }}, "update"{{- end }}] +{{- end }} \ No newline at end of file diff --git a/charts/scaffold/templates/copy-secrets-cronjob.yaml b/charts/scaffold/templates/copy-secrets-cronjob.yaml index 8238a2fd..b02f7452 100644 --- a/charts/scaffold/templates/copy-secrets-cronjob.yaml +++ b/charts/scaffold/templates/copy-secrets-cronjob.yaml @@ -56,7 +56,7 @@ spec: args: [ "-c", "curl {{ .Values.tuf.secrets.rekor.deploymentName}}.{{ .Values.tuf.secrets.rekor.namespace }}.svc.cluster.local/api/v1/log/publicKey -o /tmp/key -v && \ - kubectl apply -f - <