diff --git a/charts/openfga/templates/job.yaml b/charts/openfga/templates/job.yaml index 6c3d1ad..aaf7d37 100644 --- a/charts/openfga/templates/job.yaml +++ b/charts/openfga/templates/job.yaml @@ -5,6 +5,9 @@ metadata: name: {{ include "openfga.fullname" . }}-migrate labels: {{- include "openfga.labels" . | nindent 4 }} + {{- with .Values.migrate.labels }} + {{- toYaml . | nindent 4}} + {{- end}} {{- with .Values.migrate.annotations }} annotations: {{- toYaml . | nindent 4 }} @@ -16,6 +19,10 @@ spec: annotations: {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.migrate.labels }} + labels: + {{- toYaml . | nindent 8 }} + {{- end }} spec: serviceAccountName: {{ include "openfga.serviceAccountName" . }} containers: diff --git a/charts/openfga/values.yaml b/charts/openfga/values.yaml index f623388..82e7b5f 100644 --- a/charts/openfga/values.yaml +++ b/charts/openfga/values.yaml @@ -258,3 +258,4 @@ sidecars: [] migrate: sidecars: [] annotations: {} + labels: {}