Skip to content

Commit

Permalink
If SA other than 'default' is needed, it should be created manually
Browse files Browse the repository at this point in the history
  • Loading branch information
becitsthere committed Dec 8, 2020
1 parent a0c4f1d commit 4ff8f34
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ $ helm search neuvector/core
$ kubectl create namespace neuvector
```

- Create a new service account **if** you don't want to use the 'default'. Specify the service account name in charts' values.yaml file.
```console
$ kubectl create serviceaccount neuvector -n neuvector
```

- Configure Kubernetes to pull from the private NeuVector registry on Docker Hub.
```console
$ kubectl create secret docker-registry regsecret -n neuvector --docker-server=https://index.docker.io/v1/ --docker-username=your-name --docker-password=your-pword --docker-email=your-email
Expand All @@ -38,7 +43,12 @@ $ helm install --name my-release --namespace neuvector neuvector/core --set ima
$ oc new-project neuvector
```

- Grant Service Account Access to the Privileged SCC. Please replace the service account name that you plan to use. You can specify the service account to manage NeuVector deployment in values.yaml.
- Create a new service account **if** you don't want to use the 'default'. Specify the service account name in charts' values.yaml file.
```console
$ oc create serviceaccount neuvector -n neuvector
```

- Grant Service Account Access to the Privileged SCC. Please replace the service account name that you plan to use.
```console
$ oc -n neuvector adm policy add-scc-to-user privileged -z default
```
Expand Down
2 changes: 1 addition & 1 deletion charts/core/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: core
apiVersion: v1
version: 1.6.5
version: 1.6.6
appVersion: 4.0.0
description: Helm chart for NeuVector's core services
home: https://neuvector.com
Expand Down
5 changes: 0 additions & 5 deletions charts/core/templates/serviceaccount.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion charts/crd/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: crd
apiVersion: v1
version: 1.6.3
version: 1.6.4
appVersion: 4.0.0
description: Helm chart for NeuVector's CRD services
home: https://neuvector.com
Expand Down
5 changes: 0 additions & 5 deletions charts/crd/templates/serviceaccount.yaml

This file was deleted.

0 comments on commit 4ff8f34

Please sign in to comment.