File tree Expand file tree Collapse file tree 4 files changed +19
-19
lines changed Expand file tree Collapse file tree 4 files changed +19
-19
lines changed Original file line number Diff line number Diff line change @@ -6,11 +6,11 @@ type: application
6
6
7
7
# This is the chart version. This version number should be incremented each time you make changes
8
8
# to the chart and its templates, including the app version.
9
- version : 1.0.8
9
+ version : 1.0.9
10
10
11
11
# This is the version number of the application being deployed. This version number should be
12
12
# incremented each time you make changes to the application.
13
- appVersion : 2.7 .0
13
+ appVersion : 2.8 .0
14
14
sources :
15
15
- https://github.com/adnanh/webhook
16
16
- https://hub.docker.com/r/almir/webhook/
@@ -21,6 +21,6 @@ maintainers:
21
21
url : https://hexf.me/
22
22
- name : David Young
23
23
24
- url : https://www.funkypenguin.co.nz
24
+ url : https://www.funkypenguin.co.nz
25
25
26
26
home : https://geek-cookbook.funkypenguin.co.nz
Original file line number Diff line number Diff line change @@ -7,12 +7,12 @@ metadata:
7
7
data :
8
8
hooks.yaml : | {{- range $key, $val := .Values.hooks }}
9
9
- {{ $val.hook | toYaml | indent 6 | trim }}
10
- {{ end - }}
10
+ {{- end }}
11
11
{{- range $key, $hook := .Values.hooks }}
12
12
{{- range $name, $val := $hook.files }}
13
- {{ if $hook.enable }}
13
+ {{- if $hook.enable }}
14
14
file_{{ $name | replace "/" "_" | replace "%" "." }} : |
15
15
{{ $val | indent 8 }}
16
- {{ end }}
17
- {{ end - }}
18
- {{ end - }}
16
+ {{- end }}
17
+ {{- end }}
18
+ {{- end }}
Original file line number Diff line number Diff line change 18
18
securityContext :
19
19
{{- toYaml .Values.podSecurityContext | nindent 8 }}
20
20
imagePullSecrets :
21
- - name : {{ .Values.imagePullSecret }}
21
+ - name : {{ .Values.imagePullSecret }}
22
22
containers :
23
23
- name : {{ .Chart.Name }}
24
24
args :
34
34
{{- range $pkey, $pval := .Values.env }}
35
35
- name : {{ $pkey }}
36
36
value : {{ quote $pval }}
37
- {{- end }}
37
+ {{- end }}
38
38
ports :
39
39
- name : http
40
40
containerPort : 9000
@@ -51,15 +51,15 @@ spec:
51
51
- name : configs
52
52
mountPath : " /etc/webhook/hooks.yaml"
53
53
subPath : " hooks.yaml"
54
- {{ range $key, $hook := .Values.hooks }}
55
- {{ range $name, $val := $hook.files }}
56
- {{ if $hook.enable }}
54
+ {{- range $key, $hook := .Values.hooks }}
55
+ {{- range $name, $val := $hook.files }}
56
+ {{- if $hook.enable }}
57
57
- name : configs
58
58
mountPath : {{ $name | replace "%" "." | quote }}
59
59
subPath : " file_{{ $name | replace " /" "_" | replace "%" "." }}"
60
- {{ end }}
61
- {{ end }}
62
- {{ end }}
60
+ {{- end }}
61
+ {{- end }}
62
+ {{- end }}
63
63
resources :
64
64
{{- toYaml .Values.resources | nindent 12 }}
65
65
volumes :
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ replicaCount: 1
6
6
7
7
image :
8
8
repository : almir/webhook
9
- tag : 2.7 .0
9
+ tag : 2.8 .0
10
10
pullPolicy : IfNotPresent
11
11
12
12
imagePullSecret : webhook-receiver-pullsecret
@@ -45,7 +45,7 @@ ingress:
45
45
# kubernetes.io/tls-acme: "true"
46
46
hosts :
47
47
- host : webhook-receiver.chart.local
48
- paths :
48
+ paths :
49
49
- /
50
50
tls : []
51
51
# - secretName: chart-example-tls
@@ -71,7 +71,7 @@ tolerations: []
71
71
affinity : {}
72
72
73
73
# Use this to insert env values into the deployment
74
- env : []
74
+ env : {}
75
75
76
76
hooks :
77
77
webhook1 :
You can’t perform that action at this time.
0 commit comments