-
Notifications
You must be signed in to change notification settings - Fork 9
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
External auth example #245
Changes from 4 commits
e067eb1
4eaab0a
2ffb7dd
bfe7269
64d6b49
060ac2e
bf1a813
598eb7a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,4 +49,3 @@ jobs: | |
uses: helm/[email protected] | ||
env: | ||
CR_TOKEN: "${{ secrets.CR_TOKEN }}" | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,6 +53,10 @@ env: | |
- name: LAKEFS_AUTH_UI_CONFIG_LOGOUT_URL | ||
value: /logout | ||
{{- end }} | ||
{{- if (.Values.fluffy.sso).enabled }} | ||
- name: LAKEFS_AUTH_AUTHENTICATION_API_ENDPOINT | ||
value: {{ printf "http://%s/api/v1" (include "fluffy.ssoServiceName" .) | quote }} | ||
{{- end }} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. bump |
||
{{- end }} | ||
{{- if (.Values.fluffy.rbac).enabled }} | ||
- name: LAKEFS_AUTH_API_ENDPOINT | ||
|
Original file line number | Diff line number | Diff line change | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
@@ -0,0 +1,59 @@ | ||||||||||||||
lakefsConfig: | | ||||||||||||||
Isan-Rivkin marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||||||||
logging: | ||||||||||||||
level: "INFO" | ||||||||||||||
blockstore: | ||||||||||||||
type: local | ||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. remove |
||||||||||||||
auth: | ||||||||||||||
authentication_api: | ||||||||||||||
endpoint: http://localhost:8080/api/v1 | ||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why is this still here? |
||||||||||||||
external_principals_enabled: true | ||||||||||||||
ingress: | ||||||||||||||
enabled: true | ||||||||||||||
ingressClassName: <class-name> | ||||||||||||||
hosts: | ||||||||||||||
# the ingress that will be created for lakeFS | ||||||||||||||
- host: <lakefs.ingress.domain> | ||||||||||||||
paths: | ||||||||||||||
- / | ||||||||||||||
|
||||||||||||||
################################################## | ||||||||||||||
########### lakeFS enterprise - FLUFFY ########### | ||||||||||||||
################################################## | ||||||||||||||
|
||||||||||||||
fluffy: | ||||||||||||||
enabled: true | ||||||||||||||
image: | ||||||||||||||
repository: treeverse/fluffy | ||||||||||||||
tag: '0.3.0' | ||||||||||||||
pullPolicy: IfNotPresent | ||||||||||||||
privateRegistry: | ||||||||||||||
enabled: true | ||||||||||||||
secretToken: <dockerhub-token-fluffy-image> | ||||||||||||||
fluffyConfig: | | ||||||||||||||
logging: | ||||||||||||||
format: "json" | ||||||||||||||
level: "INFO" | ||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. remove |
||||||||||||||
auth: | ||||||||||||||
external: | ||||||||||||||
aws_auth: | ||||||||||||||
enabled: true | ||||||||||||||
# the maximum age in seconds for the GetCallerIdentity request | ||||||||||||||
#get_caller_identity_max_age: 60 | ||||||||||||||
# list of headers that are required to be present in the GetCallerIdentity request | ||||||||||||||
#required_headers: | ||||||||||||||
# x-lakefs-custom-key: "custom-value" | ||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||
# list of headers that are optional for the GetCallerIdentity request | ||||||||||||||
#optional_headers: | ||||||||||||||
# optional-key: "custom-value" | ||||||||||||||
# list of valid STS hosts for the GetCallerIdentity request | ||||||||||||||
#valid_sts_hosts: | ||||||||||||||
# - "sts.amazonaws.com" | ||||||||||||||
# - "sts.us-east-1.amazonaws.com" | ||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. that's really an advanced use case for someone to use that, i think its confusing, remove |
||||||||||||||
secrets: | ||||||||||||||
create: true | ||||||||||||||
sso: | ||||||||||||||
enabled: true | ||||||||||||||
rbac: | ||||||||||||||
enabled: true | ||||||||||||||
|
||||||||||||||
Isan-Rivkin marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||||||||
useDevPostgres: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think that this if is not required because there's one in L35 that wraps it and ends in L60
please verify me