Skip to content

Commit b47c910

Browse files
authored
Merge pull request #2 from softonic/master
2 parents 8f305fd + d7ae4f2 commit b47c910

File tree

4 files changed

+19
-19
lines changed

4 files changed

+19
-19
lines changed

charts/webhook-receiver/Chart.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ type: application
66

77
# This is the chart version. This version number should be incremented each time you make changes
88
# to the chart and its templates, including the app version.
9-
version: 1.0.8
9+
version: 1.0.9
1010

1111
# This is the version number of the application being deployed. This version number should be
1212
# incremented each time you make changes to the application.
13-
appVersion: 2.7.0
13+
appVersion: 2.8.0
1414
sources:
1515
- https://github.com/adnanh/webhook
1616
- https://hub.docker.com/r/almir/webhook/
@@ -21,6 +21,6 @@ maintainers:
2121
url: https://hexf.me/
2222
- name: David Young
2323
24-
url: https://www.funkypenguin.co.nz
24+
url: https://www.funkypenguin.co.nz
2525

2626
home: https://geek-cookbook.funkypenguin.co.nz

charts/webhook-receiver/templates/configmap.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ metadata:
77
data:
88
hooks.yaml: | {{- range $key, $val := .Values.hooks }}
99
- {{ $val.hook | toYaml | indent 6 | trim }}
10-
{{ end -}}
10+
{{- end }}
1111
{{- range $key, $hook := .Values.hooks }}
1212
{{- range $name, $val := $hook.files }}
13-
{{ if $hook.enable }}
13+
{{- if $hook.enable }}
1414
file_{{ $name | replace "/" "_" | replace "%" "." }}: |
1515
{{ $val | indent 8 }}
16-
{{ end }}
17-
{{ end -}}
18-
{{ end -}}
16+
{{- end }}
17+
{{- end }}
18+
{{- end }}

charts/webhook-receiver/templates/deployment.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ spec:
1818
securityContext:
1919
{{- toYaml .Values.podSecurityContext | nindent 8 }}
2020
imagePullSecrets:
21-
- name: {{ .Values.imagePullSecret }}
21+
- name: {{ .Values.imagePullSecret }}
2222
containers:
2323
- name: {{ .Chart.Name }}
2424
args:
@@ -34,7 +34,7 @@ spec:
3434
{{- range $pkey, $pval := .Values.env }}
3535
- name: {{ $pkey }}
3636
value: {{ quote $pval }}
37-
{{- end }}
37+
{{- end }}
3838
ports:
3939
- name: http
4040
containerPort: 9000
@@ -51,15 +51,15 @@ spec:
5151
- name: configs
5252
mountPath: "/etc/webhook/hooks.yaml"
5353
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 }}
5757
- name: configs
5858
mountPath: {{ $name | replace "%" "." | quote }}
5959
subPath: "file_{{ $name | replace "/" "_" | replace "%" "." }}"
60-
{{ end }}
61-
{{ end }}
62-
{{ end }}
60+
{{- end }}
61+
{{- end }}
62+
{{- end }}
6363
resources:
6464
{{- toYaml .Values.resources | nindent 12 }}
6565
volumes:

charts/webhook-receiver/values.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ replicaCount: 1
66

77
image:
88
repository: almir/webhook
9-
tag: 2.7.0
9+
tag: 2.8.0
1010
pullPolicy: IfNotPresent
1111

1212
imagePullSecret: webhook-receiver-pullsecret
@@ -45,7 +45,7 @@ ingress:
4545
# kubernetes.io/tls-acme: "true"
4646
hosts:
4747
- host: webhook-receiver.chart.local
48-
paths:
48+
paths:
4949
- /
5050
tls: []
5151
# - secretName: chart-example-tls
@@ -71,7 +71,7 @@ tolerations: []
7171
affinity: {}
7272

7373
# Use this to insert env values into the deployment
74-
env: []
74+
env: {}
7575

7676
hooks:
7777
webhook1:

0 commit comments

Comments
 (0)