Skip to content

Commit

Permalink
Merge branch 'treeverse:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
wadhah101 authored Dec 23, 2024
2 parents ce45407 + 0adca03 commit 784bd71
Show file tree
Hide file tree
Showing 6 changed files with 59 additions and 4 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## v1.3.24

:new: What's new:
- Updated lakeFS version to [1.45.0](https://github.com/treeverse/lakeFS/releases/tag/v1.45.0)
- Updated fluffy version to [0.8.0](https://github.com/treeverse/fluffy/releases/tag/v0.8.0)

## v1.3.23

:new: What's new:
- Updated lakeFS version to [1.44.0](https://github.com/treeverse/lakeFS/releases/tag/v1.44.0)

## v1.3.19

: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.3.21
appVersion: 1.43.0
version: 1.3.25
appVersion: 1.45.0

home: https://lakefs.io
icon: https://lakefs.io/wp-content/uploads/2020/07/lake-fs-color-2.svg
Expand Down
24 changes: 23 additions & 1 deletion charts/lakefs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,26 @@ lakefsConfig: |
domain_name: s3.lakefs.example.com
```
Example `my-values.yaml` using PostgreSQL with Cloud SQL Auth Proxy in GCP:

```yaml
secrets:
databaseConnectionString: postgres://<DB_USERNAME>:<DB_PASSWORD>@localhost:5432/<DB_NAME>
authEncryptSecretKey: <some random string>
lakefsConfig: |
database:
type: postgres
blockstore:
type: gs
gs:
credentials_json: '<credentials_json>'
serviceAccount:
name: <service account name>
gcpFallback:
enabled: true
instance: <my_project>:<my_region>:<my_instance>=tcp:5432
```

Example `my-values.yaml` using DynamoDB:
```yaml
secrets:
Expand Down Expand Up @@ -130,5 +150,7 @@ helm upgrade -f my-values.yaml my-lakefs lakefs/lakefs --set kv_upgrade=true
| `s3Fallback.enabled` | If set to true, an [S3Proxy](https://github.com/gaul/s3proxy) container will be started. Requests to lakeFS S3 gateway with a non-existing repository will be forwarded to this container. | |
| `s3Fallback.aws_access_key` | An AWS access key to be used by the S3Proxy for authentication | |
| `s3Fallback.aws_secret_key` | An AWS secret key to be used by the S3Proxy for authentication | |
| `gcpFallback.enabled` | If set to true, an [GCP Proxy](https://github.com/GoogleCloudPlatform/cloud-sql-proxy) container will be started. | |
| `gcpFallback.instance` | The instance to connect to. See the example above for the format. | |
| `committedLocalCacheVolume` | A volume definition to be mounted by lakeFS and used for caching committed metadata. See [here](https://kubernetes.io/docs/concepts/storage/volumes/#volume-types) for a list of supported volume types. The default values.yaml file shows an example of how to use this parameter. | |
| `serviceAccount.name` | Name of the service account to use for the lakeFS pods. If not set, use the `default` service account. | |
| `serviceAccount.name` | Name of the service account to use for the lakeFS pods. If not set, use the `default` service account. | |
18 changes: 18 additions & 0 deletions charts/lakefs/templates/_gcp_proxy_container.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{{- define "lakefs.gcpProxyContainer" }}
{{- if .Values.lakefsConfig }}
{{ $config := .Values.lakefsConfig | fromYaml }}
{{- end }}
{{- if .Values.gcpFallback.enabled }}
- name: gcp-proxy
image: eu.gcr.io/cloudsql-docker/gce-proxy:1.33.4
imagePullPolicy: IfNotPresent
command:
- /cloud_sql_proxy
- -term_timeout=10s
env:
{{- if .Values.gcpFallback.instance }}
- name: INSTANCES
value: {{ .Values.gcpFallback.instance }}
{{- end }}
{{- end }}
{{- end }}
1 change: 1 addition & 0 deletions charts/lakefs/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ spec:
{{- end }}
{{- include "lakefs.env" . | nindent 10 }}
{{- include "lakefs.s3proxyContainer" . | nindent 8}}
{{- include "lakefs.gcpProxyContainer" . | nindent 8}}
volumes:
{{- include "lakefs.volumes" . | nindent 8 }}
{{- with .Values.nodeSelector }}
Expand Down
5 changes: 4 additions & 1 deletion charts/lakefs/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ topologySpreadConstraints: []
s3Fallback:
enabled: false

gcpFallback:
enabled: false

lakefsConfig: |
database:
type: local
Expand Down Expand Up @@ -113,7 +116,7 @@ fluffy:
enabled: false
image:
repository: treeverse/fluffy
tag: '0.7.0'
tag: '0.8.1'
pullPolicy: IfNotPresent

# Start local postgres pod for quick start, not for production
Expand Down

0 comments on commit 784bd71

Please sign in to comment.