Skip to content

Commit e2776d9

Browse files
add secret name to clusterrole binding (#79)
* add secret name to clusterrole binding * helm-docs: automated action --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 501c346 commit e2776d9

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

charts/appset-secret-plugin/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: A Helm chart for adding a K8s Secret Plugin Generator to Argo CD Ap
66
# to be deployed.
77
type: application
88

9-
version: 1.3.0
9+
version: 1.4.0
1010

1111
# renovate: image=jessebot/argocd-appset-secret-plugin
1212
appVersion: "v0.9.0"

charts/appset-secret-plugin/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# appset-secret-plugin
22

3-
![Version: 1.3.0](https://img.shields.io/badge/Version-1.3.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.9.0](https://img.shields.io/badge/AppVersion-v0.9.0-informational?style=flat-square)
3+
![Version: 1.4.0](https://img.shields.io/badge/Version-1.4.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.9.0](https://img.shields.io/badge/AppVersion-v0.9.0-informational?style=flat-square)
44

55
A Helm chart for adding a K8s Secret Plugin Generator to Argo CD ApplicationSets
66

charts/appset-secret-plugin/templates/clusterrole.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@ metadata:
1212
rules:
1313
- apiGroups: [""] # "" indicates the core API group
1414
resources: ["secrets"]
15+
resourceNames: [{{ .Values.secretVars.existingSecret | quote }}]
1516
verbs: ["get", "watch", "list"]
1617
{{- end}}

charts/appset-secret-plugin/templates/deployment.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,10 @@ spec:
7070
mountPath: {{ .Values.configReloader.folder }}
7171

7272
- name: {{ .Chart.Name }}
73+
{{- with .Values.securityContext }}
7374
securityContext:
74-
{{- toYaml .Values.securityContext | nindent 12 }}
75+
{{- toYaml . | nindent 12 }}
76+
{{- end }}
7577
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
7678
imagePullPolicy: {{ .Values.image.pullPolicy }}
7779
ports:

0 commit comments

Comments
 (0)