From 1b86a5bccc1d240de93eabd2cf7ce52f4a19b114 Mon Sep 17 00:00:00 2001 From: Egil Ballestad Date: Wed, 30 Aug 2023 12:07:01 +0200 Subject: [PATCH] add innlandetfylke to beta --- .github/workflows/CD.yaml | 3 ++ .github/workflows/MD.yaml | 2 ++ .../alpha/kustomization.yaml | 31 ++++++++++++++++++ .../innlandetfylke-no/api/kustomization.yaml | 31 ++++++++++++++++++ .../innlandetfylke-no/beta/kustomization.yaml | 32 +++++++++++++++++++ 5 files changed, 99 insertions(+) create mode 100644 kustomize/overlays/innlandetfylke-no/alpha/kustomization.yaml create mode 100644 kustomize/overlays/innlandetfylke-no/api/kustomization.yaml create mode 100644 kustomize/overlays/innlandetfylke-no/beta/kustomization.yaml diff --git a/.github/workflows/CD.yaml b/.github/workflows/CD.yaml index d4be4b8..542e382 100644 --- a/.github/workflows/CD.yaml +++ b/.github/workflows/CD.yaml @@ -56,6 +56,9 @@ jobs: - org: fintlabs-no cluster: aks-beta-fint-2021-11-23 + - org: innlandetfylke-no + cluster: aks-beta-fint-2021-11-23 + - org: viken-no cluster: aks-api-fint-2022-02-08 - org: viken-no diff --git a/.github/workflows/MD.yaml b/.github/workflows/MD.yaml index 4fccae7..d222656 100644 --- a/.github/workflows/MD.yaml +++ b/.github/workflows/MD.yaml @@ -18,6 +18,8 @@ on: default: 'warning' type: choice options: + - fintlabs-no + - innlandetfylke-no - viken-no - vlfk-no - trondelagfylke-no diff --git a/kustomize/overlays/innlandetfylke-no/alpha/kustomization.yaml b/kustomize/overlays/innlandetfylke-no/alpha/kustomization.yaml new file mode 100644 index 0000000..c5d1a67 --- /dev/null +++ b/kustomize/overlays/innlandetfylke-no/alpha/kustomization.yaml @@ -0,0 +1,31 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +namespace: innlandetfylke-no + +resources: + - ../../../base + +commonLabels: + app.kubernetes.io/instance: fint-flyt-data-service_innlandetfylke_no + fintlabs.no/org-id: innlandetfylke.no + +patches: + - patch: |- + - op: replace + path: "/spec/kafka/acls/0/topic" + value: "innlandetfylke-no.flyt.*" + - op: replace + path: "/spec/orgId" + value: "innlandetfylke.no" + - op: replace + path: "/spec/url/basePath" + value: "/alpha/innlandetfylke-no" + - op: replace + path: "/spec/ingress/basePath" + value: "/alpha/innlandetfylke-no/api/intern/arkiv" + - op: replace + path: "/spec/env/1/value" + value: "innlandetfylke.no, vigo.no" + target: + kind: Application + name: fint-flyt-data-service diff --git a/kustomize/overlays/innlandetfylke-no/api/kustomization.yaml b/kustomize/overlays/innlandetfylke-no/api/kustomization.yaml new file mode 100644 index 0000000..fe986c5 --- /dev/null +++ b/kustomize/overlays/innlandetfylke-no/api/kustomization.yaml @@ -0,0 +1,31 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +namespace: innlandetfylke-no + +resources: + - ../../../base + +commonLabels: + app.kubernetes.io/instance: fint-flyt-data-service_innlandetfylke_no + fintlabs.no/org-id: innlandetfylke.no + +patches: + - patch: |- + - op: replace + path: "/spec/kafka/acls/0/topic" + value: "innlandetfylke-no.flyt.*" + - op: replace + path: "/spec/orgId" + value: "innlandetfylke.no" + - op: replace + path: "/spec/url/basePath" + value: "/innlandetfylke-no" + - op: replace + path: "/spec/ingress/basePath" + value: "/innlandetfylke-no/api/intern/arkiv" + - op: replace + path: "/spec/env/1/value" + value: "innlandetfylke.no, vigo.no" + target: + kind: Application + name: fint-flyt-data-service \ No newline at end of file diff --git a/kustomize/overlays/innlandetfylke-no/beta/kustomization.yaml b/kustomize/overlays/innlandetfylke-no/beta/kustomization.yaml new file mode 100644 index 0000000..0002578 --- /dev/null +++ b/kustomize/overlays/innlandetfylke-no/beta/kustomization.yaml @@ -0,0 +1,32 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +namespace: innlandetfylke-no + +resources: + - ../../../base + +commonLabels: + app.kubernetes.io/instance: fint-flyt-data-service_innlandetfylke_no + fintlabs.no/org-id: innlandetfylke.no + +patches: + - patch: |- + - op: replace + path: "/spec/kafka/acls/0/topic" + value: "innlandetfylke-no.flyt.*" + - op: replace + path: "/spec/orgId" + value: "innlandetfylke.no" + - op: replace + path: "/spec/url/basePath" + value: "/beta/innlandetfylke-no" + - op: replace + path: "/spec/ingress/basePath" + value: "/beta/innlandetfylke-no/api/intern/arkiv" + - op: replace + path: "/spec/env/1/value" + value: "innlandetfylke.no, vigo.no" + target: + kind: Application + name: fint-flyt-data-service +