Revert "Helm-toolkit: Updates manifests to support openstack logging.conf"
This reverts commit ad5d4259c4
.
We need to revert this - as until the charts are updated OSH is broken.
Change-Id: I58db4c0bf7bdccd8ba7cd1e63af00ff1f01c343a
This commit is contained in:
parent
ad5d4259c4
commit
04f648a3a3
14
.zuul.yaml
14
.zuul.yaml
@ -32,7 +32,6 @@
|
|||||||
- ^doc/.*$
|
- ^doc/.*$
|
||||||
- ^releasenotes/.*$
|
- ^releasenotes/.*$
|
||||||
- openstack-helm-infra-kubernetes-keystone-auth:
|
- openstack-helm-infra-kubernetes-keystone-auth:
|
||||||
voting: false
|
|
||||||
irrelevant-files:
|
irrelevant-files:
|
||||||
- ^.*\.rst$
|
- ^.*\.rst$
|
||||||
- ^doc/.*$
|
- ^doc/.*$
|
||||||
@ -55,14 +54,11 @@
|
|||||||
- ^.*\.rst$
|
- ^.*\.rst$
|
||||||
- ^doc/.*$
|
- ^doc/.*$
|
||||||
- ^releasenotes/.*$
|
- ^releasenotes/.*$
|
||||||
#NOTE(srwilkers): Changing this job to nonvoting until the htk changes
|
- openstack-helm-infra-kubernetes-keystone-auth:
|
||||||
# in this patchset are merged, as these changes will cause some osh
|
irrelevant-files:
|
||||||
# charts to fail to lint
|
- ^.*\.rst$
|
||||||
# - openstack-helm-infra-kubernetes-keystone-auth:
|
- ^doc/.*$
|
||||||
# irrelevant-files:
|
- ^releasenotes/.*$
|
||||||
# - ^.*\.rst$
|
|
||||||
# - ^doc/.*$
|
|
||||||
# - ^releasenotes/.*$
|
|
||||||
experimental:
|
experimental:
|
||||||
jobs:
|
jobs:
|
||||||
#NOTE(srwilkers): Make fedora job experimental until issues resolved
|
#NOTE(srwilkers): Make fedora job experimental until issues resolved
|
||||||
|
@ -30,7 +30,7 @@ limitations under the License.
|
|||||||
{{- $nodeSelector := index . "nodeSelector" | default ( dict $envAll.Values.labels.job.node_selector_key $envAll.Values.labels.job.node_selector_value ) -}}
|
{{- $nodeSelector := index . "nodeSelector" | default ( dict $envAll.Values.labels.job.node_selector_key $envAll.Values.labels.job.node_selector_value ) -}}
|
||||||
{{- $configMapBin := index . "configMapBin" | default (printf "%s-%s" $serviceName "bin" ) -}}
|
{{- $configMapBin := index . "configMapBin" | default (printf "%s-%s" $serviceName "bin" ) -}}
|
||||||
{{- $configMapEtc := index . "configMapEtc" | default (printf "%s-%s" $serviceName "etc" ) -}}
|
{{- $configMapEtc := index . "configMapEtc" | default (printf "%s-%s" $serviceName "etc" ) -}}
|
||||||
{{- $dbToDrop := index . "dbToDrop" | default ( dict "adminSecret" $envAll.Values.secrets.oslo_db.admin "configFile" (printf "/etc/%s/%s.conf" $serviceName $serviceName ) "logConfigFile" (printf "/etc/%s/logging.conf" $serviceName ) "configDbSection" "database" "configDbKey" "connection" ) -}}
|
{{- $dbToDrop := index . "dbToDrop" | default ( dict "adminSecret" $envAll.Values.secrets.oslo_db.admin "configFile" (printf "/etc/%s/%s.conf" $serviceName $serviceName ) "configDbSection" "database" "configDbKey" "connection" ) -}}
|
||||||
{{- $dbsToDrop := default (list $dbToDrop) (index . "dbsToDrop") }}
|
{{- $dbsToDrop := default (list $dbToDrop) (index . "dbsToDrop") }}
|
||||||
|
|
||||||
{{- $serviceNamePretty := $serviceName | replace "_" "-" -}}
|
{{- $serviceNamePretty := $serviceName | replace "_" "-" -}}
|
||||||
@ -99,10 +99,6 @@ spec:
|
|||||||
mountPath: {{ $dbToDrop.configFile | quote }}
|
mountPath: {{ $dbToDrop.configFile | quote }}
|
||||||
subPath: {{ base $dbToDrop.configFile | quote }}
|
subPath: {{ base $dbToDrop.configFile | quote }}
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: db-drop-conf
|
|
||||||
mountPath: {{ $dbToDrop.logConfigFile | quote }}
|
|
||||||
subPath: {{ base $dbToDrop.logConfigFile | quote }}
|
|
||||||
readOnly: true
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -30,7 +30,7 @@ limitations under the License.
|
|||||||
{{- $nodeSelector := index . "nodeSelector" | default ( dict $envAll.Values.labels.job.node_selector_key $envAll.Values.labels.job.node_selector_value ) -}}
|
{{- $nodeSelector := index . "nodeSelector" | default ( dict $envAll.Values.labels.job.node_selector_key $envAll.Values.labels.job.node_selector_value ) -}}
|
||||||
{{- $configMapBin := index . "configMapBin" | default (printf "%s-%s" $serviceName "bin" ) -}}
|
{{- $configMapBin := index . "configMapBin" | default (printf "%s-%s" $serviceName "bin" ) -}}
|
||||||
{{- $configMapEtc := index . "configMapEtc" | default (printf "%s-%s" $serviceName "etc" ) -}}
|
{{- $configMapEtc := index . "configMapEtc" | default (printf "%s-%s" $serviceName "etc" ) -}}
|
||||||
{{- $dbToInit := index . "dbToInit" | default ( dict "adminSecret" $envAll.Values.secrets.oslo_db.admin "configFile" (printf "/etc/%s/%s.conf" $serviceName $serviceName ) "logConfigFile" (printf "/etc/%s/logging.conf" $serviceName ) "configDbSection" "database" "configDbKey" "connection" ) -}}
|
{{- $dbToInit := index . "dbToInit" | default ( dict "adminSecret" $envAll.Values.secrets.oslo_db.admin "configFile" (printf "/etc/%s/%s.conf" $serviceName $serviceName ) "configDbSection" "database" "configDbKey" "connection" ) -}}
|
||||||
{{- $dbsToInit := default (list $dbToInit) (index . "dbsToInit") }}
|
{{- $dbsToInit := default (list $dbToInit) (index . "dbsToInit") }}
|
||||||
|
|
||||||
{{- $serviceNamePretty := $serviceName | replace "_" "-" -}}
|
{{- $serviceNamePretty := $serviceName | replace "_" "-" -}}
|
||||||
@ -96,10 +96,6 @@ spec:
|
|||||||
mountPath: {{ $dbToInit.configFile | quote }}
|
mountPath: {{ $dbToInit.configFile | quote }}
|
||||||
subPath: {{ base $dbToInit.configFile | quote }}
|
subPath: {{ base $dbToInit.configFile | quote }}
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: db-init-conf
|
|
||||||
mountPath: {{ $dbToInit.logConfigFile | quote }}
|
|
||||||
subPath: {{ base $dbToInit.logConfigFile | quote }}
|
|
||||||
readOnly: true
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -28,7 +28,7 @@ limitations under the License.
|
|||||||
{{- $podVolMounts := index . "podVolMounts" | default false -}}
|
{{- $podVolMounts := index . "podVolMounts" | default false -}}
|
||||||
{{- $podVols := index . "podVols" | default false -}}
|
{{- $podVols := index . "podVols" | default false -}}
|
||||||
{{- $podEnvVars := index . "podEnvVars" | default false -}}
|
{{- $podEnvVars := index . "podEnvVars" | default false -}}
|
||||||
{{- $dbToSync := index . "dbToSync" | default ( dict "configFile" (printf "/etc/%s/%s.conf" $serviceName $serviceName ) "logConfigFile" (printf "/etc/%s/logging.conf" $serviceName ) "image" ( index $envAll.Values.images.tags ( printf "%s_db_sync" $serviceName )) ) -}}
|
{{- $dbToSync := index . "dbToSync" | default ( dict "configFile" (printf "/etc/%s/%s.conf" $serviceName $serviceName ) "image" ( index $envAll.Values.images.tags ( printf "%s_db_sync" $serviceName )) ) -}}
|
||||||
|
|
||||||
{{- $serviceNamePretty := $serviceName | replace "_" "-" -}}
|
{{- $serviceNamePretty := $serviceName | replace "_" "-" -}}
|
||||||
|
|
||||||
@ -73,10 +73,6 @@ spec:
|
|||||||
mountPath: {{ $dbToSync.configFile | quote }}
|
mountPath: {{ $dbToSync.configFile | quote }}
|
||||||
subPath: {{ base $dbToSync.configFile | quote }}
|
subPath: {{ base $dbToSync.configFile | quote }}
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: db-sync-conf
|
|
||||||
mountPath: {{ $dbToSync.logConfigFile | quote }}
|
|
||||||
subPath: {{ base $dbToSync.logConfigFile | quote }}
|
|
||||||
readOnly: true
|
|
||||||
{{- if $podVolMounts }}
|
{{- if $podVolMounts }}
|
||||||
{{ $podVolMounts | toYaml | indent 12 }}
|
{{ $podVolMounts | toYaml | indent 12 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
Loading…
Reference in New Issue
Block a user