Skip to content

Chart 1.5.0- Fluffy EOL #343

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 26 commits into from
Jul 13, 2025
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
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

# 1.5.0

### Important
Fluffy is no longer supported in this chart version, and all authentication capabilities (LDAP, OIDC, SAML, AWS IAM) are now built directly into lakeFS Enterprise.
lakeFS-Enterprise image is now required for all enterprise authentication capabilities to work.
For more information, see the [migration guide](https://docs.lakefs.io/latest/enterprise/upgrade/#kubernetes-migrating-with-helm-from-fluffy-to-new-lakefs-enterprise).

:new: What's new:
- Update lakeFS version to [1.63.0](https://github.com/treeverse/lakeFS/releases/tag/v1.63.0)

# 1.4.20

:new: What's new:
Expand Down
4 changes: 2 additions & 2 deletions charts/lakefs/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: lakefs
description: A Helm chart for running LakeFS on Kubernetes
type: application
version: 1.4.20
appVersion: 1.62.0
version: 1.5.0
appVersion: 1.63.0

home: https://lakefs.io
icon: https://lakefs.io/wp-content/uploads/2020/07/lake-fs-color-2.svg
Expand Down
66 changes: 50 additions & 16 deletions charts/lakefs/templates/_env.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -29,40 +29,71 @@ env:
- name: LAKEFS_AUTH_ENCRYPT_SECRET_KEY
value: asdjfhjaskdhuioaweyuiorasdsjbaskcbkj
{{- end }}
{{- if (.Values.fluffy).enabled }}
{{- if (.Values.enterprise).enabled}}
- name: LAKEFS_USAGE_REPORT_ENABLED
value: "true"
{{- if (.Values.fluffy.sso).enabled }}
- name: LAKEFS_AUTH_AUTHENTICATION_API_ENDPOINT
value: {{ printf "http://%s/api/v1" (include "fluffy.ssoServiceName" .) | quote }}
{{- if and .Values.ingress.enabled (.Values.fluffy.sso.saml).enabled }}
- name: LAKEFS_FEATURES_LOCAL_RBAC
value: "{{ (((.Values.enterprise).auth).rbac).enabled | default false }}"
{{- if (((.Values.enterprise).auth).saml).enabled }}
- name: LAKEFS_AUTH_COOKIE_AUTH_VERIFICATION_AUTH_SOURCE
value: saml
- name: LAKEFS_AUTH_UI_CONFIG_LOGIN_URL
value: {{ printf "%s/sso/login-saml" .Values.fluffy.sso.saml.lakeFSServiceProviderIngress }}
value: /sso/login-saml
- name: LAKEFS_AUTH_UI_CONFIG_LOGOUT_URL
value: {{ printf "%s/sso/logout-saml" .Values.fluffy.sso.saml.lakeFSServiceProviderIngress }}
value: /sso/logout-saml
- name: LAKEFS_AUTH_UI_CONFIG_LOGIN_COOKIE_NAME
value: "internal_auth_session,saml_auth_session"
- name: LAKEFS_AUTH_PROVIDERS_SAML_POST_LOGIN_REDIRECT_URL
value: /
- name: LAKEFS_AUTH_PROVIDERS_SAML_SP_X509_KEY_PATH
value: '/etc/saml_certs/rsa_saml_private.key'
- name: LAKEFS_AUTH_PROVIDERS_SAML_SP_X509_CERT_PATH
value: '/etc/saml_certs/rsa_saml_public.pem'
{{- end }}
{{- if (.Values.fluffy.sso.oidc).enabled }}
{{- if (((.Values.enterprise).auth).oidc).enabled }}
- name: LAKEFS_AUTH_UI_CONFIG_LOGIN_URL
value: '/oidc/login'
- name: LAKEFS_AUTH_UI_CONFIG_LOGOUT_URL
value: '/oidc/logout'
- name: LAKEFS_AUTH_UI_CONFIG_LOGIN_COOKIE_NAME
value: "internal_auth_session,oidc_auth_session"
{{- if and .Values.existingSecret .Values.secretKeys.oidcClientSecret }}
- name: LAKEFS_AUTH_PROVIDERS_OIDC_CLIENT_SECRET
valueFrom:
secretKeyRef:
name: {{ .Values.existingSecret }}
key: {{ .Values.secretKeys.oidcClientSecret }}
{{- else if (((.Values.enterprise).auth).oidc).clientSecret }}
- name: LAKEFS_AUTH_PROVIDERS_OIDC_CLIENT_SECRET
valueFrom:
secretKeyRef:
name: {{ include "lakefs.fullname" . }}
key: oidc_client_secret
{{- end }}
{{- if (.Values.fluffy.sso.ldap).enabled }}
- name: LAKEFS_AUTH_REMOTE_AUTHENTICATOR_ENDPOINT
value: {{ default (printf "http://%s/api/v1/ldap/login" (include "fluffy.ssoServiceName" .) | quote) (.Values.fluffy.sso.ldap).endpointOverride }}
{{- end }}
{{- if (((.Values.enterprise).auth).ldap).enabled }}
- name: LAKEFS_AUTH_UI_CONFIG_LOGOUT_URL
value: /logout
{{- if and .Values.existingSecret .Values.secretKeys.ldapBindPassword }}
- name: LAKEFS_AUTH_PROVIDERS_LDAP_BIND_PASSWORD
valueFrom:
secretKeyRef:
name: {{ .Values.existingSecret }}
key: {{ .Values.secretKeys.ldapBindPassword }}
{{- else if (((.Values.enterprise).auth).ldap).bindPassword }}
- name: LAKEFS_AUTH_PROVIDERS_LDAP_BIND_PASSWORD
valueFrom:
secretKeyRef:
name: {{ include "lakefs.fullname" . }}
key: ldap_bind_password
{{- end }}
{{- end }}
{{- if (.Values.fluffy.rbac).enabled }}
- name: LAKEFS_AUTH_API_ENDPOINT
value: {{ printf "http://%s/api/v1" (include "fluffy.rbacServiceName" .) | quote }}
{{- if (((.Values.enterprise).auth).rbac).enabled }}
- name: LAKEFS_AUTH_UI_CONFIG_RBAC
value: internal
{{- end }}
{{- end }}

{{- if .Values.s3Fallback.enabled }}
- name: LAKEFS_GATEWAYS_S3_FALLBACK_URL
value: http://localhost:7001
Expand All @@ -72,13 +103,11 @@ env:
value: /lakefs/cache
{{- end }}
{{- if .Values.useDevPostgres }}
{{- if and (.Values.fluffy).enabled (.Values.fluffy.rbac).enabled }}
- name: LAKEFS_DATABASE_TYPE
value: postgres
- name: LAKEFS_DATABASE_POSTGRES_CONNECTION_STRING
value: 'postgres://lakefs:lakefs@postgres-server:5432/postgres?sslmode=disable'
{{- end }}
{{- end }}
{{- if .Values.extraEnvVars }}
{{- toYaml .Values.extraEnvVars | nindent 2 }}
{{- end }}
Expand Down Expand Up @@ -108,4 +137,9 @@ envFrom:
- key: config.yaml
path: config.yaml
{{- end }}
{{- if (((.Values.enterprise).auth).saml).enabled }}
- name: secret-volume
secret:
secretName: saml-certificates
{{- end }}
{{- end }}
209 changes: 0 additions & 209 deletions charts/lakefs/templates/_fluffy.tpl

This file was deleted.

19 changes: 16 additions & 3 deletions charts/lakefs/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -66,17 +66,30 @@ Create the name of the service account to use
{{/*
Define which repository to use according to the following:
1. Explicitly defined
2. Otherwise if fluffy is enabled - take enterprise image
2. Otherwise if enterprise is enabled - take enterprise image
3. Otherwise use OSS image
*/}}
{{- define "lakefs.repository" -}}
{{- if not .Values.image.repository }}
{{- if (.Values.fluffy).enabled }}
{{- if (.Values.enterprise).enabled }}
{{- default "treeverse/lakefs-enterprise" .Values.image.repository }}
{{- else }}
{{- default "treeverse/lakefs" .Values.image.repository }}
{{- end }}
{{- else }}
{{- default .Values.image.repository }}
{{- end }}
{{- 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." -}}
{{- end -}}
{{- end -}}

{{- define "lakefs.dockerConfigJson" }}
{{- $token := .Values.image.privateRegistry.secretToken }}
{{- $username := "externallakefs" }}
{{- $registry := "https://index.docker.io/v1/" }}
{{- printf "{\"auths\":{\"%s\":{\"username\":\"%s\",\"password\":\"%s\",\"auth\":\"%s\"}}}" $registry $username $token (printf "%s:%s" $username $token | b64enc) | b64enc }}
{{- end }}
Loading
Loading