Helm 3: Fix Job labels

See the dependency below for details.

Depends-On: https://review.opendev.org/c/openstack/openstack-helm-infra/+/811826
Change-Id: I100a68eb4cf457fba0783e41779f9fdc2c8daf78
This commit is contained in:
Sean Eagan 2021-10-01 11:21:52 -05:00
parent 3a27007e8a
commit 27b4dc952c
6 changed files with 11 additions and 1 deletions

View File

@ -23,6 +23,8 @@ apiVersion: batch/v1
kind: Job
metadata:
name: airflow-db-init
labels:
{{ tuple $envAll "airflow" "db-init" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }}
annotations:
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }}
spec:

View File

@ -23,6 +23,8 @@ apiVersion: batch/v1
kind: Job
metadata:
name: airflow-db-sync
labels:
{{ tuple $envAll "airflow" "db-sync" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }}
annotations:
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }}
spec:

View File

@ -25,6 +25,8 @@ apiVersion: batch/v1
kind: Job
metadata:
name: shipyard-db-auxiliary
labels:
{{ tuple $envAll "shipyard" "db-auxiliary" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }}
annotations:
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }}
spec:

View File

@ -25,6 +25,8 @@ apiVersion: batch/v1
kind: Job
metadata:
name: shipyard-db-init
labels:
{{ tuple $envAll "shipyard" "db-init" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }}
annotations:
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }}
spec:

View File

@ -25,6 +25,8 @@ apiVersion: batch/v1
kind: Job
metadata:
name: shipyard-db-sync
labels:
{{ tuple $envAll "shipyard" "db-sync" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }}
annotations:
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }}
spec:

View File

@ -17,7 +17,7 @@
#
HELM=$1
HTK_STABLE_COMMIT=${HTK_COMMIT:-"9797d1b034529c9739c19a30193c3605321fcf91"}
HTK_STABLE_COMMIT=${HTK_COMMIT:-"b1a247e7f54ab12d830ab74f7634457b4e43f3ef"}
set -x