Jobs: Add labels to all jobs

This PS adds labels to all jobs in OpenStack-Helm, allowing them to be
found by label searches. This makes management of large clusters using
tools like Armada easier.

Change-Id: I49b2cb7a94fab96958f187ca11e2c2a0c80ff843
This commit is contained in:
Pete Birley 2017-08-05 14:29:32 -05:00
parent c8f225ef91
commit 8f8a80019a
71 changed files with 213 additions and 6 deletions

View File

@ -24,6 +24,9 @@ metadata:
name: barbican-bootstrap
spec:
template:
metadata:
labels:
{{ tuple $envAll "barbican" "bootstrap" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -19,6 +19,9 @@ metadata:
name: barbican-db-init
spec:
template:
metadata:
labels:
{{ tuple $envAll "barbican" "db-init" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -19,6 +19,9 @@ metadata:
name: barbican-db-sync
spec:
template:
metadata:
labels:
{{ tuple $envAll "barbican" "db-sync" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -19,6 +19,9 @@ metadata:
name: barbican-ks-endpoints
spec:
template:
metadata:
labels:
{{ tuple $envAll "barbican" "ks-endpoints" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -19,6 +19,9 @@ metadata:
name: barbican-ks-service
spec:
template:
metadata:
labels:
{{ tuple $envAll "barbican" "ks-service" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -19,6 +19,9 @@ metadata:
name: barbican-ks-user
spec:
template:
metadata:
labels:
{{ tuple $envAll "barbican" "ks-user" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -22,6 +22,9 @@ metadata:
name: ceph-bootstrap
spec:
template:
metadata:
labels:
{{ tuple $envAll "ceph" "bootstrap" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -12,20 +12,24 @@
# See the License for the specific language governing permissions and
# limitations under the License.
{{- if .Values.manifests_enabled.storage_secrets }}
{{- $envAll := . }}
{{- if .Values.manifests_enabled.storage_secrets }}
{{- range $key1, $cephBootstrapKey := tuple "mds" "osd" "rgw" "mon" }}
{{- $jobName := print $cephBootstrapKey "-keyring-generator" }}
---
apiVersion: batch/v1
kind: Job
metadata:
name: ceph-{{ $cephBootstrapKey }}-keyring-generator
name: ceph-{{ $jobName }}
spec:
template:
metadata:
labels:
{{ tuple $envAll "ceph" $jobName | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
containers:
- name: ceph-secret-generator
- name: ceph-{{ $jobName }}
image: {{ $envAll.Values.images.ceph_config_helper }}
imagePullPolicy: {{ $envAll.Values.images.pull_policy }}
{{- if $envAll.Values.pod.resources.enabled }}

View File

@ -12,6 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
{{- $envAll := . }}
{{- if .Values.manifests_enabled.client_secrets }}
---
apiVersion: batch/v1
@ -22,6 +23,9 @@ metadata:
"helm.sh/hook": pre-delete
spec:
template:
metadata:
labels:
{{ tuple $envAll "ceph" "client-key-cleaner" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
containers:

View File

@ -12,6 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
{{- $envAll := . }}
{{- if .Values.manifests_enabled.client_secrets }}
---
apiVersion: batch/v1
@ -20,6 +21,9 @@ metadata:
name: ceph-namespace-client-key-generator
spec:
template:
metadata:
labels:
{{ tuple $envAll "ceph" "client-key-generator" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
containers:

View File

@ -12,6 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
{{- $envAll := . }}
{{- if .Values.manifests_enabled.storage_secrets }}
---
apiVersion: batch/v1
@ -20,6 +21,9 @@ metadata:
name: ceph-storage-keys-generator
spec:
template:
metadata:
labels:
{{ tuple $envAll "ceph" "storage-keys-generator" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
containers:

View File

@ -22,6 +22,9 @@ metadata:
name: cinder-bootstrap
spec:
template:
metadata:
labels:
{{ tuple $envAll "cinder" "bootstrap" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -21,6 +21,9 @@ metadata:
name: cinder-db-init
spec:
template:
metadata:
labels:
{{ tuple $envAll "cinder" "db-init" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -21,6 +21,9 @@ metadata:
name: cinder-db-sync
spec:
template:
metadata:
labels:
{{ tuple $envAll "cinder" "db-sync" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -21,6 +21,9 @@ metadata:
name: cinder-ks-endpoints
spec:
template:
metadata:
labels:
{{ tuple $envAll "cinder" "ks-endpoints" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -21,6 +21,9 @@ metadata:
name: cinder-ks-service
spec:
template:
metadata:
labels:
{{ tuple $envAll "cinder" "ks-service" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -21,6 +21,9 @@ metadata:
name: cinder-ks-user
spec:
template:
metadata:
labels:
{{ tuple $envAll "cinder" "ks-user" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -21,6 +21,9 @@ metadata:
name: glance-bootstrap
spec:
template:
metadata:
labels:
{{ tuple $envAll "glance" "bootstrap" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -23,6 +23,9 @@ metadata:
"helm.sh/hook": pre-delete
spec:
template:
metadata:
labels:
{{ tuple $envAll "glance" "clean" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
containers:

View File

@ -21,6 +21,9 @@ metadata:
name: glance-db-init
spec:
template:
metadata:
labels:
{{ tuple $envAll "glance" "db-init" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -21,6 +21,9 @@ metadata:
name: glance-db-sync
spec:
template:
metadata:
labels:
{{ tuple $envAll "glance" "db-sync" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -21,6 +21,9 @@ metadata:
name: glance-ks-endpoints
spec:
template:
metadata:
labels:
{{ tuple $envAll "glance" "ks-endpoints" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -21,6 +21,9 @@ metadata:
name: glance-ks-service
spec:
template:
metadata:
labels:
{{ tuple $envAll "glance" "ks-service" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -21,6 +21,9 @@ metadata:
name: glance-ks-user
spec:
template:
metadata:
labels:
{{ tuple $envAll "glance" "ks-user" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -24,6 +24,9 @@ metadata:
name: heat-bootstrap
spec:
template:
metadata:
labels:
{{ tuple $envAll "heat" "bootstrap" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -21,6 +21,9 @@ metadata:
name: heat-db-init
spec:
template:
metadata:
labels:
{{ tuple $envAll "heat" "db-init" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -21,6 +21,9 @@ metadata:
name: heat-db-sync
spec:
template:
metadata:
labels:
{{ tuple $envAll "heat" "db-sync" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -21,6 +21,9 @@ metadata:
name: heat-ks-endpoints
spec:
template:
metadata:
labels:
{{ tuple $envAll "heat" "ks-endpoints" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -21,6 +21,9 @@ metadata:
name: heat-ks-service
spec:
template:
metadata:
labels:
{{ tuple $envAll "heat" "ks-service" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -21,6 +21,9 @@ metadata:
name: heat-ks-user
spec:
template:
metadata:
labels:
{{ tuple $envAll "heat" "ks-user" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -24,6 +24,8 @@ metadata:
spec:
template:
metadata:
labels:
{{ tuple $envAll "horizon" "db-init" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -24,7 +24,8 @@ metadata:
spec:
template:
metadata:
annotations:
labels:
{{ tuple $envAll "horizon" "db-sync" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -26,7 +26,7 @@ spec:
annotations:
configmap-etc-hash: {{ tuple "configmap-etc.yaml" . | include "helm-toolkit.utils.hash" }}
labels:
app: ingress-error-pages
{{ tuple $envAll "ingress" "error-pages" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
nodeSelector:
{{ .Values.labels.node_selector_key }}: {{ .Values.labels.node_selector_value }}

View File

@ -30,6 +30,8 @@ spec:
{{- end }}
template:
metadata:
labels:
{{ tuple $envAll "ingress" "api" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
annotations:
configmap-etc-hash: {{ tuple "configmap-etc.yaml" . | include "helm-toolkit.utils.hash" }}
labels:

View File

@ -25,6 +25,9 @@ spec:
schedule: {{ .Values.jobs.credential_rotate.cron | quote }}
concurrencyPolicy: Forbid
jobTemplate:
metadata:
labels:
{{ tuple $envAll "keystone" "credential-rotate" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
template:
spec:

View File

@ -25,6 +25,9 @@ spec:
schedule: {{ .Values.jobs.fernet_rotate.cron | quote }}
concurrencyPolicy: Forbid
jobTemplate:
metadata:
labels:
{{ tuple $envAll "keystone" "fernet-rotate" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
template:
spec:

View File

@ -24,6 +24,9 @@ metadata:
name: keystone-bootstrap
spec:
template:
metadata:
labels:
{{ tuple $envAll "keystone" "bootstrap" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -22,6 +22,9 @@ metadata:
name: keystone-credential-setup
spec:
template:
metadata:
labels:
{{ tuple $envAll "keystone" "credential-setup" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
initContainers:
{{ tuple $envAll $dependencies $mounts_keystone_credential_setup_init | include "helm-toolkit.snippets.kubernetes_entrypoint_init_container" | indent 8 }}

View File

@ -24,6 +24,8 @@ metadata:
spec:
template:
metadata:
labels:
{{ tuple $envAll "keystone" "db-init" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -24,7 +24,8 @@ metadata:
spec:
template:
metadata:
annotations:
labels:
{{ tuple $envAll "keystone" "db-sync" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -23,6 +23,9 @@ metadata:
name: keystone-fernet-setup
spec:
template:
metadata:
labels:
{{ tuple $envAll "keystone" "fernet-setup" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
initContainers:
{{ tuple $envAll $dependencies $mounts_keystone_fernet_setup_init | include "helm-toolkit.snippets.kubernetes_entrypoint_init_container" | indent 8 }}

View File

@ -24,6 +24,9 @@ metadata:
name: magnum-bootstrap
spec:
template:
metadata:
labels:
{{ tuple $envAll "magnum" "bootstrap" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -21,6 +21,9 @@ metadata:
name: magnum-db-init
spec:
template:
metadata:
labels:
{{ tuple $envAll "magnum" "db-init" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -21,6 +21,9 @@ metadata:
name: magnum-db-sync
spec:
template:
metadata:
labels:
{{ tuple $envAll "magnum" "db-sync" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -21,6 +21,9 @@ metadata:
name: magnum-ks-endpoints
spec:
template:
metadata:
labels:
{{ tuple $envAll "magnum" "ks-endpoints" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -21,6 +21,9 @@ metadata:
name: magnum-ks-service
spec:
template:
metadata:
labels:
{{ tuple $envAll "magnum" "ks-service" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -21,6 +21,9 @@ metadata:
name: magnum-ks-user
spec:
template:
metadata:
labels:
{{ tuple $envAll "magnum" "ks-user" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -24,6 +24,9 @@ metadata:
name: mistral-bootstrap
spec:
template:
metadata:
labels:
{{ tuple $envAll "mistral" "bootstrap" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -21,6 +21,9 @@ metadata:
name: mistral-db-init
spec:
template:
metadata:
labels:
{{ tuple $envAll "mistral" "db-init" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -21,6 +21,9 @@ metadata:
name: mistral-db-sync
spec:
template:
metadata:
labels:
{{ tuple $envAll "mistral" "db-sync" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -21,6 +21,9 @@ metadata:
name: mistral-ks-endpoints
spec:
template:
metadata:
labels:
{{ tuple $envAll "mistral" "ks-endpoints" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -21,6 +21,9 @@ metadata:
name: mistral-ks-service
spec:
template:
metadata:
labels:
{{ tuple $envAll "mistral" "ks-service" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -21,6 +21,9 @@ metadata:
name: mistral-ks-user
spec:
template:
metadata:
labels:
{{ tuple $envAll "mistral" "ks-user" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -24,6 +24,9 @@ metadata:
name: neutron-bootstrap
spec:
template:
metadata:
labels:
{{ tuple $envAll "neutron" "bootstrap" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -21,6 +21,9 @@ metadata:
name: neutron-db-init
spec:
template:
metadata:
labels:
{{ tuple $envAll "neutron" "db-init" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -21,6 +21,9 @@ metadata:
name: neutron-db-sync
spec:
template:
metadata:
labels:
{{ tuple $envAll "neutron" "db-sync" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -21,6 +21,9 @@ metadata:
name: neutron-ks-endpoints
spec:
template:
metadata:
labels:
{{ tuple $envAll "neutron" "ks-endpoints" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -21,6 +21,9 @@ metadata:
name: neutron-ks-service
spec:
template:
metadata:
labels:
{{ tuple $envAll "neutron" "ks-service" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -21,6 +21,9 @@ metadata:
name: neutron-ks-user
spec:
template:
metadata:
labels:
{{ tuple $envAll "neutron" "ks-user" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -24,6 +24,9 @@ metadata:
name: nova-bootstrap
spec:
template:
metadata:
labels:
{{ tuple $envAll "nova" "bootstrap" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -21,6 +21,9 @@ metadata:
name: nova-db-init
spec:
template:
metadata:
labels:
{{ tuple $envAll "nova" "db-init" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -21,6 +21,9 @@ metadata:
name: nova-db-sync
spec:
template:
metadata:
labels:
{{ tuple $envAll "nova" "db-sync" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -21,6 +21,9 @@ metadata:
name: nova-ks-endpoints
spec:
template:
metadata:
labels:
{{ tuple $envAll "nova" "ks-endpoints" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -21,6 +21,9 @@ metadata:
name: nova-ks-service
spec:
template:
metadata:
labels:
{{ tuple $envAll "nova" "ks-service" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -21,6 +21,9 @@ metadata:
name: nova-ks-user
spec:
template:
metadata:
labels:
{{ tuple $envAll "nova" "ks-user" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -24,6 +24,9 @@ metadata:
name: senlin-bootstrap
spec:
template:
metadata:
labels:
{{ tuple $envAll "senlin" "bootstrap" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -21,6 +21,9 @@ metadata:
name: senlin-db-init
spec:
template:
metadata:
labels:
{{ tuple $envAll "senlin" "db-init" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -21,6 +21,9 @@ metadata:
name: senlin-db-sync
spec:
template:
metadata:
labels:
{{ tuple $envAll "senlin" "db-sync" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -21,6 +21,9 @@ metadata:
name: senlin-ks-endpoints
spec:
template:
metadata:
labels:
{{ tuple $envAll "senlin" "ks-endpoints" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -21,6 +21,9 @@ metadata:
name: senlin-ks-service
spec:
template:
metadata:
labels:
{{ tuple $envAll "senlin" "ks-service" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector:

View File

@ -21,6 +21,9 @@ metadata:
name: senlin-ks-user
spec:
template:
metadata:
labels:
{{ tuple $envAll "senlin" "ks-user" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
restartPolicy: OnFailure
nodeSelector: