diff --git a/charts/openfga/templates/deployment.yaml b/charts/openfga/templates/deployment.yaml index cd276e0..3c247ae 100644 --- a/charts/openfga/templates/deployment.yaml +++ b/charts/openfga/templates/deployment.yaml @@ -29,6 +29,9 @@ spec: {{- with .Values.commonLabels }} {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.podExtraLabels }} + {{- toYaml . | nindent 8 }} + {{- end }} spec: {{- with .Values.imagePullSecrets }} imagePullSecrets: diff --git a/charts/openfga/values.schema.json b/charts/openfga/values.schema.json index 9ec52d9..c6b2b44 100644 --- a/charts/openfga/values.schema.json +++ b/charts/openfga/values.schema.json @@ -783,6 +783,14 @@ }, "default": {} }, + "podExtraLabels": { + "type": "object", + "description": "Map of labels to add to the pods' manifest", + "additionalProperties": { + "type": "string" + }, + "default": {} + }, "service": { "type": "object", "properties": { diff --git a/charts/openfga/values.yaml b/charts/openfga/values.yaml index 16da369..206ad15 100644 --- a/charts/openfga/values.yaml +++ b/charts/openfga/values.yaml @@ -28,6 +28,7 @@ serviceAccount: annotations: {} podAnnotations: {} +podExtraLabels: {} extraEnvVars: [] extraVolumes: []