Merge "promenade: convert configmap-etc to secret"
This commit is contained in:
commit
146a9a5b8e
|
@ -47,14 +47,11 @@ limitations under the License.
|
|||
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: promenade-etc
|
||||
data:
|
||||
api-paste.ini: |+
|
||||
{{ include "helm-toolkit.utils.to_ini" .Values.conf.paste | indent 4 }}
|
||||
promenade.conf: |+
|
||||
{{ include "helm-toolkit.utils.to_ini" .Values.conf.promenade | indent 4 }}
|
||||
policy.yaml: |+
|
||||
{{ toYaml .Values.conf.policy | indent 4 }}
|
||||
api-paste.ini: {{ include "helm-toolkit.utils.to_ini" .Values.conf.paste | b64enc }}
|
||||
promenade.conf: {{ include "helm-toolkit.utils.to_ini" .Values.conf.promenade | b64enc }}
|
||||
policy.yaml: {{ toYaml .Values.conf.policy | b64enc }}
|
||||
{{- end }}
|
||||
|
|
|
@ -118,8 +118,8 @@ spec:
|
|||
{{ if $mounts_promenade_api.volumeMounts }}{{ toYaml $mounts_promenade_api.volumeMounts | indent 12 }}{{ end }}
|
||||
volumes:
|
||||
- name: promenade-etc
|
||||
configMap:
|
||||
name: promenade-etc
|
||||
secret:
|
||||
secretName: promenade-etc
|
||||
defaultMode: 0444
|
||||
{{ if $mounts_promenade_api.volumes }}{{ toYaml $mounts_promenade_api.volumes | indent 8 }}{{ end }}
|
||||
{{- end }}
|
||||
|
|
Loading…
Reference in New Issue