new-go-app/argocd-app.yaml
Scaffolder 985fffcb8b initial commit
Change-Id: I3b5927ebd95850e39277c110434ca77965cb953f
2026-05-20 16:57:56 +00:00

29 lines
589 B
YAML

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: new-go-app
namespace: openshift-gitops
labels:
category: app
spec:
project: default
source:
repoURL:
targetRevision: master
path: deploy
destination:
server: https://kubernetes.default.svc
namespace: new-go-app
ignoreDifferences:
- group: apps
kind: Deployment
jsonPointers:
- /spec/template/spec/containers/0/image
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
- ServerSideApply=true