diff --git a/chart/README.md b/chart/README.md index 227ad0a..b077f2c 100644 --- a/chart/README.md +++ b/chart/README.md @@ -426,6 +426,12 @@ You should now be able to connect to the FusionAuth application at http://localh false Enables creation of a PodDisruptionBudget. + + podLabels + object + {} + Define labels for fusionauth Deployment. + readinessProbe object diff --git a/chart/templates/deployment.yaml b/chart/templates/deployment.yaml index 61723fb..aaf8b88 100644 --- a/chart/templates/deployment.yaml +++ b/chart/templates/deployment.yaml @@ -24,6 +24,9 @@ spec: labels: app.kubernetes.io/name: {{ include "fusionauth.name" . }} app.kubernetes.io/instance: {{ .Release.Name }} + {{- with .Values.podLabels }} + {{- toYaml . | nindent 8 }} + {{- end }} {{- with .Values.podAnnotations }} annotations: {{- toYaml . | nindent 8 }} diff --git a/chart/values.yaml b/chart/values.yaml index dbbf63b..24098da 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -252,6 +252,9 @@ annotations: {} # podAnnotations -- Define annotations for fusionauth pods. podAnnotations: {} +# podLabels -- Define labels for fusionauth pods. +podLabels: {} + # livenessProbe -- Configures a livenessProbe to ensure fusionauth is running livenessProbe: httpGet: