Merge "move ceph info under conf property"

This commit is contained in:
Jenkins 2017-05-19 15:20:03 +00:00 committed by Gerrit Code Review
commit e7f33e5229
4 changed files with 10 additions and 16 deletions

View File

@ -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:

View File

@ -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 }}

View File

@ -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 = {{ . }}

View File

@ -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