Skip to content

Commit 9a2f428

Browse files
authored
fix: Add flag for version override and pinning (#320)
1 parent 760adaa commit 9a2f428

6 files changed

Lines changed: 10 additions & 5 deletions

File tree

charts/datafold-manager/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: datafold-manager
33
description: Helm chart for Datafold Operator
44
type: application
5-
version: 0.1.97
5+
version: 0.1.98
66
appVersion: "1.0.0"
77
icon: https://www.datafold.com/logo.png
88

charts/datafold-manager/templates/crds.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3699,9 +3699,9 @@ spec:
36993699
description: DatafoldRepository specifies the Docker repository
37003700
for Datafold images
37013701
type: string
3702-
datafoldVersion:
3702+
datafoldVersionOverride:
37033703
description: |-
3704-
DatafoldVersion pins the Datafold image tag explicitly.
3704+
DatafoldVersionOverride pins the Datafold image tag explicitly.
37053705
When set, the portal is not contacted and the running server version is not read.
37063706
Use this to lock a specific release or when running custom/scanned images.
37073707
type: string

charts/datafold-manager/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ operator:
1818
# Operator image configuration
1919
image:
2020
repository: us-docker.pkg.dev/datadiff-mm/datafold/datafold-operator
21-
tag: "1.1.67"
21+
tag: "1.1.68"
2222
pullPolicy: Always
2323

2424
# Operator deployment configuration

charts/datafold/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: datafold
33
description: Helm chart package to deploy Datafold on kubernetes.
44
type: application
5-
version: 0.10.80
5+
version: 0.10.81
66
appVersion: "1.0.0"
77
icon: https://www.datafold.com/logo.png
88

charts/datafold/charts/operator/templates/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,10 @@ spec:
8080
secretKeyRef:
8181
name: {{ include "datafold.secrets" . }}
8282
key: PORTAL_URL
83+
{{- if .Values.global.datafoldVersionOverride }}
84+
- name: DATAFOLD_VERSION_OVERRIDE
85+
value: {{ .Values.global.datafoldVersionOverride | quote }}
86+
{{- end }}
8387
resources:
8488
{{- toYaml .Values.resources | nindent 12 }}
8589
{{- with .Values.volumeMounts }}

charts/datafold/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ global:
1919
datafoldRepository: "us-docker.pkg.dev/datadiff-mm/datafold"
2020
datafoldImage: "server"
2121
shellRepository: "us-docker.pkg.dev/datadiff-mm/datafold"
22+
datafoldVersionOverride: ""
2223
optional:
2324
intercom: "false"
2425
pylon: "false"

0 commit comments

Comments
 (0)