From 1fe26abdd564c0cb439d7063f01476f86234211c Mon Sep 17 00:00:00 2001 From: friedrich goerz Date: Wed, 8 Jun 2022 12:56:46 +0200 Subject: [PATCH] MOB-148: removed debugging container, readded several probes - keycloak up and running again but without PodSec stuff --- .../kustomize/base/resources/deployment.yaml | 43 ++++++------------- 1 file changed, 14 insertions(+), 29 deletions(-) diff --git a/config/kustomize/base/resources/deployment.yaml b/config/kustomize/base/resources/deployment.yaml index 5afe30d..e9ecffb 100644 --- a/config/kustomize/base/resources/deployment.yaml +++ b/config/kustomize/base/resources/deployment.yaml @@ -13,42 +13,27 @@ spec: labels: app: keycloak spec: - securityContext: - runAsUser: 2000 - runAsNonRoot: true - seccompProfile: - type: RuntimeDefault containers: - - image: bitnami/postgresql:latest - name: psqldebug - command: - - sleep - args: - - '3600' - image: staged-harbor-01.smardigo.digital/smardigo/keycloak:14.0.0.1 imagePullPolicy: IfNotPresent - securityContext: - allowPrivilegeEscalation: false - capabilities: - drop: ["ALL"] ports: - name: app-port containerPort: 8080 - #startupProbe: - # httpGet: - # path: / - # port: app-port - # failureThreshold: 30 - # periodSeconds: 10 - #livenessProbe: - # httpGet: - # path: / - # port: app-port - #readinessProbe: - # httpGet: - # path: / - # port: app-port + startupProbe: + httpGet: + path: / + port: app-port + failureThreshold: 30 + periodSeconds: 10 + livenessProbe: + httpGet: + path: / + port: app-port + readinessProbe: + httpGet: + path: / + port: app-port name: keycloak env: - name: KEYCLOAK_USER