diff --git a/.github/workflows/node-api-preview.yaml b/.github/workflows/node-api-preview.yaml index 7d5a129..f6f42c3 100644 --- a/.github/workflows/node-api-preview.yaml +++ b/.github/workflows/node-api-preview.yaml @@ -125,6 +125,7 @@ jobs: git add "previews/node-api/pr-${{ github.event.pull_request.number }}.yaml" + ### Prevents duplicate commits if git diff --cached --quiet; then echo "No preview changes to commit" exit 0 diff --git a/apps/kyverno.yaml b/apps/kyverno.yaml new file mode 100644 index 0000000..c614a99 --- /dev/null +++ b/apps/kyverno.yaml @@ -0,0 +1,21 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: kyverno + namespace: argo-cd +spec: + project: default + source: + repoURL: https://kyverno.github.io/kyverno/ + targetRevision: 3.8.1 + chart: kyverno + destination: + server: https://kubernetes.default.svc + namespace: kyverno + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true +