agrego keycloak
This commit is contained in:
19
infra/auth_pod.yaml
Normal file
19
infra/auth_pod.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: keycloak-pod
|
||||
labels:
|
||||
app: keycloak
|
||||
spec:
|
||||
containers:
|
||||
- name: keycloak
|
||||
image: quay.io/keycloak/keycloak:latest
|
||||
command: ["/opt/keycloak/bin/kc.sh", "start-dev","--verbose"]
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
hostPort: 8083
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: ciec-config
|
||||
imagePullPolicy: IfNotPresent
|
||||
12
infra/db_service.yaml
Normal file
12
infra/db_service.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: postgres-db
|
||||
spec:
|
||||
selector:
|
||||
app: ciec_stack
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 5432
|
||||
targetPort: 5432
|
||||
Reference in New Issue
Block a user