Skip to content

Commit 4d28eab

Browse files
committed
service annotation to values
1 parent 2582018 commit 4d28eab

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

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.1.1
3+
version: 0.2.0

charts/sentry-webhook/templates/service.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ apiVersion: v1
33
kind: Service
44
metadata:
55
name: sentry-webhook
6+
{{- with .Values.service.annotations }}
67
annotations:
7-
cloud.google.com/neg: '{"ingress":false}'
8+
{{- toYaml . | nindent 4 }}
9+
{{- end }}
810
spec:
911
selector:
1012
app: sentry-webhook

charts/sentry-webhook/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ resources: {}
77
nodeSelector: {}
88
tolerations: []
99
affinity: {}
10+
service:
11+
annotations:
12+
cloud.google.com/neg: '{"ingress":false}'
1013
conf:
1114
APP_PORT: 3000
1215
SENTRY_CLIENT_SECRET: ""

0 commit comments

Comments
 (0)