Merge "Ceph-rgw: make configmap names to be driven via chart values"
This commit is contained in:
commit
090373d352
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/}}
|
*/}}
|
||||||
|
|
||||||
{{- if and .Values.manifests.configmap_bin .Values.deployment.ceph }}
|
{{- if or (.Values.deployment.rgw_keystone_user_and_endpoints) (.Values.deployment.ceph) }}
|
||||||
{{- $envAll := . }}
|
{{- $envAll := . }}
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
@ -38,7 +38,5 @@ data:
|
|||||||
{{ tuple "bin/_ceph-rgw-storage-init.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }}
|
{{ tuple "bin/_ceph-rgw-storage-init.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }}
|
||||||
ceph-admin-keyring.sh: |
|
ceph-admin-keyring.sh: |
|
||||||
{{ tuple "bin/_ceph-admin-keyring.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }}
|
{{ tuple "bin/_ceph-admin-keyring.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }}
|
||||||
rgw-s3-admin.sh: |
|
|
||||||
{{ tuple "bin/rgw/_rgw-s3-admin.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }}
|
|
||||||
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -20,7 +20,7 @@ limitations under the License.
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
name: ceph-templates
|
name: {{ printf "%s-%s" $envAll.Release.Name "ceph-templates" | quote }}
|
||||||
data:
|
data:
|
||||||
bootstrap.keyring.rgw: |
|
bootstrap.keyring.rgw: |
|
||||||
{{ .Values.conf.templates.keyring.bootstrap.rgw | indent 4 }}
|
{{ .Values.conf.templates.keyring.bootstrap.rgw | indent 4 }}
|
||||||
|
@ -121,11 +121,11 @@ spec:
|
|||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
- name: ceph-etc
|
- name: ceph-etc
|
||||||
configMap:
|
configMap:
|
||||||
name: ceph-etc
|
name: {{ .Values.ceph_client.configmap }}
|
||||||
defaultMode: 0444
|
defaultMode: 0444
|
||||||
- name: ceph-templates
|
- name: ceph-templates
|
||||||
configMap:
|
configMap:
|
||||||
name: ceph-templates
|
name: {{ printf "%s-%s" $envAll.Release.Name "ceph-templates" | quote }}
|
||||||
defaultMode: 0444
|
defaultMode: 0444
|
||||||
- name: ceph-keyring
|
- name: ceph-keyring
|
||||||
secret:
|
secret:
|
||||||
|
@ -111,6 +111,9 @@ pod:
|
|||||||
memory: "1024Mi"
|
memory: "1024Mi"
|
||||||
cpu: "2000m"
|
cpu: "2000m"
|
||||||
|
|
||||||
|
ceph_client:
|
||||||
|
configmap: ceph-etc
|
||||||
|
|
||||||
secrets:
|
secrets:
|
||||||
keyrings:
|
keyrings:
|
||||||
mon: ceph-mon-keyring
|
mon: ceph-mon-keyring
|
||||||
|
Loading…
Reference in New Issue
Block a user