Skip to content

Commit ab6abcb

Browse files
committed
update fusionauth. allow deployment annotations and pod annotations
1 parent 72ecc62 commit ab6abcb

File tree

4 files changed

+16
-2
lines changed

4 files changed

+16
-2
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ The command removes all the Kubernetes components associated with the chart and
7373
| `nodeSelector` | Node labels for pod assignment | `{}` |
7474
| `tolerations` | Toleration labels for pod assignment | `[]` |
7575
| `affinity` | Affinity settings | `{}` |
76+
| `annotations` | Annotations for the deployment object | `{}` |
77+
| `podAnnotations` | Annotations for the pod objects | `{}` |
7678
| `livenessProbe` | Configures liveness probe for deployment | `{"httpGet": {"path":"/","port":"http"}, "periodSeconds":30}` |
7779
| `readinessProbe` | Configures readiness probe for deployment | `{"httpGet": {"path":"/","port":"http"}}` |
7880
| `startupProbe` | Configures startup probe for deployment | `{"httpGet": {"path":"/","port":"http"}, "failureThreshold":20, "periodSeconds":10}` |

chart/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apiVersion: v1
2-
appVersion: "1.18.5"
2+
appVersion: "1.18.7"
33
description: Helm chart for fusionauth
44
name: fusionauth
55
version: 0.0.0+dev

chart/templates/deployment.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ metadata:
77
helm.sh/chart: {{ include "fusionauth.chart" . }}
88
app.kubernetes.io/instance: {{ .Release.Name }}
99
app.kubernetes.io/managed-by: {{ .Release.Service }}
10+
{{- with .Values.annotations }}
11+
annotations:
12+
{{- toYaml . | nindent 4 }}
13+
{{- end }}
1014
spec:
1115
replicas: {{ .Values.replicaCount }}
1216
selector:
@@ -18,6 +22,10 @@ spec:
1822
labels:
1923
app.kubernetes.io/name: {{ include "fusionauth.name" . }}
2024
app.kubernetes.io/instance: {{ .Release.Name }}
25+
{{- with .Values.podAnnotations }}
26+
annotations:
27+
{{- toYaml . | nindent 4 }}
28+
{{- end }}
2129
spec:
2230
initContainers:
2331
- name: wait-for-db

chart/values.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
replicaCount: 1
66
image:
77
repository: fusionauth/fusionauth-app
8-
tag: 1.18.5
8+
tag: 1.18.7
99
pullPolicy: IfNotPresent
1010

1111
# This image should contain `nc` and a shell of some kind to do a simple loop.
@@ -127,6 +127,10 @@ tolerations: []
127127

128128
affinity: {}
129129

130+
annotations: {}
131+
podAnnotations:
132+
test: test
133+
130134
livenessProbe:
131135
httpGet:
132136
path: /

0 commit comments

Comments
 (0)