Skip to content
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

add conf #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
45 changes: 36 additions & 9 deletions flyteadmin_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,28 +9,55 @@ server:
kube-config: /Users/haythamabuelfutuh/kubeconfig/k3s/k3s.yaml
security:
secure: false
useAuth: false
useAuth: true
allowCors: true
allowedOrigins:
# Accepting all domains for Sandbox installation
- "*"
allowedHeaders:
- "Content-Type"
secrets:
secrets-prefix: "/Users/sonjae/flyteadmin"
# Okta OIdC only
auth:
appAuth:
selfAuthServer:
claimSymmetricEncryptionKeySecretName: "claim_symmetric_key"
tokenSigningRSAKeySecretName: "token_rsa_key.pem"
staticClients:
- obol:
id: obol
# The secret is hashed, so we can store it in ghe
client_secret:
scopes: all
grant_types: client_credentials
- spotify-flytepropeller:
id: spotify-flytepropeller
# The secret is hashed, so we can store it in ghe
client_secret:
scopes: all
grant_types: client_credentials
#appAuth:
# authServerType: External
# externalAuthServer:
# metadataUrl: .well-known/openid-configuration
# allowedAudience: https://flyte.net
authorizedUris:
- https://localhost:8088
- http://flyteadmin:80
# This should point at your public http Uri.
- http://localhost:8088
userAuth:
openId:
# Put the URL of the OpenID Connect provider.
baseUrl: https://dev-14186422.okta.com/oauth2/auskngnn7uBViQq6b5d6
scopes:
- profile
- openid
- offline_access # Uncomment if OIdC supports issuing refresh tokens.
baseUrl: "https://accounts.google.com"
#scopes:
# - profile
# - openid
# Replace with the client id created for Flyte.
clientId: 0oakkheteNjCMERst5d6
cookieHashKeySecretName: "cookie_hash_key"
cookieBlockKeySecretName: "cookie_block_key"
clientSecretName: "oidc_client_secret"



# Okta OIdC and OAuth2
#auth:
Expand Down