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
|
path: HEADLAMP_CLIENT_SECRET
|
||||||
- key: VAULT_CLIENT_SECRET
|
- key: VAULT_CLIENT_SECRET
|
||||||
path: VAULT_CLIENT_SECRET
|
path: VAULT_CLIENT_SECRET
|
||||||
|
- key: ZOT_CLIENT_SECRET
|
||||||
|
path: ZOT_CLIENT_SECRET
|
||||||
- key: identity_providers.oidc.jwks.key
|
- key: identity_providers.oidc.jwks.key
|
||||||
path: jwks.pem
|
path: jwks.pem
|
||||||
extraVolumeMounts:
|
extraVolumeMounts:
|
||||||
@@ -45,6 +47,10 @@ pod:
|
|||||||
mountPath: /secrets/VAULT_CLIENT_SECRET
|
mountPath: /secrets/VAULT_CLIENT_SECRET
|
||||||
subPath: VAULT_CLIENT_SECRET
|
subPath: VAULT_CLIENT_SECRET
|
||||||
readOnly: true
|
readOnly: true
|
||||||
|
- name: oidc-secrets
|
||||||
|
mountPath: /secrets/ZOT_CLIENT_SECRET
|
||||||
|
subPath: ZOT_CLIENT_SECRET
|
||||||
|
readOnly: true
|
||||||
- name: oidc-secrets
|
- name: oidc-secrets
|
||||||
mountPath: /secrets/jwks.pem
|
mountPath: /secrets/jwks.pem
|
||||||
subPath: jwks.pem
|
subPath: jwks.pem
|
||||||
@@ -165,6 +171,20 @@ configMap:
|
|||||||
- profile
|
- profile
|
||||||
- email
|
- email
|
||||||
token_endpoint_auth_method: client_secret_post
|
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 configuration - use existing secret from Vault
|
||||||
secret:
|
secret:
|
||||||
|
|||||||
@@ -52,3 +52,8 @@ spec:
|
|||||||
remoteRef:
|
remoteRef:
|
||||||
key: authelia
|
key: authelia
|
||||||
property: VAULT_CLIENT_SECRET
|
property: VAULT_CLIENT_SECRET
|
||||||
|
# Zot OIDC client secret
|
||||||
|
- secretKey: ZOT_CLIENT_SECRET
|
||||||
|
remoteRef:
|
||||||
|
key: authelia
|
||||||
|
property: ZOT_CLIENT_SECRET
|
||||||
|
|||||||
Reference in New Issue
Block a user