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}"
|
||||
type: kubernetes.io/rbd
|
||||
data:
|
||||
key: |
|
||||
$( echo ${ENCODED_KEYRING} )
|
||||
key: $( echo ${ENCODED_KEYRING} )
|
||||
EOF
|
||||
kubectl create --namespace ${NAMESPACE} -f ${SECRET}
|
||||
|
@ -29,9 +29,7 @@ metadata:
|
||||
type: Opaque
|
||||
data:
|
||||
{{- tuple $userClass "internal" $envAll | include "helm-toolkit.snippets.keystone_secret_openrc" | indent 2 }}
|
||||
OS_AUTH_TYPE: |
|
||||
{{ $osAuthType | b64enc | indent 4 }}
|
||||
OS_TENANT_NAME: |
|
||||
{{ $osTenantName | b64enc | indent 4 }}
|
||||
OS_AUTH_TYPE: {{ $osAuthType | b64enc }}
|
||||
OS_TENANT_NAME: {{ $osTenantName | b64enc }}
|
||||
{{ end }}
|
||||
{{- end }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user