kyverno: break out the two apps in seperate files
Signed-off-by: Boris 'B' Kurktchiev <kurktchiev@gmail.com>
This commit is contained in:
parent
0eba4f34a4
commit
8e92bb409e
2 changed files with 26 additions and 28 deletions
|
|
@ -0,0 +1,26 @@
|
|||
kind: Application
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
metadata:
|
||||
name: kyverno-pss-policies-enforce-exceptions
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: cnoe://exceptions
|
||||
targetRevision: HEAD
|
||||
path: "."
|
||||
directory:
|
||||
recurse: true
|
||||
destination:
|
||||
server: "https://kubernetes.default.svc"
|
||||
syncPolicy:
|
||||
syncOptions:
|
||||
- Replace=true
|
||||
automated:
|
||||
selfHeal: true
|
||||
retry:
|
||||
limit: 30
|
||||
backoff:
|
||||
duration: 5s
|
||||
factor: 2
|
||||
maxDuration: 3m0s
|
||||
|
|
@ -1,4 +1,3 @@
|
|||
---
|
||||
kind: Application
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
metadata:
|
||||
|
|
@ -32,30 +31,3 @@ spec:
|
|||
duration: 5s
|
||||
factor: 2
|
||||
maxDuration: 3m0s
|
||||
---
|
||||
kind: Application
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
metadata:
|
||||
name: kyverno-pss-policies-enforce-exceptions
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: cnoe://exceptions
|
||||
targetRevision: HEAD
|
||||
path: "."
|
||||
directory:
|
||||
recurse: true
|
||||
destination:
|
||||
server: "https://kubernetes.default.svc"
|
||||
syncPolicy:
|
||||
syncOptions:
|
||||
- Replace=true
|
||||
automated:
|
||||
selfHeal: true
|
||||
retry:
|
||||
limit: 30
|
||||
backoff:
|
||||
duration: 5s
|
||||
factor: 2
|
||||
maxDuration: 3m0s
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue