b64enc consistently

This commit is contained in:
Alan Meadows 2016-11-30 16:20:49 -08:00
parent 4861258380
commit 3c2e101e72
2 changed files with 3 additions and 3 deletions

View File

@ -46,4 +46,4 @@ metadata:
type: Opaque type: Opaque
data: data:
ceph-client-key: | ceph-client-key: |
{{ include "secrets/ceph-client-key" . | indent 4 }} {{ include "secrets/ceph-client-key" . | b64enc | indent 4 }}

View File

@ -6,7 +6,7 @@ metadata:
type: kubernetes.io/rbd type: kubernetes.io/rbd
data: data:
key: | key: |
{{ include "secrets/ceph-client-key" . | indent 4 }} {{ include "secrets/ceph-client-key" . | b64enc | indent 4 }}
--- ---
apiVersion: v1 apiVersion: v1
kind: Secret kind: Secret
@ -15,4 +15,4 @@ metadata:
type: kubernetes.io/rbd type: kubernetes.io/rbd
data: data:
key: | key: |
{{ include "secrets/ceph-client-key" . | indent 4 }} {{ include "secrets/ceph-client-key" . | b64enc | indent 4 }}