Skip to content

Commit

Permalink
Merge pull request #585 from SujithKasireddy/helm
Browse files Browse the repository at this point in the history
helm chart for KubeArmor
  • Loading branch information
nyrahul authored Feb 10, 2022
2 parents 0bb375d + 71ca30f commit e6d771a
Show file tree
Hide file tree
Showing 11 changed files with 1,688 additions and 0 deletions.
6 changes: 6 additions & 0 deletions deployments/helm/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: v2
appVersion: 1.16.0
description: A Helm chart for Kubearmor on Kubernetes
name: kubearmor
type: application
version: 0.1.0
21 changes: 21 additions & 0 deletions deployments/helm/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
## Install KubeArmor using helm
* Install kubearmor via helm, enable/disable kuberarmor relay by specifying either true or false.
* Specify the namespace.
* Specify environment depends on your environment like { docker, microk8s, minikube, k3s and generic (GKE, EKS)} by default it is generic.

```
helm upgrade --install kubearmor . \
--set kubearmorrelay.enabled=true \
--set environment.name=<environment> \
--set namespace.name=<namespace>
```
Check if all the pods are up and running.
```
kubectl get all -n <namespace>
```

## To uninstall KubeArmor using helm
```
helm uninstall kubearmor
```
15 changes: 15 additions & 0 deletions deployments/helm/templates/clusterrolebinding.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: kubearmor
namespace: {{ .Values.namespace.name }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-admin
subjects:
- kind: ServiceAccount
name: kubearmor
namespace: {{ .Values.namespace.name }}


Loading

0 comments on commit e6d771a

Please # to comment.