Skip to content

Commit 055fcfe

Browse files
committed
feat(helm): Controller: add 2 replicas by default
1 parent f666f39 commit 055fcfe

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

helm/kube-image-keeper/templates/controller-deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ metadata:
55
labels:
66
{{- include "kube-image-keeper.controllers-labels" . | nindent 4 }}
77
spec:
8+
{{- with .Values.controllers.replicas }}
9+
replicas: {{ . }}
10+
{{- end }}
811
selector:
912
matchLabels:
1013
{{- include "kube-image-keeper.controllers-selectorLabels" . | nindent 6 }}

helm/kube-image-keeper/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ cachedImagesExpiryDelay: 30
66
installCRD: true
77

88
controllers:
9+
replicas: 2
910
image:
1011
repository: enix/kube-image-keeper
1112
pullPolicy: IfNotPresent

0 commit comments

Comments
 (0)