-
Notifications
You must be signed in to change notification settings - Fork 361
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #585 from SujithKasireddy/helm
helm chart for KubeArmor
- Loading branch information
Showing
11 changed files
with
1,688 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} | ||
|
||
|
Oops, something went wrong.