Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

# 1.9.0
:new: What's new:
- Decouple lakeFS image tag from `Chart.AppVersion`: select community or enterprise tag via `image.community.tag` / `image.enterprise.tag` based on the `enterprise.enabled` flag

# 1.8.1
:new: What's new:
- Update lakeFS version to [1.80.0](https://github.com/treeverse/lakeFS/releases/tag/v1.80.0)
Expand Down
2 changes: 1 addition & 1 deletion charts/lakefs/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: lakefs
description: A Helm chart for running LakeFS on Kubernetes
type: application
version: 1.8.1
version: 1.9.0
appVersion: 1.80.0

home: https://lakefs.io
Expand Down
15 changes: 15 additions & 0 deletions charts/lakefs/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,21 @@ Define which repository to use according to the following:
{{- end }}
{{- end }}

{{/*
Select the image tag. An explicit .Values.image.tag wins (back-compat override).
Otherwise pick community or enterprise tag based on the enterprise flag so each
variant can release on its own cadence.
*/}}
{{- define "lakefs.tag" -}}
{{- if .Values.image.tag }}
{{- .Values.image.tag }}
{{- else if (.Values.enterprise).enabled }}
{{- required "image.enterprise.tag is required when enterprise.enabled is true" (((.Values.image).enterprise).tag) }}
{{- else }}
{{- required "image.community.tag is required" (((.Values.image).community).tag) }}
{{- end }}
{{- end }}

{{- define "lakefs.checkDeprecated" -}}
{{- if .Values.fluffy -}}
{{- fail "Fluffy configuration detected. Please migrate to lakeFS Enterprise auth configuration and use treeverse/lakefs-enterprise docker image. See migration guide: https://docs.lakefs.io/latest/enterprise/upgrade/#kubernetes-migrating-with-helm-from-fluffy-to-new-lakefs-enterprise." -}}
Expand Down
2 changes: 1 addition & 1 deletion charts/lakefs/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ spec:
{{- end }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ include "lakefs.repository" . }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
image: "{{ include "lakefs.repository" . }}:{{ include "lakefs.tag" . }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: http
Expand Down
4 changes: 4 additions & 0 deletions charts/lakefs/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ replicaCount: 1

image:
pullPolicy: IfNotPresent
community:
tag: "1.80.0"
enterprise:
tag: "1.80.0"
privateRegistry:
enabled: false
secretToken: null
Expand Down
Loading