Skip to content

Commit 40694fb

Browse files
committed
Allow to set provider for ImageRepository via values
1 parent 425a20d commit 40694fb

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

charts/platform-service/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ apiVersion: v1
22
appVersion: "1.1"
33
description: Platform service chart
44
name: platform-service
5-
version: 1.5.4
5+
version: 1.5.5

charts/platform-service/templates/image-repository.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ kind: ImageRepository
88
metadata:
99
name: {{ include "platform-service.name" . }}
1010
spec:
11-
provider: azure
11+
provider: {{ default "azure" .Values.image.fluxAutomation.provider }}
1212
image: "{{ include "platform-service.imageRepository" . }}"
1313
interval: {{ .Values.image.fluxAutomation.interval }}
1414
{{- end }}

charts/platform-service/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ image:
3030
fluxAutomation:
3131
enabled: false
3232
interval: 1m0s
33+
provider: azure
3334
#filterTags:
3435
# pattern: '^dev-(?P<build>.*)'
3536
# extract: '$build'

0 commit comments

Comments
 (0)