Deploy KeyCape-backed portal login edge
This commit is contained in:
parent
eac9d655b0
commit
9a486c3531
5 changed files with 145 additions and 2 deletions
|
|
@ -45,7 +45,7 @@ spec:
|
|||
seccompProfile: {type: RuntimeDefault}
|
||||
containers:
|
||||
- name: portal
|
||||
image: user-engine:portal-c27012a
|
||||
image: user-engine:portal-268b315
|
||||
imagePullPolicy: Never
|
||||
ports: [{name: http, containerPort: 8080}]
|
||||
env:
|
||||
|
|
@ -58,6 +58,9 @@ spec:
|
|||
- {name: USER_ENGINE_LOGIN_URL, value: "https://kc.coulomb.social/"}
|
||||
- {name: USER_ENGINE_OIDC_ISSUER, value: "https://kc.coulomb.social"}
|
||||
- {name: USER_ENGINE_OIDC_AUDIENCE, value: user-engine-portal}
|
||||
- {name: USER_ENGINE_OIDC_CLIENT_ID, value: user-engine-portal}
|
||||
- {name: USER_ENGINE_OIDC_REDIRECT_URI, value: "https://users.92-205-62-239.nip.io/oidc/callback"}
|
||||
- {name: USER_ENGINE_OIDC_BACKEND_URL, value: "http://keycape.sso.svc.cluster.local:8080"}
|
||||
- {name: USER_ENGINE_PUBLIC_REGISTRATION, value: "false"}
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
|
|
@ -108,6 +111,12 @@ spec:
|
|||
- podSelector:
|
||||
matchLabels: {cnpg.io/cluster: user-engine-pg}
|
||||
ports: [{protocol: TCP, port: 5432}]
|
||||
- to:
|
||||
- namespaceSelector:
|
||||
matchLabels: {kubernetes.io/metadata.name: sso}
|
||||
podSelector:
|
||||
matchLabels: {app.kubernetes.io/name: keycape}
|
||||
ports: [{protocol: TCP, port: 8080}]
|
||||
- to:
|
||||
- namespaceSelector:
|
||||
matchLabels: {kubernetes.io/metadata.name: kube-system}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue