Skip to content

Commit d4d9977

Browse files
feat: add annotation fields to configMap and deployment resources (#158)
* Add annotation fields to configMap and deployment resources * Bump version
1 parent 3caaa1c commit d4d9977

File tree

4 files changed

+15
-1
lines changed

4 files changed

+15
-1
lines changed

charts/zitadel/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: zitadel
33
description: A Helm chart for ZITADEL
44
type: application
55
appVersion: "v2.41.1"
6-
version: 7.4.0
6+
version: 7.5.0
77
kubeVersion: ">= 1.21.0-0"
88
icon: https://zitadel.com/zitadel-logo-dark.svg
99
maintainers:

charts/zitadel/templates/configmap.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ metadata:
66
helm.sh/hook: pre-install,pre-upgrade
77
helm.sh/hook-delete-policy: before-hook-creation
88
helm.sh/hook-weight: "0"
9+
{{- with .Values.configMap.annotations }}
10+
{{- toYaml . | nindent 4 }}
11+
{{- end }}
912
labels:
1013
{{- include "zitadel.labels" . | nindent 4 }}
1114
data:

charts/zitadel/templates/deployment.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ metadata:
55
labels:
66
{{- include "zitadel.labels" . | nindent 4 }}
77
app.kubernetes.io/component: start
8+
{{- with .Values.annotations }}
9+
annotations:
10+
{{- toYaml . | nindent 4 }}
11+
{{- end }}
812
spec:
913
replicas: {{ .Values.replicaCount }}
1014
selector:

charts/zitadel/values.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,13 @@ imagePullSecrets: []
6666
nameOverride: ""
6767
fullnameOverride: ""
6868

69+
# Annotations to add to the deployment
70+
annotations: {}
71+
72+
# Annotations to add to the configMap
73+
configMap:
74+
annotations: {}
75+
6976
serviceAccount:
7077
# Specifies whether a service account should be created
7178
create: true

0 commit comments

Comments
 (0)