Browse Source

add argocd for dev

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

16
kustomize-guestbook/overlays/dev/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: 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/dev/kustomization.yaml

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