Browse Source

add argocd for prod

pull/79/head
Megha Mehta 4 years ago
parent
commit
6b88e2df47
  1. 16
      kustomize-guestbook/overlays/prod/argo-app.yaml
  2. 3
      kustomize-guestbook/overlays/prod/kustomization.yaml

16
kustomize-guestbook/overlays/prod/argo-app.yaml

@ -0,0 +1,16 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: guestbook
namespace: argocd
# finalizers:
# - resources-finalizer.argocd.argoproj.io
spec:
destination:
namespace: prod-kustomize-guestbook
server: https://kubernetes.default.svc
project: default
source:
path: kustomize-guestbook/overlays/dev
repoURL: https://github.com/radtac-craft/argocd-example-apps.git
targetRevision: HEAD

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

@ -2,4 +2,5 @@ bases:
- ../../base
namePrefix: prod-
patchesStrategicMerge:
- ingress.yaml
- ingress.yaml
- argo-app.yaml
Loading…
Cancel
Save