|
|
|
|
@ -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
|
|
|
|
|
|