-
Notifications
You must be signed in to change notification settings - Fork 41
/
ArgoCDApplication.yaml
45 lines (45 loc) · 1.16 KB
/
ArgoCDApplication.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
apiVersion: argoproj.io/v2.12.0-rc3
kind: Application
metadata:
name: kubescape
namespace: argocd # change to the argocd namespace
spec:
destination:
name: ''
namespace: kubescape
server: 'https://kubernetes.default.svc' # change to your server
source:
path: charts/kubescape-operator
repoURL: 'https://github.com/kubescape/helm-charts'
targetRevision: HEAD
helm:
valueFiles:
- values.yaml
parameters:
- name: clusterName
value: '' # add cluster name
required: true
type: string
# Add adaptor server and account
# - name: account
# value: '' # add account ID
# - name: accessKey
# value: '' # add accessKey
# - name: server
# value: '' # add Kubescape-compatible backend service URL
project: default
syncPolicy:
syncOptions:
- CreateNamespace=true
- RespectIgnoreDifferences=true
automated:
prune: false
selfHeal: true
ignoreDifferences:
- group: core
kind: ConfigMap
name: ks-cloud-config
namespace: kubescape
jsonPointers:
- /data
- /metadata