Skip to content

Commit

Permalink
Merge pull request #116 from FusionAuth/mcr/add-podlables
Browse files Browse the repository at this point in the history
adding support for labels in deployment.yaml and update readme
  • Loading branch information
johnjeffers authored Feb 5, 2025
2 parents 5f9d326 + 0d50ff1 commit 8bda1c8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions chart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,12 @@ You should now be able to connect to the FusionAuth application at http://localh
<td><code>false</code></td>
<td>Enables creation of a <code>PodDisruptionBudget</code>.</td>
</tr>
<tr>
<td><code>podLabels</code></td>
<td>object</td>
<td><code>{}</code></td>
<td>Define labels for fusionauth Deployment.</td>
</tr>
<tr>
<td><code>readinessProbe</code></td>
<td>object</td>
Expand Down
3 changes: 3 additions & 0 deletions chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
3 changes: 3 additions & 0 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 8bda1c8

Please sign in to comment.