Skip to content

Commit 5adef7d

Browse files
Merge pull request stakater#103 from davidkarlsen/supportReplicas
add param for replicas
2 parents a3a8e30 + e51bc6e commit 5adef7d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ metadata:
1818
name: {{ template "gitwebhookproxy.name" . }}
1919
{{- end }}
2020
spec:
21-
replicas: 1
21+
replicas: {{ .Values.gitWebhookProxy.replicas }}
2222
revisionHistoryLimit: 2
2323
selector:
2424
matchLabels:

deployments/kubernetes/chart/gitwebhookproxy/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ kubernetes:
44
host: https://kubernetes.default
55

66
gitWebhookProxy:
7+
replicas: 1
78
useCustomName: false
89
customName: gitlabwebhookproxy
910
# name of existing secret containing secret for hashes

0 commit comments

Comments
 (0)