move ceph info under conf property
Now ceph.enabled property in values.yaml file is not used anywhere and almost all configuration about ceph is moved under conf property. In addition, default values.yaml file has no ceph.glance_user property and still the property is used in templetes. It looks it's time to move remained ceph properties under conf tree and remove ceph tree. Closes-Bug: #1691011 Change-Id: I98f7a85eef517ab806432a7342aa3601e8183e0b
This commit is contained in:
parent
9e3486380f
commit
b58c5d2515
@ -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…
Reference in New Issue
Block a user