33 lines
1.4 KiB
YAML
33 lines
1.4 KiB
YAML
# Copyright 2017 The Openstack-Helm Authors.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
# note that these secrets are handled by the common chart, not the ceph
|
|
# chart, as we likely want them "everywhere"
|
|
---
|
|
apiVersion: storage.k8s.io/v1beta1
|
|
kind: StorageClass
|
|
metadata:
|
|
name: {{ .Values.storageclass.name }}
|
|
provisioner: kubernetes.io/rbd
|
|
parameters:
|
|
monitors: {{ .Values.storageclass.monitors | default "ceph-mon.ceph:6789" }}
|
|
adminId: {{ .Values.storageclass.admin_id }}
|
|
adminSecretName: {{ .Values.storageclass.admin_secret_name }}
|
|
# forcing namespace due to issue with default pipeline of "{{ .Release.Namespace }}" }}
|
|
# during helm lint
|
|
adminSecretNamespace: {{ .Values.storageclass.admin_secret_namespace | default "ceph" }}
|
|
pool: {{ .Values.storageclass.pool }}
|
|
userId: {{ .Values.storageclass.user_id }}
|
|
userSecretName: {{ .Values.storageclass.user_secret_name }}
|