Browse Source

add patchesstrategicmerge for prod

pull/79/head
Megha Mehta 4 years ago
parent
commit
bcb02be74d
  1. 14
      kustomize-guestbook/overlays/prod/ingress.yaml
  2. 2
      kustomize-guestbook/overlays/prod/kustomization.yaml

14
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: /

2
kustomize-guestbook/overlays/prod/kustomization.yaml

@ -1,3 +1,5 @@
bases: bases:
- ../../base - ../../base
namePrefix: prod- namePrefix: prod-
patchesStrategicMerge:
- ingress.yaml
Loading…
Cancel
Save