Skip to content

Commit 38ac3d0

Browse files
authored
Merge pull request slok#317 from manzoon/fix/git-sync-image
2 parents 2de1935 + 065f4e7 commit 38ac3d0

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

deploy/kubernetes/helm/sloth/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ description: Base chart for Sloth.
44
type: application
55
home: https://github.com/slok/sloth
66
kubeVersion: ">= 1.19.0-0"
7-
version: 0.5.1
7+
version: 0.5.2

deploy/kubernetes/helm/sloth/templates/deployment.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ spec:
8383
memory: 75Mi
8484
{{- if .Values.commonPlugins.enabled }}
8585
- name: git-sync-plugins
86-
image: k8s.gcr.io/git-sync/git-sync:v3.3.4
86+
image: {{ .Values.commonPlugins.image.repository }}:{{ .Values.commonPlugins.image.tag }}
8787
args:
8888
- --repo={{.Values.commonPlugins.gitRepo.url}}
8989
- --branch={{.Values.commonPlugins.gitRepo.branch}}

deploy/kubernetes/helm/sloth/values.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ sloth:
1717

1818
commonPlugins:
1919
enabled: true
20+
image:
21+
repository: k8s.gcr.io/git-sync/git-sync
22+
tag: v3.3.4
2023
gitRepo:
2124
url: https://github.com/slok/sloth-common-sli-plugins
2225
branch: main

0 commit comments

Comments
 (0)