34 lines
677 B
YAML
34 lines
677 B
YAML
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: authelia
|
|
namespace: authelia
|
|
labels:
|
|
app: authelia
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: authelia
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: authelia
|
|
spec:
|
|
containers:
|
|
- name: authelia
|
|
image: authelia:dist
|
|
ports:
|
|
- containerPort: 80
|
|
volumeMounts:
|
|
- name: config-volume
|
|
mountPath: /etc/authelia
|
|
volumes:
|
|
- name: config-volume
|
|
configMap:
|
|
name: authelia-config
|
|
items:
|
|
- key: configuration.yml
|
|
path: configuration.yml
|