Apply labels to airflow-worker statefulset

Add the same labels that are currently applied to the airflow-worker
statefulset under .spec.template.metadata.labels to .metadata.labels.

Change-Id: I01f1bf58b9437c08993345eb0a8f36e50ec1e3e7
This commit is contained in:
Phil Sphicas 2021-11-12 17:56:59 -08:00
parent 034b906dd6
commit 4815989a0b
1 changed files with 2 additions and 0 deletions

View File

@ -65,6 +65,8 @@ metadata:
name: airflow-worker
annotations:
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }}
labels:
{{ $labels | indent 4 }}
spec:
serviceName: {{ tuple "airflow_worker" "discovery" $envAll | include "helm-toolkit.endpoints.hostname_short_endpoint_lookup" }}
podManagementPolicy: "Parallel"