be690aa5a3
In this patchset, comfigmap of ceph.conf and secret of cinder user keyring is created for externally managed ceph Cinder backend. Change-Id: Ie76bf207a7d42bd70a6be2648e060122f7daf5ad
21 lines
564 B
YAML
21 lines
564 B
YAML
{{/*
|
|
This manifest results a secret being created which has the keyring information
|
|
needed for cinder rbd user of external managed ceph backend
|
|
*/}}
|
|
|
|
{{- if and .Values.ceph_client.enable_external_ceph_backend .Values.ceph_client.external_ceph.rbd_user }}
|
|
|
|
{{- $envAll := . }}
|
|
{{- $userClass := "volume_external" }}
|
|
{{- $secretName := index $envAll.Values.secrets.rbd $userClass }}
|
|
---
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: {{ $secretName }}
|
|
type: Opaque
|
|
data:
|
|
key: {{ $envAll.Values.ceph_client.external_ceph.rbd_user_keyring | b64enc }}
|
|
...
|
|
{{- end }}
|