[ceph-mon] Release-specific ceph-templates configmap name

This change corrects the ceph-templates configmap name to be
release-specific like the other configmaps in the chart. This
allows for more robustness in downstream implementations.

Change-Id: I1d09d14f9ba94dbbe11d8a80776f57b9cdf41210
This commit is contained in:
Stephen Taylor 2022-03-08 07:57:08 -07:00
parent 80fe5d81cc
commit 77a94d4630
5 changed files with 5 additions and 4 deletions

View File

@ -15,6 +15,6 @@ apiVersion: v1
appVersion: v1.0.0
description: OpenStack-Helm Ceph Mon
name: ceph-mon
version: 0.1.22
version: 0.1.23
home: https://github.com/ceph/ceph
...

View File

@ -18,7 +18,7 @@ limitations under the License.
apiVersion: v1
kind: ConfigMap
metadata:
name: ceph-templates
name: {{ printf "%s-%s" $envAll.Release.Name "templates" | quote }}
data:
admin.keyring: |
{{ .Values.conf.templates.keyring.admin | indent 4 }}

View File

@ -127,7 +127,7 @@ spec:
defaultMode: 0555
- name: ceph-templates
configMap:
name: ceph-templates
name: {{ printf "%s-%s" $envAll.Release.Name "templates" | quote }}
defaultMode: 0444
{{- end }}
{{- end }}

View File

@ -122,6 +122,6 @@ spec:
defaultMode: 0555
- name: ceph-templates
configMap:
name: ceph-templates
name: {{ printf "%s-%s" $envAll.Release.Name "templates" | quote }}
defaultMode: 0444
{{- end }}

View File

@ -23,4 +23,5 @@ ceph-mon:
- 0.1.20 Consolidate mon_endpoints discovery
- 0.1.21 Change configmap names to be based on release name
- 0.1.22 Correct configmap names for all resources
- 0.1.23 Release-specific ceph-template configmap name
...