From bcb02be74d6b0594420a784532cd5ad268ba0424 Mon Sep 17 00:00:00 2001 From: Megha Mehta <76773785+mm2020-ind@users.noreply.github.com> Date: Tue, 2 Mar 2021 17:15:58 +0530 Subject: [PATCH] add patchesstrategicmerge for prod --- kustomize-guestbook/overlays/prod/ingress.yaml | 14 ++++++++++++++ .../overlays/prod/kustomization.yaml | 2 ++ 2 files changed, 16 insertions(+) create mode 100644 kustomize-guestbook/overlays/prod/ingress.yaml diff --git a/kustomize-guestbook/overlays/prod/ingress.yaml b/kustomize-guestbook/overlays/prod/ingress.yaml new file mode 100644 index 0000000..1acf8a5 --- /dev/null +++ b/kustomize-guestbook/overlays/prod/ingress.yaml @@ -0,0 +1,14 @@ +apiVersion: extensions/v1beta1 +kind: Ingress +metadata: + name: kustomize-guestbook-ingress + namespace: +spec: + rules: + - host: kustomize-guestbook-argocd.natwest-labs.com + http: + paths: + - backend: + serviceName: guestbook-ui + servicePort: 80 + path: / \ No newline at end of file diff --git a/kustomize-guestbook/overlays/prod/kustomization.yaml b/kustomize-guestbook/overlays/prod/kustomization.yaml index f511d3f..a9f1d8b 100644 --- a/kustomize-guestbook/overlays/prod/kustomization.yaml +++ b/kustomize-guestbook/overlays/prod/kustomization.yaml @@ -1,3 +1,5 @@ bases: - ../../base namePrefix: prod- +patchesStrategicMerge: +- ingress.yaml \ No newline at end of file