29 lines
589 B
YAML
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
|