Skip to content

Commit bf2069a

Browse files
committed
ingress anotations
1 parent 5d3a92a commit bf2069a

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

charts/sentry-webhook/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
---
22
name: sentry-webhook
3-
version: 0.0.2
3+
version: 0.1.0

charts/sentry-webhook/templates/ingress.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ apiVersion: networking.k8s.io/v1
33
kind: Ingress
44
metadata:
55
name: sentry-webhook
6+
{{- if or .Values.ingress.annotations .Values.commonAnnotations }}
7+
{{ $annotations := merge .Values.ingress.annotations .Values.ingress.commonAnnotations }}
8+
annotations: {{ toYaml $annotations | nindent 4 }}
9+
{{- end }}
610
spec:
711
{{- if .Values.ingress.ingressClassName }}
812
ingressClassName: {{ .Values.ingress.ingressClassName }}

charts/sentry-webhook/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ conf:
1717
ingress:
1818
host: ""
1919
ingressClassName: nginx
20+
commonAnnotations: {}
21+
annotations: {}
2022
tls: []
2123
#tls:
2224
# - hosts:

0 commit comments

Comments
 (0)