FEAT(authelia): add Zot OIDC client
- Add Zot client to OIDC providers - Add ZOT_CLIENT_SECRET to ExternalSecret - Add volume mount for Zot client secret
This commit is contained in:
@@ -30,6 +30,8 @@ pod:
|
||||
path: HEADLAMP_CLIENT_SECRET
|
||||
- key: VAULT_CLIENT_SECRET
|
||||
path: VAULT_CLIENT_SECRET
|
||||
- key: ZOT_CLIENT_SECRET
|
||||
path: ZOT_CLIENT_SECRET
|
||||
- key: identity_providers.oidc.jwks.key
|
||||
path: jwks.pem
|
||||
extraVolumeMounts:
|
||||
@@ -45,6 +47,10 @@ pod:
|
||||
mountPath: /secrets/VAULT_CLIENT_SECRET
|
||||
subPath: VAULT_CLIENT_SECRET
|
||||
readOnly: true
|
||||
- name: oidc-secrets
|
||||
mountPath: /secrets/ZOT_CLIENT_SECRET
|
||||
subPath: ZOT_CLIENT_SECRET
|
||||
readOnly: true
|
||||
- name: oidc-secrets
|
||||
mountPath: /secrets/jwks.pem
|
||||
subPath: jwks.pem
|
||||
@@ -165,6 +171,20 @@ configMap:
|
||||
- profile
|
||||
- email
|
||||
token_endpoint_auth_method: client_secret_post
|
||||
- client_id: zot
|
||||
client_name: Zot Registry
|
||||
client_secret:
|
||||
path: /secrets/ZOT_CLIENT_SECRET
|
||||
public: false
|
||||
authorization_policy: one_factor
|
||||
claims_policy: default
|
||||
redirect_uris:
|
||||
- https://zot0213.kro.kr/zot/auth/callback/oidc
|
||||
scopes:
|
||||
- openid
|
||||
- profile
|
||||
- email
|
||||
token_endpoint_auth_method: client_secret_post
|
||||
|
||||
# Secret configuration - use existing secret from Vault
|
||||
secret:
|
||||
|
||||
Reference in New Issue
Block a user