removed authellia

This commit is contained in:
Ariel Sosnovsky committed 2023-04-28 16:40:14 -04:00
1 parent 5817634ccf
commit 78dd43fb34
9 files changed
-361

No files matched your search

-12
View File
@@ -1,12 +0,0 @@
apiVersion: v2
name: authella
description: An infra service for homelab
type: application
version: 0.1.0
dependencies:
- name: authelia
repository: https://charts.authelia.com
version: "0.8.57"
- name: redis
repository: https://charts.bitnami.com/bitnami
version: "17.9.2"
@@ -1,15 +0,0 @@
{{ if .Values.global.tls.enabled }}
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: "tls-{{.Values.authelia.ingress.subdomain}}.{{.Values.authelia.domain}}"
spec:
secretName: "{{.Values.authelia.ingress.tls.secret}}"
issuerRef:
kind: ClusterIssuer
name: "{{ .Values.global.tls.issuer }}"
commonName: "{{.Values.authelia.ingress.subdomain}}.{{.Values.authelia.domain}}"
dnsNames:
- "{{.Values.authelia.ingress.subdomain}}.{{.Values.authelia.domain}}"
{{ end }}
-83
View File
@@ -1,83 +0,0 @@
{{ if .Values.smtp_configs }}
---
apiVersion: v1
kind: Secret
metadata:
name: "postfix-smtp-env"
type: Opaque
data:
SERVER_HOSTNAME: "{{ .Values.global.domain | b64enc }}"
{{ range $k, $v := .Values.smtp_configs }}
{{ $k }}: "{{ $v | b64enc }}"
{{ end }}
---
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: "postfix-smtp"
spec:
refreshInterval: 1h
secretStoreRef:
kind: ClusterSecretStore
name: secrets
target:
name: "postfix-smtp-env"
creationPolicy: Merge
data:
- secretKey: "SMTP_PASSWORD"
remoteRef:
key: "smtp"
property: password
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: postfix
labels:
app: postfix
spec:
strategy:
rollingUpdate:
maxSurge: 1
maxUnavailable: 1
type: RollingUpdate
selector:
matchLabels:
app: postfix
template:
metadata:
labels:
app: postfix
annotations:
postfix/env-checksum: "{{ .Values.smtp_configs | toJson | sha256sum }}"
spec:
containers:
- image: juanluisbaptiste/postfix:alpine
name: postfix
resources:
requests:
cpu: "20m"
memory: "55M"
limits:
cpu: "20m"
memory: "55M"
envFrom:
- secretRef:
name: postfix-smtp-env
ports:
- containerPort: 25
name: smtp
---
kind: Service
apiVersion: v1
metadata:
name: postfix
spec:
selector:
app: postfix
type: ClusterIP
ports:
- name: smtp
port: 25
targetPort: 25
{{ end }}
@@ -1,29 +0,0 @@
---
apiVersion: v1
kind: Secret
metadata:
name: "{{ .Values.authelia.secret.existingSecret }}"
annotations:
secret-generator.v1.mittwald.de/autogenerate: SESSION_ENCRYPTION_KEY,REDIS_PASSWORD,JWT_TOKEN,STORAGE_ENCRYPTION_KEY
data:
dummy_values: ""
type: Opaque
---
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: "{{ .Values.authelia.secret.existingSecret }}-db"
spec:
refreshInterval: 1h
secretStoreRef:
kind: ClusterSecretStore
name: chart-database
target:
name: "{{ .Values.authelia.secret.existingSecret }}"
creationPolicy: Merge
data:
- secretKey: "STORAGE_PASSWORD"
remoteRef:
key: "password.pg.authelia"
property: password
View File
Whitespace-only changes.
-23
View File
@@ -1,23 +0,0 @@
authelia:
configMap:
notifier:
disable_startup_check: false
smtp:
enabled: true
filesystem:
enabled: false
ingress:
enabled: true
certManager: true
tls:
enabled: true
traefikCRD:
enabled: true
disableIngressRoute: true
sticky: true
middlewares:
chains:
ingressRoute:
before:
- name: "https-redirect"
namespace: "apps-ingresses"
-195
View File
@@ -1,195 +0,0 @@
authelia:
domain: "changeme"
nameOverride: main-authelia
image:
registry: ghcr.io
repository: authelia/authelia
tag: ""
pullPolicy: IfNotPresent
ingress:
enabled: true
annotations: {}
certManager: true
className: traefik
subdomain: auth.core
tls:
enabled: false
secret: authelia-tls
traefikCRD:
enabled: true
disableIngressRoute: false
sticky: true
pod:
kind: DaemonSet
replicas: 1
revisionHistoryLimit: 1
env:
- name: TZ
value: "America/Toronto"
resources:
limits:
cpu: "4.00"
memory: 125Mi
requests:
cpu: "0.25"
memory: 50Mi
persistence:
enabled: true
readOnly: false
accessModes:
- ReadWriteMany
size: 100Mi
configMap:
enabled: true
theme: dark
default_2fa_method: totp
access_control:
secret:
enabled: true
key: configuration.acl.yaml
## Default policy can either be 'bypass', 'one_factor', 'two_factor' or 'deny'. It is the policy applied to any
default_policy: two_factor
networks: []
rules: []
authentication_backend:
ldap:
enabled: false
file:
enabled: true
path: /config/users_database.yml
watch: true
search:
email: true
case_insensitive: true
storage:
postgres:
enabled: true
host: postgres.chart-database.svc.cluster.local
port: 5432
database: authelia
schema: public
username: authelia
timeout: 5s
notifier:
disable_startup_check: true
smtp:
enabled: false
filesystem:
enabled: true
filename: /config/notification.txt
session:
name: authelia_session
same_site: lax
expiration: 1h
inactivity: 5m
remember_me_duration: 1M
redis:
enabled: true
enabledSecret: true
host: redis-authelia-headless.apps-authelia.svc.cluster.local
port: 6379
database_index: 0
maximum_active_connections: 8
minimum_idle_connections: 0
identity_providers:
oidc:
enabled: false
access_token_lifespan: 8h
authorize_code_lifespan: 1m
id_token_lifespan: 1h
refresh_token_lifespan: 90m
enforce_pkce: public_clients_only
enable_pkce_plain_challenge: false
minimum_parameter_entropy: 8
enable_client_debug_messages: false
clients: []
secret:
existingSecret: authelia
mountPath: /secrets
excludeVolumeAndMounts: false
storage:
key: STORAGE_PASSWORD
session:
key: SESSION_ENCRYPTION_KEY
redis:
key: REDIS_PASSWORD
smtp:
key: SMTP_PASSWORD
jwt:
key: JWT_TOKEN
storageEncryptionKey:
key: STORAGE_ENCRYPTION_KEY
redis:
image:
registry: docker.io
repository: bitnami/redis
tag: 7.0.10-debian-11-r2
pullPolicy: IfNotPresent
fullnameOverride: "redis-authelia"
architecture: replication
auth:
enabled: true
existingSecret: "authelia"
existingSecretPasswordKey: "REDIS_PASSWORD"
usePasswordFiles: false
master:
count: 1
resources:
limits:
cpu: 500m
memory: 1Gi
requests:
cpu: 500m
memory: 1Gi
persistence:
enabled: true
size: "8Gi"
storageClass: ""
accessModes:
- ReadWriteOnce
service:
type: ClusterIP
ports:
redis: 6379
replica:
replicaCount: 1
containerPorts:
redis: 6379
resources:
limits:
cpu: 250m
memory: 256Mi
requests:
cpu: 250m
memory: 256Mi
persistence:
enabled: true
storageClass: ""
accessModes:
- ReadWriteOnce
size: 8Gi
service:
type: ClusterIP
ports:
redis: 6379
autoscaling:
enabled: true
minReplicas: 1
maxReplicas: 4
targetCPU: "80"
targetMemory: "80"
-1
View File
@@ -2,7 +2,6 @@ userGeneration:
tfVersion: "1.3.7"
users:
- nextcloud
- authelia
- authentik
postgresSecret: ""
-3
View File
@@ -79,9 +79,6 @@ apps:
smtp_password_secret: {{ .Values.secrets.smtp.secrets.smtp.name }}
smtp_password_secret_key: password
authelia:
valuesFile: authelia.yaml
frigate:
values: |-
persistence: