Merge "move ceph info under conf property"
This commit is contained in:
commit
e7f33e5229
@ -86,9 +86,9 @@ spec:
|
||||
mountPath: /etc/ceph/ceph.conf
|
||||
subPath: ceph.conf
|
||||
readOnly: true
|
||||
- name: glance-etc
|
||||
mountPath: /etc/ceph/ceph.client.{{ .Values.ceph.glance_user }}.keyring
|
||||
subPath: ceph.client.{{ .Values.ceph.glance_user }}.keyring
|
||||
- name: cephclientglancekeyring
|
||||
mountPath: /etc/ceph/ceph.client.{{ .Values.conf.glance.glance_store.glance.store.rbd_store_user }}.keyring
|
||||
subPath: ceph.client.{{ .Values.conf.glance.glance_store.glance.store.rbd_store_user }}.keyring
|
||||
readOnly: true
|
||||
{{- end }}
|
||||
volumes:
|
||||
|
@ -12,9 +12,9 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
[client.{{ .Values.ceph.glance_user }}]
|
||||
{{- if .Values.ceph.glance_keyring }}
|
||||
key = {{ .Values.ceph.glance_keyring }}
|
||||
[client.{{ .Values.conf.glance.glance_store.glance.store.rbd_store_user }}]
|
||||
{{- if .Values.conf.ceph.keyring }}
|
||||
key = {{ .Values.conf.ceph.keyring }}
|
||||
{{- else }}
|
||||
key = {{- include "secrets/ceph-client-key" . -}}
|
||||
{{- end }}
|
||||
|
@ -15,9 +15,9 @@
|
||||
[global]
|
||||
rgw_thread_pool_size = 1024
|
||||
rgw_num_rados_handles = 100
|
||||
{{- if .Values.ceph.monitors }}
|
||||
{{- if .Values.conf.ceph.monitors }}
|
||||
[mon]
|
||||
{{ range .Values.ceph.monitors }}
|
||||
{{ range .Values.conf.ceph.monitors }}
|
||||
[mon.{{ . }}]
|
||||
host = {{ . }}
|
||||
mon_addr = {{ . }}
|
||||
|
@ -72,6 +72,8 @@ keystone:
|
||||
|
||||
conf:
|
||||
ceph:
|
||||
monitors: []
|
||||
keyring: null
|
||||
override:
|
||||
append:
|
||||
ceph_client:
|
||||
@ -144,14 +146,6 @@ network:
|
||||
enabled: false
|
||||
port: 30091
|
||||
|
||||
ceph:
|
||||
enabled: true
|
||||
monitors: []
|
||||
# a null value for the keyring will
|
||||
# attempt to use the key from
|
||||
# common/secrets/ceph-client-key
|
||||
glance_keyring: null
|
||||
|
||||
volume:
|
||||
class_path: volume.beta.kubernetes.io/storage-class
|
||||
class_name: general
|
||||
|
Loading…
x
Reference in New Issue
Block a user