Skip to content
This repository was archived by the owner on Jul 24, 2019. It is now read-only.

Commit ca1360c

Browse files
authored
Merge pull request #129 from alanmeadows/release_tag_fixes
Bugfixes for functional release tagging
2 parents 0fc1dd5 + 2edf1bc commit ca1360c

6 files changed

Lines changed: 14 additions & 6 deletions

File tree

glance/templates/configmap-etc.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ metadata:
55
data:
66
ceph.conf: |+
77
{{ tuple "etc/_ceph.conf.tpl" . | include "template" | indent 4 }}
8-
ceph.client.glance.keyring.yaml: |+
9-
{{ tuple "etc/_ceph.client.glance.keyring.yaml.tpl" . | include "template" | indent 4 }}
8+
ceph.client.{{ .Values.ceph.glance_user }}.keyring: |+
9+
{{ tuple "etc/_ceph.client.glance.keyring.tpl" . | include "template" | indent 4 }}
1010
glance-api.conf: |+
1111
{{ tuple "etc/_glance-api.conf.tpl" . | include "template" | indent 4 }}
1212
glance-api-paste.ini: |+

glance/templates/deployment-api.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ spec:
2323
labels:
2424
app: glance-api
2525
annotations:
26+
configmap-bin-hash: {{ tuple "configmap-bin.yaml" . | include "hash" }}
27+
configmap-etc-hash: {{ tuple "configmap-etc.yaml" . | include "hash" }}
2628
pod.beta.kubernetes.io/init-containers: '[
2729
{{ tuple $envAll $dependencies | include "dep-check-init-cont" | indent 10 }}
2830
]'

glance/templates/deployment-registry.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ spec:
1515
labels:
1616
app: glance-registry
1717
annotations:
18+
configmap-bin-hash: {{ tuple "configmap-bin.yaml" . | include "hash" }}
19+
configmap-etc-hash: {{ tuple "configmap-etc.yaml" . | include "hash" }}
1820
pod.beta.kubernetes.io/init-containers: '[
1921
{{ tuple $envAll $dependencies | include "dep-check-init-cont" | indent 10 }}
2022
]'
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[client.{{ .Values.ceph.glance_user }}]
2+
{{- if .Values.ceph.glance_keyring }}
3+
key = {{ .Values.ceph.glance_keyring }}
4+
{{- else }}
5+
key = {{- include "secrets/ceph-client-key" . -}}
6+
{{- end }}

glance/templates/etc/_ceph.client.glance.keyring.yaml.tpl

Lines changed: 0 additions & 2 deletions
This file was deleted.

keystone/templates/etc/_wsgi-keystone.conf.tpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combine
55
LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" proxy
66

77
<VirtualHost *:{{ .Values.network.port.public }}>
8-
WSGIDaemonProcess keystone-public processes=16 threads=6 user=keystone group=keystone display-name=%{GROUP}
8+
WSGIDaemonProcess keystone-public processes=1 threads=4 user=keystone group=keystone display-name=%{GROUP}
99
WSGIProcessGroup keystone-public
1010
WSGIScriptAlias / /var/www/cgi-bin/keystone/main
1111
WSGIApplicationGroup %{GLOBAL}
@@ -21,7 +21,7 @@ LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-A
2121
</VirtualHost>
2222

2323
<VirtualHost *:{{ .Values.network.port.admin }}>
24-
WSGIDaemonProcess keystone-admin processes=16 threads=5 user=keystone group=keystone display-name=%{GROUP}
24+
WSGIDaemonProcess keystone-admin processes=1 threads=4 user=keystone group=keystone display-name=%{GROUP}
2525
WSGIProcessGroup keystone-admin
2626
WSGIScriptAlias / /var/www/cgi-bin/keystone/admin
2727
WSGIApplicationGroup %{GLOBAL}

0 commit comments

Comments
 (0)