Megha Mehta
4 years ago
10 changed files with 63 additions and 12 deletions
@ -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 |
|||
repoURL: https://github.com/radtac-craft/argocd-example-apps.git |
|||
targetRevision: HEAD |
@ -1,8 +1,10 @@ |
|||
apiVersion: kustomize.config.k8s.io/v1beta1 |
|||
kind: Kustomization |
|||
|
|||
namePrefix: kustomize- |
|||
|
|||
resources: |
|||
- guestbook-ui-deployment.yaml |
|||
- guestbook-ui-svc.yaml |
|||
- ingress.yaml |
|||
apiVersion: kustomize.config.k8s.io/v1beta1 |
|||
kind: Kustomization |
|||
- 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: dev-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 |
@ -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/prod |
|||
repoURL: https://github.com/radtac-craft/argocd-example-apps.git |
|||
targetRevision: HEAD |
Loading…
Reference in new issue