mirror of
https://github.com/auricom/home-cluster.git
synced 2025-10-01 16:05:55 +02:00
upgrade authelia
This commit is contained in:
@@ -20,40 +20,40 @@ spec:
|
||||
app.kubernetes.io/name: authelia
|
||||
spec:
|
||||
initContainers:
|
||||
- name: authelia-init
|
||||
image: busybox
|
||||
command: ['/bin/sh', '-c', 'cp /configyaml/*.y* /config']
|
||||
volumeMounts:
|
||||
- name: configyaml
|
||||
mountPath: /configyaml
|
||||
- name: config
|
||||
mountPath: /config
|
||||
- name: authelia-init
|
||||
image: busybox
|
||||
command: ["/bin/sh", "-c", "cp /configyaml/*.y* /config"]
|
||||
volumeMounts:
|
||||
- name: configyaml
|
||||
mountPath: /configyaml
|
||||
- name: config
|
||||
mountPath: /config
|
||||
containers:
|
||||
- name: redis
|
||||
image: k8s.gcr.io/redis:e2e
|
||||
resources:
|
||||
limits:
|
||||
cpu: 100m
|
||||
memory: 125Mi
|
||||
requests:
|
||||
cpu: 50m
|
||||
memory: 125Mi
|
||||
ports:
|
||||
- containerPort: 6379
|
||||
- name: authelia
|
||||
image: authelia/authelia:4.23.3
|
||||
ports:
|
||||
- containerPort: 9091
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /config
|
||||
resources:
|
||||
limits:
|
||||
cpu: 500m
|
||||
memory: 2000Mi
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 1500Mi
|
||||
- name: redis
|
||||
image: k8s.gcr.io/redis:e2e
|
||||
resources:
|
||||
limits:
|
||||
cpu: 100m
|
||||
memory: 125Mi
|
||||
requests:
|
||||
cpu: 50m
|
||||
memory: 125Mi
|
||||
ports:
|
||||
- containerPort: 6379
|
||||
- name: authelia
|
||||
image: authelia/authelia:4.25.1
|
||||
ports:
|
||||
- containerPort: 9091
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /config
|
||||
resources:
|
||||
limits:
|
||||
cpu: 500m
|
||||
memory: 2000Mi
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 1500Mi
|
||||
dnsConfig:
|
||||
options:
|
||||
- name: ndots
|
||||
@@ -62,22 +62,22 @@ spec:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: node-role.kubernetes.io/worker
|
||||
operator: In
|
||||
values:
|
||||
- "true"
|
||||
- matchExpressions:
|
||||
- key: node-role.kubernetes.io/worker
|
||||
operator: In
|
||||
values:
|
||||
- "true"
|
||||
volumes:
|
||||
- name: config
|
||||
emptyDir: {}
|
||||
- name: configyaml
|
||||
configMap:
|
||||
name: authelia-config
|
||||
items:
|
||||
- key: configuration.yml
|
||||
path: configuration.yml
|
||||
- key: users.yaml
|
||||
path: users.yaml
|
||||
- name: config
|
||||
emptyDir: {}
|
||||
- name: configyaml
|
||||
configMap:
|
||||
name: authelia-config
|
||||
items:
|
||||
- key: configuration.yml
|
||||
path: configuration.yml
|
||||
- key: users.yaml
|
||||
path: users.yaml
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
@@ -95,10 +95,10 @@ spec:
|
||||
app.kubernetes.io/instance: authelia
|
||||
app.kubernetes.io/name: authelia
|
||||
ports:
|
||||
- name: http
|
||||
protocol: TCP
|
||||
port: 80
|
||||
targetPort: 9091
|
||||
- name: http
|
||||
protocol: TCP
|
||||
port: 80
|
||||
targetPort: 9091
|
||||
externalTrafficPolicy: Local
|
||||
type: LoadBalancer
|
||||
loadBalancerIP: 192.168.9.204
|
||||
|
Reference in New Issue
Block a user