Integrating with Argo CD
Install the Kubescape helm chart with Argo CD
Use Argo CD to install the Kubescape helm chart in your cluster.
Create the following YAML file and deploy it with Argo CD. Add your accountID
and accessKey
from ARMO Platform and the clusterName
.
apiVersion: argoproj.io/v1alpha1
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: server
value: api.armosec.io
- name: clusterName
value: '' # add cluster name
- name: account
value: '' # add account ID
- name: accessKey
value: '' # add access key
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
Updated 17 days ago