diff --git a/kustomize/overlays/vlfk-no/api/config-map.yaml b/kustomize/overlays/vlfk-no/api/config-map.yaml new file mode 100644 index 0000000..8bf638a --- /dev/null +++ b/kustomize/overlays/vlfk-no/api/config-map.yaml @@ -0,0 +1,8 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: fint-flyt-configuration-service +data: + fint.org-id: 'vlfk.no' + fint.flyt.resource-server.security.api.internal.authorized-org-ids: 'vlfk.no, vigo.no' + spring.webflux.base-path: 'vlfk-no' \ No newline at end of file diff --git a/kustomize/overlays/vlfk-no/api/kustomization.yaml b/kustomize/overlays/vlfk-no/api/kustomization.yaml new file mode 100644 index 0000000..bf45f1f --- /dev/null +++ b/kustomize/overlays/vlfk-no/api/kustomization.yaml @@ -0,0 +1,31 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +namespace: vlfk-no +resources: + - ../../../base +patchesStrategicMerge: + - config-map.yaml +commonLabels: + app.kubernetes.io/name: fint-flyt-configuration-service + app.kubernetes.io/instance: fint-flyt-configuration-service_vlfk-no + app.kubernetes.io/version: latest + app.kubernetes.io/component: backend + app.kubernetes.io/part-of: fint-flyt + fintlabs.no/team: flyt + fintlabs.no/org-id: vlfk.no +patches: + - patch: |- + - op: replace + path: "/spec/routes/0/match" + value: "Host(`flyt.vigoiks.no`) && PathPrefix(`/vlfk-no/api/intern/konfigurasjoner`)" + target: + kind: IngressRoute + name: fint-flyt-configuration-service + - patch: |- + - op: replace + path: "/spec/acls/0/topic" + value: "vlfk-no.flyt.*" + target: + kind: KafkaUserAndAcl + name: fint-flyt-configuration-service +