Skip to content

Commit 4ea4d40

Browse files
committed
Fixes #83, the second issue
Signed-off-by: David Karlsen <david@davidkarlsen.com>
1 parent 1dfb31e commit 4ea4d40

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

deployments/kubernetes/chart/gitwebhookproxy/templates/configmap.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,5 @@ data:
1919
{{- with .Values.gitWebhookProxy.config.allowedPaths }}
2020
allowedPaths: {{ . }}
2121
{{- end }}
22-
{{- with .Values.gitWebhookProxy.config.ignoredUsers }}
23-
ignoredUsers: {{ . }}
24-
{{- end }}
25-
{{- with .Values.gitWebhookProxy.config.allowedUsers }}
26-
allowedUsers: {{ . }}
27-
{{- end }}
22+
ignoredUsers: {{ .Values.gitWebhookProxy.config.ignoredUsers | default "" | quote }}
23+
allowedUsers: {{ .Values.gitWebhookProxy.config.allowedUsers | default "" | quote }}

deployments/kubernetes/chart/gitwebhookproxy/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ gitWebhookProxy:
2222
upstreamURL: "https://jenkins.tools.stackator.com"
2323
allowedPaths: "/github-webhook,/project"
2424
secret: ""
25-
ignoredUsers: "stakater-user"
26-
allowedUsers: "myuser"
25+
ignoredUsers: ""
26+
allowedUsers: ""
2727
service:
2828
labels:
2929
expose: "true"

0 commit comments

Comments
 (0)