2019-11-07 09:24:27 +00:00
|
|
|
apiVersion: apps/v1
|
2019-07-22 13:22:10 +00:00
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
2020-12-05 21:08:42 +00:00
|
|
|
name: {{ include "authentik.fullname" . }}-static
|
2019-07-22 13:22:10 +00:00
|
|
|
labels:
|
2020-12-05 21:08:42 +00:00
|
|
|
app.kubernetes.io/name: {{ include "authentik.name" . }}
|
|
|
|
helm.sh/chart: {{ include "authentik.chart" . }}
|
2019-07-22 13:22:10 +00:00
|
|
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
|
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
2020-12-05 21:08:42 +00:00
|
|
|
k8s.goauthentik.io/component: static
|
2019-07-22 13:22:10 +00:00
|
|
|
spec:
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
2020-12-05 21:08:42 +00:00
|
|
|
app.kubernetes.io/name: {{ include "authentik.name" . }}
|
2019-07-22 13:22:10 +00:00
|
|
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
2020-12-05 21:08:42 +00:00
|
|
|
k8s.goauthentik.io/component: static
|
2019-07-22 13:22:10 +00:00
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
2020-12-05 21:08:42 +00:00
|
|
|
app.kubernetes.io/name: {{ include "authentik.name" . }}
|
2019-07-22 13:22:10 +00:00
|
|
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
2020-12-05 21:08:42 +00:00
|
|
|
k8s.goauthentik.io/component: static
|
2019-07-22 13:22:10 +00:00
|
|
|
spec:
|
|
|
|
containers:
|
|
|
|
- name: {{ .Chart.Name }}-static
|
2020-08-25 16:02:51 +00:00
|
|
|
image: "{{ .Values.image.name_static }}:{{ .Values.image.tag }}"
|
2020-12-12 22:07:13 +00:00
|
|
|
imagePullPolicy: "{{ .Values.image.pullPolicy }}"
|
2019-07-22 13:22:10 +00:00
|
|
|
ports:
|
|
|
|
- name: http
|
2020-02-21 20:50:16 +00:00
|
|
|
containerPort: 80
|
2019-07-22 13:22:10 +00:00
|
|
|
protocol: TCP
|
|
|
|
livenessProbe:
|
|
|
|
initialDelaySeconds: 10
|
|
|
|
timeoutSeconds: 5
|
|
|
|
httpGet:
|
2020-02-21 20:50:16 +00:00
|
|
|
path: /
|
2019-07-22 13:22:10 +00:00
|
|
|
port: http
|
|
|
|
readinessProbe:
|
|
|
|
initialDelaySeconds: 10
|
|
|
|
timeoutSeconds: 5
|
|
|
|
httpGet:
|
2020-02-21 20:50:16 +00:00
|
|
|
path: /
|
2019-07-22 13:22:10 +00:00
|
|
|
port: http
|
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
cpu: 10m
|
|
|
|
memory: 10M
|
|
|
|
limits:
|
|
|
|
cpu: 20m
|
|
|
|
memory: 20M
|
2020-11-23 19:50:19 +00:00
|
|
|
volumeMounts:
|
2020-12-05 21:08:42 +00:00
|
|
|
- name: authentik-uploads
|
2020-11-23 19:50:19 +00:00
|
|
|
mountPath: /usr/share/nginx/html/media
|
|
|
|
volumes:
|
2020-12-05 21:08:42 +00:00
|
|
|
- name: authentik-uploads
|
2020-11-23 19:50:19 +00:00
|
|
|
persistentVolumeClaim:
|
2020-12-05 21:08:42 +00:00
|
|
|
claimName: {{ include "authentik.fullname" . }}-uploads
|