mirror of
https://github.com/outbackdingo/homelab-v.git
synced 2026-08-25 14:53:19 +00:00
fix(authelia): clean up values-file
This commit is contained in:
@@ -6,21 +6,21 @@ image:
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
pod:
|
||||
kind: 'Deployment'
|
||||
kind: Deployment
|
||||
|
||||
configMap:
|
||||
default_2fa_method: totp
|
||||
theme: 'dark'
|
||||
theme: dark
|
||||
|
||||
identity_validation:
|
||||
reset_password:
|
||||
secret: { secret_name: crypto }
|
||||
|
||||
access_control:
|
||||
default_policy: 'two_factor'
|
||||
default_policy: two_factor
|
||||
rules:
|
||||
- domain_regex: '^.*\.stonegarden.dev$'
|
||||
policy: 'two_factor'
|
||||
- domain_regex: ^.*\.stonegarden.dev$
|
||||
policy: two_factor
|
||||
|
||||
session:
|
||||
encryption_key: { secret_name: crypto }
|
||||
@@ -45,14 +45,14 @@ configMap:
|
||||
authentication_backend:
|
||||
ldap:
|
||||
enabled: true
|
||||
implementation: 'lldap'
|
||||
address: 'ldap://lldap.lldap.svc.cluster.local'
|
||||
base_dn: 'dc=stonegarden,dc=dev'
|
||||
users_filter: '(&(|({username_attribute}={input})({mail_attribute}={input}))(objectClass=person))'
|
||||
additional_users_dn: 'ou=people'
|
||||
groups_filter: '(member={dn})'
|
||||
additional_groups_dn: 'ou=groups'
|
||||
user: 'UID=authelia,OU=people,DC=stonegarden,DC=dev'
|
||||
implementation: lldap
|
||||
address: ldap://lldap.lldap.svc.cluster.local
|
||||
base_dn: dc=stonegarden,dc=dev
|
||||
users_filter: (&(|({username_attribute}={input})({mail_attribute}={input}))(objectClass=person))
|
||||
additional_users_dn: ou=people
|
||||
groups_filter: (member={dn})
|
||||
additional_groups_dn: ou=groups
|
||||
user: UID=authelia,OU=people,DC=stonegarden,DC=dev
|
||||
password: { secret_name: lldap-auth }
|
||||
|
||||
identity_providers:
|
||||
@@ -61,45 +61,45 @@ configMap:
|
||||
enabled: true
|
||||
hmac_secret: { secret_name: crypto }
|
||||
jwks:
|
||||
- key_id: 'default'
|
||||
algorithm: 'RS256'
|
||||
use: 'sig'
|
||||
- key_id: default
|
||||
algorithm: RS256
|
||||
use: sig
|
||||
key: { path: /secrets/rsa-jwk/tls.key }
|
||||
certificate_chain: { path: /secrets/rsa-jwk/tls.crt }
|
||||
- key_id: 'ecdsa256'
|
||||
algorithm: 'ES256'
|
||||
use: 'sig'
|
||||
- key_id: ecdsa256
|
||||
algorithm: ES256
|
||||
use: sig
|
||||
key: { path: /secrets/ecdsa-jwk/tls.key }
|
||||
certificate_chain: { path: /secrets/ecdsa-jwk/tls.crt }
|
||||
cors:
|
||||
allowed_origins_from_client_redirect_uris: true
|
||||
clients:
|
||||
- client_id: 'argocd'
|
||||
- client_id: argocd
|
||||
client_secret:
|
||||
path: '/secrets/oidc-argocd/clientSecret'
|
||||
client_name: 'Argo CD'
|
||||
path: /secrets/oidc-argocd/clientSecret
|
||||
client_name: Argo CD
|
||||
public: false
|
||||
authorization_policy: 'two_factor'
|
||||
authorization_policy: two_factor
|
||||
redirect_uris:
|
||||
- 'https://argocd.stonegarden.dev/auth/callback'
|
||||
- 'https://argocd.stonegarden.dev/applications'
|
||||
scopes: [ 'openid', 'groups', 'email', 'profile' ]
|
||||
userinfo_signed_response_alg: 'none'
|
||||
id_token_signed_response_alg: 'ES256'
|
||||
- client_id: 'argocd-cli'
|
||||
client_name: 'Argo CD (CLI)'
|
||||
- https://argocd.stonegarden.dev/auth/callback
|
||||
- https://argocd.stonegarden.dev/applications
|
||||
scopes: [ openid, groups, email, profile, offline_access ]
|
||||
userinfo_signed_response_alg: none
|
||||
id_token_signed_response_alg: ES256
|
||||
- client_id: argocd-cli
|
||||
client_name: Argo CD (CLI)
|
||||
public: true
|
||||
authorization_policy: 'two_factor'
|
||||
redirect_uris: [ 'http://localhost:8085/auth/callback' ]
|
||||
scopes: [ 'openid', 'groups', 'email', 'profile', 'offline_access' ]
|
||||
userinfo_signed_response_alg: 'none'
|
||||
authorization_policy: two_factor
|
||||
redirect_uris: [ http://localhost:8085/auth/callback ]
|
||||
scopes: [ openid, groups, email, profile, offline_access ]
|
||||
userinfo_signed_response_alg: none
|
||||
- client_id: kubectl
|
||||
client_name: kubectl
|
||||
public: true
|
||||
authorization_policy: one_factor
|
||||
redirect_uris: [ 'http://localhost:8000', 'http://localhost:18000' ]
|
||||
scopes: [ 'openid', 'groups', 'email', 'profile', 'offline_access' ]
|
||||
userinfo_signed_response_alg: 'none'
|
||||
authorization_policy: two_factor
|
||||
redirect_uris: [ http://localhost:8000, http://localhost:18000 ]
|
||||
scopes: [ openid, groups, email, profile, offline_access ]
|
||||
userinfo_signed_response_alg: none
|
||||
|
||||
secret:
|
||||
additionalSecrets:
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
configs:
|
||||
cm:
|
||||
create: true
|
||||
application.resourceTrackingMethod: "annotation+label"
|
||||
application.resourceTrackingMethod: annotation+label
|
||||
admin.enabled: false
|
||||
url: 'https://argocd.stonegarden.dev'
|
||||
url: https://argocd.stonegarden.dev
|
||||
# https://argo-cd.readthedocs.io/en/stable/operator-manual/user-management/#sensitive-data-and-sso-client-secrets
|
||||
oidc.config: |
|
||||
name: 'Authelia'
|
||||
@@ -12,14 +12,14 @@ configs:
|
||||
clientID: 'argocd'
|
||||
clientSecret: $oidc:authelia.clientSecret
|
||||
cliClientID: 'argocd-cli'
|
||||
requestedScopes: [ 'openid', 'profile', 'email', 'groups' ]
|
||||
requestedScopes: [ 'openid', 'profile', 'email', 'groups', 'offline_access' ]
|
||||
cmp:
|
||||
create: true
|
||||
plugins:
|
||||
kustomize-build-with-helm:
|
||||
generate:
|
||||
command: [ "sh", "-c" ]
|
||||
args: [ "kustomize build --enable-helm" ]
|
||||
command: [ sh, -c ]
|
||||
args: [ kustomize build --enable-helm ]
|
||||
params:
|
||||
controller.diff.server.side: true
|
||||
server.insecure: true
|
||||
@@ -93,7 +93,7 @@ repoServer:
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
capabilities:
|
||||
drop: [ "ALL" ]
|
||||
drop: [ ALL ]
|
||||
volumeMounts:
|
||||
- name: plugins
|
||||
mountPath: /home/argocd/cmp-server/plugins
|
||||
|
||||
Reference in New Issue
Block a user