diff --git a/governance / nginx-compliance.yaml b/governance / nginx-compliance.yaml new file mode 100644 index 0000000..82ced46 --- /dev/null +++ b/governance / nginx-compliance.yaml @@ -0,0 +1,22 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: nginx-app + namespace: argocd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + project: default + source: + repoURL: '[https://gitea.cruzcloud.net/devops/apps-registry.git](https://gitea.cruzcloud.net/devops/apps-registry.git)' + path: apps/nginx + targetRevision: HEAD + destination: + server: '[https://kubernetes.default.svc](https://kubernetes.default.svc)' + namespace: nginx-web + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true \ No newline at end of file