From 6f66eda86d1247e54f51ae9148c8fdc9424b08c9 Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Mon, 2 Dec 2024 18:14:30 +0100 Subject: [PATCH] Kustomize deployment for portal --- portal/overlays/prod/kustomization.yaml | 1 + portal/overlays/prod/portal-deployment.yml | 27 ++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 portal/overlays/prod/portal-deployment.yml diff --git a/portal/overlays/prod/kustomization.yaml b/portal/overlays/prod/kustomization.yaml index e24d657..9113138 100644 --- a/portal/overlays/prod/kustomization.yaml +++ b/portal/overlays/prod/kustomization.yaml @@ -4,3 +4,4 @@ resources: - ../../base patches: - path: portal-ingress.yml +- path: portal-deployment.yml diff --git a/portal/overlays/prod/portal-deployment.yml b/portal/overlays/prod/portal-deployment.yml new file mode 100644 index 0000000..4b15e3a --- /dev/null +++ b/portal/overlays/prod/portal-deployment.yml @@ -0,0 +1,27 @@ +--- +kind: Deployment +apiVersion: apps/v1 +metadata: + name: portal-node + namespace: portal + creationTimestamp: + labels: + app: portal-node +spec: + replicas: 3 + selector: + matchLabels: + app: portal-node + template: + metadata: + creationTimestamp: + labels: + app: portal-node + spec: + containers: + - name: portal + env: + - name: DRIVE_DOMAIN + value: "drive.sunet.se" + strategy: {} +status: {}