Enable taint toleration for helm-toolkit
This adds taint toleration support for openstack jobs Signed-off-by: Lucas Cavalcante <lucasmedeiros.cavalcante@windriver.com> Change-Id: I168837f962465d1c89acc511b7bf4064ac4b546c
This commit is contained in:
parent
9a5da15288
commit
0d5b16cabb
@ -15,7 +15,7 @@ apiVersion: v1
|
|||||||
appVersion: v1.0.0
|
appVersion: v1.0.0
|
||||||
description: OpenStack-Helm Helm-Toolkit
|
description: OpenStack-Helm Helm-Toolkit
|
||||||
name: helm-toolkit
|
name: helm-toolkit
|
||||||
version: 0.2.35
|
version: 0.2.36
|
||||||
home: https://docs.openstack.org/openstack-helm
|
home: https://docs.openstack.org/openstack-helm
|
||||||
icon: https://www.openstack.org/themes/openstack/images/project-mascots/OpenStack-Helm/OpenStack_Project_OpenStackHelm_vertical.png
|
icon: https://www.openstack.org/themes/openstack/images/project-mascots/OpenStack-Helm/OpenStack_Project_OpenStackHelm_vertical.png
|
||||||
sources:
|
sources:
|
||||||
|
@ -23,6 +23,7 @@ limitations under the License.
|
|||||||
{{- $jobAnnotations := index . "jobAnnotations" -}}
|
{{- $jobAnnotations := index . "jobAnnotations" -}}
|
||||||
{{- $jobLabels := index . "jobLabels" -}}
|
{{- $jobLabels := index . "jobLabels" -}}
|
||||||
{{- $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 ) -}}
|
||||||
|
{{- $tolerationsEnabled := index . "tolerationsEnabled" | default false -}}
|
||||||
{{- $podVolMounts := index . "podVolMounts" | default false -}}
|
{{- $podVolMounts := index . "podVolMounts" | default false -}}
|
||||||
{{- $podVols := index . "podVols" | default false -}}
|
{{- $podVols := index . "podVols" | default false -}}
|
||||||
{{- $configMapBin := index . "configMapBin" | default (printf "%s-%s" $serviceName "bin" ) -}}
|
{{- $configMapBin := index . "configMapBin" | default (printf "%s-%s" $serviceName "bin" ) -}}
|
||||||
@ -73,6 +74,9 @@ spec:
|
|||||||
{{ tuple $envAll "bootstrap" | include "helm-toolkit.snippets.kubernetes_image_pull_secrets" | indent 6 }}
|
{{ tuple $envAll "bootstrap" | include "helm-toolkit.snippets.kubernetes_image_pull_secrets" | indent 6 }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{ toYaml $nodeSelector | indent 8 }}
|
{{ toYaml $nodeSelector | indent 8 }}
|
||||||
|
{{- if $tolerationsEnabled }}
|
||||||
|
{{ tuple $envAll $serviceName | include "helm-toolkit.snippets.kubernetes_tolerations" | indent 6 }}
|
||||||
|
{{- end}}
|
||||||
initContainers:
|
initContainers:
|
||||||
{{ tuple $envAll "bootstrap" list | include "helm-toolkit.snippets.kubernetes_entrypoint_init_container" | indent 8 }}
|
{{ tuple $envAll "bootstrap" list | include "helm-toolkit.snippets.kubernetes_entrypoint_init_container" | indent 8 }}
|
||||||
containers:
|
containers:
|
||||||
|
@ -28,6 +28,7 @@ limitations under the License.
|
|||||||
{{- $jobAnnotations := index . "jobAnnotations" -}}
|
{{- $jobAnnotations := index . "jobAnnotations" -}}
|
||||||
{{- $jobLabels := index . "jobLabels" -}}
|
{{- $jobLabels := index . "jobLabels" -}}
|
||||||
{{- $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 ) -}}
|
||||||
|
{{- $tolerationsEnabled := index . "tolerationsEnabled" | default false -}}
|
||||||
{{- $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 ) "logConfigFile" (printf "/etc/%s/logging.conf" $serviceName ) "configDbSection" "database" "configDbKey" "connection" ) -}}
|
||||||
@ -74,6 +75,9 @@ spec:
|
|||||||
{{ tuple $envAll "db_drop" | include "helm-toolkit.snippets.kubernetes_image_pull_secrets" | indent 6 }}
|
{{ tuple $envAll "db_drop" | include "helm-toolkit.snippets.kubernetes_image_pull_secrets" | indent 6 }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{ toYaml $nodeSelector | indent 8 }}
|
{{ toYaml $nodeSelector | indent 8 }}
|
||||||
|
{{- if $tolerationsEnabled }}
|
||||||
|
{{ tuple $envAll $serviceName | include "helm-toolkit.snippets.kubernetes_tolerations" | indent 6 }}
|
||||||
|
{{- end}}
|
||||||
initContainers:
|
initContainers:
|
||||||
{{ tuple $envAll "db_drop" list | include "helm-toolkit.snippets.kubernetes_entrypoint_init_container" | indent 8 }}
|
{{ tuple $envAll "db_drop" list | include "helm-toolkit.snippets.kubernetes_entrypoint_init_container" | indent 8 }}
|
||||||
containers:
|
containers:
|
||||||
|
@ -28,6 +28,7 @@ limitations under the License.
|
|||||||
{{- $jobAnnotations := index . "jobAnnotations" -}}
|
{{- $jobAnnotations := index . "jobAnnotations" -}}
|
||||||
{{- $jobLabels := index . "jobLabels" -}}
|
{{- $jobLabels := index . "jobLabels" -}}
|
||||||
{{- $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 ) -}}
|
||||||
|
{{- $tolerationsEnabled := index . "tolerationsEnabled" | default false -}}
|
||||||
{{- $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 ) "logConfigFile" (printf "/etc/%s/logging.conf" $serviceName ) "configDbSection" "database" "configDbKey" "connection" ) -}}
|
||||||
@ -74,6 +75,9 @@ spec:
|
|||||||
{{ tuple $envAll "db_init" | include "helm-toolkit.snippets.kubernetes_image_pull_secrets" | indent 6 }}
|
{{ tuple $envAll "db_init" | include "helm-toolkit.snippets.kubernetes_image_pull_secrets" | indent 6 }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{ toYaml $nodeSelector | indent 8 }}
|
{{ toYaml $nodeSelector | indent 8 }}
|
||||||
|
{{- if $tolerationsEnabled }}
|
||||||
|
{{ tuple $envAll $serviceName | include "helm-toolkit.snippets.kubernetes_tolerations" | indent 6 }}
|
||||||
|
{{- end}}
|
||||||
initContainers:
|
initContainers:
|
||||||
{{ tuple $envAll "db_init" list | include "helm-toolkit.snippets.kubernetes_entrypoint_init_container" | indent 8 }}
|
{{ tuple $envAll "db_init" list | include "helm-toolkit.snippets.kubernetes_entrypoint_init_container" | indent 8 }}
|
||||||
containers:
|
containers:
|
||||||
|
@ -23,6 +23,7 @@ limitations under the License.
|
|||||||
{{- $jobAnnotations := index . "jobAnnotations" -}}
|
{{- $jobAnnotations := index . "jobAnnotations" -}}
|
||||||
{{- $jobLabels := index . "jobLabels" -}}
|
{{- $jobLabels := index . "jobLabels" -}}
|
||||||
{{- $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 ) -}}
|
||||||
|
{{- $tolerationsEnabled := index . "tolerationsEnabled" | default false -}}
|
||||||
{{- $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" ) -}}
|
||||||
{{- $podVolMounts := index . "podVolMounts" | default false -}}
|
{{- $podVolMounts := index . "podVolMounts" | default false -}}
|
||||||
@ -71,6 +72,9 @@ spec:
|
|||||||
{{ tuple $envAll "db_sync" | include "helm-toolkit.snippets.kubernetes_image_pull_secrets" | indent 6 }}
|
{{ tuple $envAll "db_sync" | include "helm-toolkit.snippets.kubernetes_image_pull_secrets" | indent 6 }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{ toYaml $nodeSelector | indent 8 }}
|
{{ toYaml $nodeSelector | indent 8 }}
|
||||||
|
{{- if $tolerationsEnabled }}
|
||||||
|
{{ tuple $envAll $serviceName | include "helm-toolkit.snippets.kubernetes_tolerations" | indent 6 }}
|
||||||
|
{{- end}}
|
||||||
initContainers:
|
initContainers:
|
||||||
{{ tuple $envAll "db_sync" list | include "helm-toolkit.snippets.kubernetes_entrypoint_init_container" | indent 8 }}
|
{{ tuple $envAll "db_sync" list | include "helm-toolkit.snippets.kubernetes_entrypoint_init_container" | indent 8 }}
|
||||||
containers:
|
containers:
|
||||||
|
@ -24,6 +24,7 @@ limitations under the License.
|
|||||||
{{- $jobAnnotations := index . "jobAnnotations" -}}
|
{{- $jobAnnotations := index . "jobAnnotations" -}}
|
||||||
{{- $jobLabels := index . "jobLabels" -}}
|
{{- $jobLabels := index . "jobLabels" -}}
|
||||||
{{- $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 ) -}}
|
||||||
|
{{- $tolerationsEnabled := index . "tolerationsEnabled" | default false -}}
|
||||||
{{- $configMapBin := index . "configMapBin" | default (printf "%s-%s" $serviceName "bin" ) -}}
|
{{- $configMapBin := index . "configMapBin" | default (printf "%s-%s" $serviceName "bin" ) -}}
|
||||||
{{- $secretBin := index . "secretBin" -}}
|
{{- $secretBin := index . "secretBin" -}}
|
||||||
{{- $tlsSecret := index . "tlsSecret" | default "" -}}
|
{{- $tlsSecret := index . "tlsSecret" | default "" -}}
|
||||||
@ -74,6 +75,9 @@ spec:
|
|||||||
{{ tuple $envAll "ks_endpoints" | include "helm-toolkit.snippets.kubernetes_image_pull_secrets" | indent 6 }}
|
{{ tuple $envAll "ks_endpoints" | include "helm-toolkit.snippets.kubernetes_image_pull_secrets" | indent 6 }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{ toYaml $nodeSelector | indent 8 }}
|
{{ toYaml $nodeSelector | indent 8 }}
|
||||||
|
{{- if $tolerationsEnabled }}
|
||||||
|
{{ tuple $envAll $serviceName | include "helm-toolkit.snippets.kubernetes_tolerations" | indent 6 }}
|
||||||
|
{{- end}}
|
||||||
initContainers:
|
initContainers:
|
||||||
{{ tuple $envAll "ks_endpoints" list | include "helm-toolkit.snippets.kubernetes_entrypoint_init_container" | indent 8 }}
|
{{ tuple $envAll "ks_endpoints" list | include "helm-toolkit.snippets.kubernetes_entrypoint_init_container" | indent 8 }}
|
||||||
containers:
|
containers:
|
||||||
|
@ -24,6 +24,7 @@ limitations under the License.
|
|||||||
{{- $jobAnnotations := index . "jobAnnotations" -}}
|
{{- $jobAnnotations := index . "jobAnnotations" -}}
|
||||||
{{- $jobLabels := index . "jobLabels" -}}
|
{{- $jobLabels := index . "jobLabels" -}}
|
||||||
{{- $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 ) -}}
|
||||||
|
{{- $tolerationsEnabled := index . "tolerationsEnabled" | default false -}}
|
||||||
{{- $configMapBin := index . "configMapBin" | default (printf "%s-%s" $serviceName "bin" ) -}}
|
{{- $configMapBin := index . "configMapBin" | default (printf "%s-%s" $serviceName "bin" ) -}}
|
||||||
{{- $secretBin := index . "secretBin" -}}
|
{{- $secretBin := index . "secretBin" -}}
|
||||||
{{- $tlsSecret := index . "tlsSecret" | default "" -}}
|
{{- $tlsSecret := index . "tlsSecret" | default "" -}}
|
||||||
@ -74,6 +75,9 @@ spec:
|
|||||||
{{ tuple $envAll "ks_service" | include "helm-toolkit.snippets.kubernetes_image_pull_secrets" | indent 6 }}
|
{{ tuple $envAll "ks_service" | include "helm-toolkit.snippets.kubernetes_image_pull_secrets" | indent 6 }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{ toYaml $nodeSelector | indent 8 }}
|
{{ toYaml $nodeSelector | indent 8 }}
|
||||||
|
{{- if $tolerationsEnabled }}
|
||||||
|
{{ tuple $envAll $serviceName | include "helm-toolkit.snippets.kubernetes_tolerations" | indent 6 }}
|
||||||
|
{{- end}}
|
||||||
initContainers:
|
initContainers:
|
||||||
{{ tuple $envAll "ks_service" list | include "helm-toolkit.snippets.kubernetes_entrypoint_init_container" | indent 8 }}
|
{{ tuple $envAll "ks_service" list | include "helm-toolkit.snippets.kubernetes_entrypoint_init_container" | indent 8 }}
|
||||||
containers:
|
containers:
|
||||||
|
@ -45,6 +45,7 @@ limitations under the License.
|
|||||||
{{- $jobAnnotations := index . "jobAnnotations" -}}
|
{{- $jobAnnotations := index . "jobAnnotations" -}}
|
||||||
{{- $jobLabels := index . "jobLabels" -}}
|
{{- $jobLabels := index . "jobLabels" -}}
|
||||||
{{- $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 ) -}}
|
||||||
|
{{- $tolerationsEnabled := index . "tolerationsEnabled" | default false -}}
|
||||||
{{- $configMapBin := index . "configMapBin" | default (printf "%s-%s" $serviceName "bin" ) -}}
|
{{- $configMapBin := index . "configMapBin" | default (printf "%s-%s" $serviceName "bin" ) -}}
|
||||||
{{- $serviceUser := index . "serviceUser" | default $serviceName -}}
|
{{- $serviceUser := index . "serviceUser" | default $serviceName -}}
|
||||||
{{- $secretBin := index . "secretBin" -}}
|
{{- $secretBin := index . "secretBin" -}}
|
||||||
@ -97,6 +98,9 @@ spec:
|
|||||||
{{ tuple $envAll "ks_user" | include "helm-toolkit.snippets.kubernetes_image_pull_secrets" | indent 6 }}
|
{{ tuple $envAll "ks_user" | include "helm-toolkit.snippets.kubernetes_image_pull_secrets" | indent 6 }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{ toYaml $nodeSelector | indent 8 }}
|
{{ toYaml $nodeSelector | indent 8 }}
|
||||||
|
{{- if $tolerationsEnabled }}
|
||||||
|
{{ tuple $envAll $serviceName | include "helm-toolkit.snippets.kubernetes_tolerations" | indent 6 }}
|
||||||
|
{{- end}}
|
||||||
initContainers:
|
initContainers:
|
||||||
{{ tuple $envAll "ks_user" list | include "helm-toolkit.snippets.kubernetes_entrypoint_init_container" | indent 8 }}
|
{{ tuple $envAll "ks_user" list | include "helm-toolkit.snippets.kubernetes_entrypoint_init_container" | indent 8 }}
|
||||||
containers:
|
containers:
|
||||||
|
@ -18,6 +18,7 @@ limitations under the License.
|
|||||||
{{- $jobAnnotations := index . "jobAnnotations" -}}
|
{{- $jobAnnotations := index . "jobAnnotations" -}}
|
||||||
{{- $jobLabels := index . "jobLabels" -}}
|
{{- $jobLabels := index . "jobLabels" -}}
|
||||||
{{- $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 ) -}}
|
||||||
|
{{- $tolerationsEnabled := index . "tolerationsEnabled" | default false -}}
|
||||||
{{- $configMapBin := index . "configMapBin" | default (printf "%s-%s" $serviceName "bin" ) -}}
|
{{- $configMapBin := index . "configMapBin" | default (printf "%s-%s" $serviceName "bin" ) -}}
|
||||||
{{- $serviceUser := index . "serviceUser" | default $serviceName -}}
|
{{- $serviceUser := index . "serviceUser" | default $serviceName -}}
|
||||||
{{- $secretBin := index . "secretBin" -}}
|
{{- $secretBin := index . "secretBin" -}}
|
||||||
@ -64,6 +65,9 @@ spec:
|
|||||||
{{ tuple $envAll "rabbit_init" | include "helm-toolkit.snippets.kubernetes_image_pull_secrets" | indent 6 }}
|
{{ tuple $envAll "rabbit_init" | include "helm-toolkit.snippets.kubernetes_image_pull_secrets" | indent 6 }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{ toYaml $nodeSelector | indent 8 }}
|
{{ toYaml $nodeSelector | indent 8 }}
|
||||||
|
{{- if $tolerationsEnabled }}
|
||||||
|
{{ tuple $envAll $serviceName | include "helm-toolkit.snippets.kubernetes_tolerations" | indent 6 }}
|
||||||
|
{{- end}}
|
||||||
initContainers:
|
initContainers:
|
||||||
{{ tuple $envAll "rabbit_init" list | include "helm-toolkit.snippets.kubernetes_entrypoint_init_container" | indent 8 }}
|
{{ tuple $envAll "rabbit_init" list | include "helm-toolkit.snippets.kubernetes_entrypoint_init_container" | indent 8 }}
|
||||||
containers:
|
containers:
|
||||||
|
@ -23,6 +23,7 @@ limitations under the License.
|
|||||||
{{- $jobAnnotations := index . "jobAnnotations" -}}
|
{{- $jobAnnotations := index . "jobAnnotations" -}}
|
||||||
{{- $jobLabels := index . "jobLabels" -}}
|
{{- $jobLabels := index . "jobLabels" -}}
|
||||||
{{- $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 ) -}}
|
||||||
|
{{- $tolerationsEnabled := index . "tolerationsEnabled" | default false -}}
|
||||||
{{- $configMapBin := index . "configMapBin" | default (printf "%s-%s" $serviceName "bin" ) -}}
|
{{- $configMapBin := index . "configMapBin" | default (printf "%s-%s" $serviceName "bin" ) -}}
|
||||||
{{- $configMapCeph := index . "configMapCeph" | default (printf "ceph-etc" ) -}}
|
{{- $configMapCeph := index . "configMapCeph" | default (printf "ceph-etc" ) -}}
|
||||||
{{- $secretBin := index . "secretBin" -}}
|
{{- $secretBin := index . "secretBin" -}}
|
||||||
@ -69,6 +70,9 @@ spec:
|
|||||||
{{ tuple $envAll "s3_bucket" | include "helm-toolkit.snippets.kubernetes_image_pull_secrets" | indent 6 }}
|
{{ tuple $envAll "s3_bucket" | include "helm-toolkit.snippets.kubernetes_image_pull_secrets" | indent 6 }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{ toYaml $nodeSelector | indent 8 }}
|
{{ toYaml $nodeSelector | indent 8 }}
|
||||||
|
{{- if $tolerationsEnabled }}
|
||||||
|
{{ tuple $envAll $serviceName | include "helm-toolkit.snippets.kubernetes_tolerations" | indent 6 }}
|
||||||
|
{{- end}}
|
||||||
initContainers:
|
initContainers:
|
||||||
{{ tuple $envAll "s3_bucket" list | include "helm-toolkit.snippets.kubernetes_entrypoint_init_container" | indent 8 }}
|
{{ tuple $envAll "s3_bucket" list | include "helm-toolkit.snippets.kubernetes_entrypoint_init_container" | indent 8 }}
|
||||||
containers:
|
containers:
|
||||||
|
@ -23,6 +23,7 @@ limitations under the License.
|
|||||||
{{- $jobAnnotations := index . "jobAnnotations" -}}
|
{{- $jobAnnotations := index . "jobAnnotations" -}}
|
||||||
{{- $jobLabels := index . "jobLabels" -}}
|
{{- $jobLabels := index . "jobLabels" -}}
|
||||||
{{- $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 ) -}}
|
||||||
|
{{- $tolerationsEnabled := index . "tolerationsEnabled" | default false -}}
|
||||||
{{- $configMapBin := index . "configMapBin" | default (printf "%s-%s" $serviceName "bin" ) -}}
|
{{- $configMapBin := index . "configMapBin" | default (printf "%s-%s" $serviceName "bin" ) -}}
|
||||||
{{- $configMapCeph := index . "configMapCeph" | default (printf "ceph-etc" ) -}}
|
{{- $configMapCeph := index . "configMapCeph" | default (printf "ceph-etc" ) -}}
|
||||||
{{- $secretBin := index . "secretBin" -}}
|
{{- $secretBin := index . "secretBin" -}}
|
||||||
@ -67,6 +68,9 @@ spec:
|
|||||||
{{ tuple $envAll "s3_user" | include "helm-toolkit.snippets.kubernetes_image_pull_secrets" | indent 6 }}
|
{{ tuple $envAll "s3_user" | include "helm-toolkit.snippets.kubernetes_image_pull_secrets" | indent 6 }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{ toYaml $nodeSelector | indent 8 }}
|
{{ toYaml $nodeSelector | indent 8 }}
|
||||||
|
{{- if $tolerationsEnabled }}
|
||||||
|
{{ tuple $envAll $serviceName | include "helm-toolkit.snippets.kubernetes_tolerations" | indent 6 }}
|
||||||
|
{{- end}}
|
||||||
initContainers:
|
initContainers:
|
||||||
{{ tuple $envAll "s3_user" list | include "helm-toolkit.snippets.kubernetes_entrypoint_init_container" | indent 8 }}
|
{{ tuple $envAll "s3_user" list | include "helm-toolkit.snippets.kubernetes_entrypoint_init_container" | indent 8 }}
|
||||||
- name: ceph-keyring-placement
|
- name: ceph-keyring-placement
|
||||||
|
@ -23,6 +23,7 @@ limitations under the License.
|
|||||||
{{- $jobAnnotations := index . "jobAnnotations" -}}
|
{{- $jobAnnotations := index . "jobAnnotations" -}}
|
||||||
{{- $jobLabels := index . "jobLabels" -}}
|
{{- $jobLabels := index . "jobLabels" -}}
|
||||||
{{- $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 ) -}}
|
||||||
|
{{- $tolerationsEnabled := index . "tolerationsEnabled" | default false -}}
|
||||||
{{- $podVolMounts := index . "podVolMounts" | default false -}}
|
{{- $podVolMounts := index . "podVolMounts" | default false -}}
|
||||||
{{- $podVols := index . "podVols" | default false -}}
|
{{- $podVols := index . "podVols" | default false -}}
|
||||||
{{- $configMapBin := index . "configMapBin" | default (printf "%s-%s" $serviceName "bin" ) -}}
|
{{- $configMapBin := index . "configMapBin" | default (printf "%s-%s" $serviceName "bin" ) -}}
|
||||||
@ -66,6 +67,9 @@ spec:
|
|||||||
{{ tuple $envAll "image_repo_sync" | include "helm-toolkit.snippets.kubernetes_image_pull_secrets" | indent 6 }}
|
{{ tuple $envAll "image_repo_sync" | include "helm-toolkit.snippets.kubernetes_image_pull_secrets" | indent 6 }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{ toYaml $nodeSelector | indent 8 }}
|
{{ toYaml $nodeSelector | indent 8 }}
|
||||||
|
{{- if $tolerationsEnabled }}
|
||||||
|
{{ tuple $envAll $serviceName | include "helm-toolkit.snippets.kubernetes_tolerations" | indent 6 }}
|
||||||
|
{{- end}}
|
||||||
initContainers:
|
initContainers:
|
||||||
{{ tuple $envAll "image_repo_sync" list | include "helm-toolkit.snippets.kubernetes_entrypoint_init_container" | indent 8 }}
|
{{ tuple $envAll "image_repo_sync" list | include "helm-toolkit.snippets.kubernetes_entrypoint_init_container" | indent 8 }}
|
||||||
containers:
|
containers:
|
||||||
|
@ -42,4 +42,5 @@ helm-toolkit:
|
|||||||
- 0.2.33 Remove set -x
|
- 0.2.33 Remove set -x
|
||||||
- 0.2.34 Modify database backup logic to maintain minimum number of backups
|
- 0.2.34 Modify database backup logic to maintain minimum number of backups
|
||||||
- 0.2.35 Database B/R improvements
|
- 0.2.35 Database B/R improvements
|
||||||
|
- 0.2.36 Enable taint toleration for Openstack services jobs
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user