diff --git a/infra/auth_pod.yaml b/infra/auth_pod.yaml new file mode 100644 index 0000000..8408e2a --- /dev/null +++ b/infra/auth_pod.yaml @@ -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 diff --git a/infra/db_service.yaml b/infra/db_service.yaml new file mode 100644 index 0000000..6bec2d0 --- /dev/null +++ b/infra/db_service.yaml @@ -0,0 +1,12 @@ +--- +apiVersion: v1 +kind: Service +metadata: + name: postgres-db +spec: + selector: + app: ciec_stack + ports: + - protocol: TCP + port: 5432 + targetPort: 5432