Skip to content

Commit 2582018

Browse files
committed
service annotaion to values
1 parent 19a88ce commit 2582018

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

charts/webhook/Chart.yaml

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

charts/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: {{ .Values.name }}
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: {{ .Values.name }}

charts/webhook/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ resources: {}
88
nodeSelector: {}
99
tolerations: []
1010
affinity: {}
11+
service:
12+
annotations:
13+
cloud.google.com/neg: '{"ingress":false}'
1114
#integration parameters
1215
matrix:
1316
id: ""

0 commit comments

Comments
 (0)