This repository was archived by the owner on Jul 26, 2022. It is now read-only.
File tree 2 files changed +23
-1
lines changed
charts/kubernetes-external-secrets
2 files changed +23
-1
lines changed Original file line number Diff line number Diff line change 48
48
name : {{ $value.secretKeyRef | quote }}
49
49
key : {{ $value.key | quote }}
50
50
{{- end }}
51
+ {{- with .Values.filesFromSecret }}
52
+ volumeMounts :
53
+ {{- range $key, $value := . }}
54
+ - name : {{ $key }}
55
+ mountPath : {{ $value.mountPath }}
56
+ readOnly : true
57
+ {{- end }}
58
+ {{- end }}
51
59
{{- with .Values.securityContext }}
52
60
securityContext :
53
61
{{- toYaml . | nindent 8 }}
64
72
tolerations :
65
73
{{- toYaml . | nindent 8 }}
66
74
{{- end }}
75
+ {{- with .Values.filesFromSecret }}
76
+ volumes :
77
+ {{- range $key, $value := . }}
78
+ - name : {{ $key }}
79
+ secret :
80
+ secretName : {{ $value.secret }}
81
+ {{- end }}
82
+ {{- end }}
Original file line number Diff line number Diff line change 10
10
METRICS_PORT : 3001
11
11
VAULT_ADDR : http://127.0.0.1:8200
12
12
13
- # Create environment variables from exists k8s secrets
13
+ # Create environment variables from existing k8s secrets
14
14
# envVarsFromSecret:
15
15
# AWS_ACCESS_KEY_ID:
16
16
# secretKeyRef: aws-credentials
19
19
# secretKeyRef: aws-credentials
20
20
# key: key
21
21
22
+ # Create files from existing k8s secrets
23
+ # filesFromSecret:
24
+ # examplefile:
25
+ # secret: secretname
26
+ # mountPath: /a/mount/point/
27
+
22
28
rbac :
23
29
# Specifies whether RBAC resources should be created
24
30
create : true
You can’t perform that action at this time.
0 commit comments