Gnocchi: Keystone secret for k8s 1.8
This PS updates the keystone secret in Gnocci to be compatible with Kubernetes 1.8 which has stricter requirements for secret definitions. Change-Id: Ie5799bdb531fab02ba0c817bdd9d692f3cedd0a9
This commit is contained in:
parent
2c89386765
commit
f03e618d27
@ -50,7 +50,6 @@ metadata:
|
|||||||
name: "${RBD_POOL_SECRET}"
|
name: "${RBD_POOL_SECRET}"
|
||||||
type: kubernetes.io/rbd
|
type: kubernetes.io/rbd
|
||||||
data:
|
data:
|
||||||
key: |
|
key: $( echo ${ENCODED_KEYRING} )
|
||||||
$( echo ${ENCODED_KEYRING} )
|
|
||||||
EOF
|
EOF
|
||||||
kubectl create --namespace ${NAMESPACE} -f ${SECRET}
|
kubectl create --namespace ${NAMESPACE} -f ${SECRET}
|
||||||
|
@ -29,9 +29,7 @@ metadata:
|
|||||||
type: Opaque
|
type: Opaque
|
||||||
data:
|
data:
|
||||||
{{- tuple $userClass "internal" $envAll | include "helm-toolkit.snippets.keystone_secret_openrc" | indent 2 }}
|
{{- tuple $userClass "internal" $envAll | include "helm-toolkit.snippets.keystone_secret_openrc" | indent 2 }}
|
||||||
OS_AUTH_TYPE: |
|
OS_AUTH_TYPE: {{ $osAuthType | b64enc }}
|
||||||
{{ $osAuthType | b64enc | indent 4 }}
|
OS_TENANT_NAME: {{ $osTenantName | b64enc }}
|
||||||
OS_TENANT_NAME: |
|
|
||||||
{{ $osTenantName | b64enc | indent 4 }}
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user