instructiones

This commit is contained in:
2021-11-03 20:31:28 +01:00
parent a438815b1a
commit 83241b2602
3 changed files with 13 additions and 4 deletions

3
apps/authelia/README.md Normal file
View File

@@ -0,0 +1,3 @@
### Apply new config
$ kubectl -n live-infra create configmap authelia-config --from-file=configMaps/ -o yaml --dry-run |kubectl apply -f -

View File

@@ -7,14 +7,14 @@
## Certificates directory specifies where Authelia will load trusted certificates (public portion) from in addition to ## Certificates directory specifies where Authelia will load trusted certificates (public portion) from in addition to
## the system certificates store. ## the system certificates store.
## They should be in base64 format, and have one of the following extensions: *.cer, *.crt, *.pem. ## They should be in base64 format, and have one of the following extensions: *.cer, *.crt, *.pem.
# certificates_directory: /config/certificates certificates_directory: /etc/pki/pki
## The theme to display: light, dark, grey, auto. ## The theme to display: light, dark, grey, auto.
theme: dark theme: dark
## The secret used to generate JWT tokens when validating user identity by email confirmation. JWT Secret can also be ## The secret used to generate JWT tokens when validating user identity by email confirmation. JWT Secret can also be
## set using a secret: https://www.authelia.com/docs/configuration/secrets.html ## set using a secret: https://www.authelia.com/docs/configuration/secrets.html
jwt_secret: a_very_important_secret2 jwt_secret: hAnFzapSCusyF2W83JAg6PRqc6v7iQvN7sP3PQ70HAbPBshJzAMz
## Default redirection URL ## Default redirection URL
## ##
@@ -60,10 +60,10 @@ server:
## Authelia by default doesn't accept TLS communication on the server port. This section overrides this behaviour. ## Authelia by default doesn't accept TLS communication on the server port. This section overrides this behaviour.
tls: tls:
## The path to the DER base64/PEM format private key. ## The path to the DER base64/PEM format private key.
key: "" key: "/etc/pki/private.key"
## The path to the DER base64/PEM format public certificate. ## The path to the DER base64/PEM format public certificate.
certificate: "" certificate: "/etc/pki/auth.lan.crt"
## ##
## Log Configuration ## Log Configuration

View File

@@ -34,6 +34,8 @@ spec:
mountPath: /config-nfs mountPath: /config-nfs
- name: authelia-config - name: authelia-config
mountPath: /config mountPath: /config
- name: pki
mountPath: /etc/pki
ports: ports:
- name: http - name: http
containerPort: 9091 containerPort: 9091
@@ -64,6 +66,10 @@ spec:
items: items:
- key: configuration.yml - key: configuration.yml
path: configuration.yml path: configuration.yml
- name: pki
hostPath:
path: /etc/pki
type: Directory
--- ---
apiVersion: v1 apiVersion: v1
kind: PersistentVolumeClaim kind: PersistentVolumeClaim