Browse Source

Move semacust back to prod env and update version.

master
Antun Franjin 4 years ago
parent
commit
b21ef1ebb1
  1. 19
      02_hetzner/01_prod/semcust/deployment.yaml

19
02_hetzner/01_prod/semcust/deployment.yaml

@ -3,7 +3,7 @@ apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: semcust-deployment name: semcust-deployment
namespace: baseline-environment namespace: prod-environment
labels: labels:
app: semcust-prod app: semcust-prod
spec: spec:
@ -20,7 +20,7 @@ spec:
spec: spec:
containers: containers:
- name: semcust-frontend - name: semcust-frontend
image: packages.semapp.lan:5000/semcust_frontend:1.3.4 image: packages.semapp.lan:5000/semcust_frontend:1.3.7
resources: resources:
requests: requests:
memory: "256Mi" memory: "256Mi"
@ -38,7 +38,7 @@ spec:
name: nginx-conf name: nginx-conf
imagePullPolicy: Always imagePullPolicy: Always
- name: semcust-backend - name: semcust-backend
image: packages.semapp.lan:5000/semcust_backend:1.3.4 image: packages.semapp.lan:5000/semcust_backend:1.3.7
resources: resources:
requests: requests:
memory: "256Mi" memory: "256Mi"
@ -63,7 +63,7 @@ spec:
apiVersion: v1 apiVersion: v1
kind: ConfigMap kind: ConfigMap
metadata: metadata:
namespace: baseline-environment namespace: prod-environment
name: semcust-prod-config name: semcust-prod-config
labels: labels:
app: semcust-prod app: semcust-prod
@ -95,8 +95,7 @@ data:
# BASELINE NEDDED VARIABLES (this will be need changed then keyclak will be on internet) # BASELINE NEDDED VARIABLES (this will be need changed then keyclak will be on internet)
BASELINE_KEY: "AESNEwfqJVwaI4aLwyVl7kzTqdmWeQQq9hCpLRGahYI=" BASELINE_KEY: "AESNEwfqJVwaI4aLwyVl7kzTqdmWeQQq9hCpLRGahYI="
BASE_KEYCLOAK_URL: "http://kc.k8s.semprod.local/" BASE_KEYCLOAK_URL: "http://kc.k8s.semprod.local"
PROXY_KEYCLOAK_URL: "https://kc.semapp.de/"
BASELINE_KEYCLOAK_CLIENT_ID: "baseline_prod" BASELINE_KEYCLOAK_CLIENT_ID: "baseline_prod"
BASELINE_KEYCLOAK_REALM: "baseline" BASELINE_KEYCLOAK_REALM: "baseline"
@ -111,7 +110,7 @@ data:
apiVersion: v1 apiVersion: v1
kind: ConfigMap kind: ConfigMap
metadata: metadata:
namespace: baseline-environment namespace: prod-environment
name: semcust-nginx-conf name: semcust-nginx-conf
data: data:
default.conf: | default.conf: |
@ -262,7 +261,7 @@ apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: semcust-frontend-prod name: semcust-frontend-prod
namespace: baseline-environment namespace: prod-environment
spec: spec:
selector: selector:
app: semcust-prod app: semcust-prod
@ -278,7 +277,7 @@ apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: semcust-backend-prod name: semcust-backend-prod
namespace: baseline-environment namespace: prod-environment
spec: spec:
selector: selector:
app: semcust-prod app: semcust-prod
@ -294,7 +293,7 @@ apiVersion: networking.k8s.io/v1
kind: Ingress kind: Ingress
metadata: metadata:
name: semcust-prod-ingress name: semcust-prod-ingress
namespace: baseline-environment namespace: prod-environment
annotations: annotations:
kubernetes.io/ingress.class: "traefik" kubernetes.io/ingress.class: "traefik"
spec: spec:

Loading…
Cancel
Save