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