From 0f902d718dc0904f12e208d44ffd1ab943f8a4d3 Mon Sep 17 00:00:00 2001 From: auricom Date: Thu, 14 Jan 2021 01:17:57 +0100 Subject: [PATCH] upgrade authelia --- cluster/auth/authelia.yaml | 104 ++++++++++++++++++------------------- 1 file changed, 52 insertions(+), 52 deletions(-) diff --git a/cluster/auth/authelia.yaml b/cluster/auth/authelia.yaml index 7f5b333cd..93970fb14 100644 --- a/cluster/auth/authelia.yaml +++ b/cluster/auth/authelia.yaml @@ -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