Commit 04be9412 authored by Revant Nandgaonkar's avatar Revant Nandgaonkar

docs: Update kubernetes docs

Update docs to create namespace
link correct files

correction in k8 namespace creation
parent a286e16e
......@@ -3,7 +3,9 @@
reference : https://jeremievallee.com/2018/05/28/kubernetes-rbac-namespace-user.html
```sh
kubectl create -f https://gitlab.com/castlecraft/building-blocks/raw/develop/helm-charts/deploy/create-namespace-for-access/example-access.yaml
wget -c https://gitlab.com/castlecraft/building-blocks/raw/develop/kubernetes/deploy/create-namespace-for-access/example-access.yaml
mv example-access.yaml <namespace>-access.yaml # change to your settings
kubectl create -f <namespace>-access.yaml # use changed file
```
### Get secrets
......
......@@ -17,7 +17,7 @@ metadata:
name: example-user-full-access
namespace: example
rules:
- apiGroups: ["", "extensions", "apps", "networking.k8s.io", "rbac.authorization.k8s.io"]
- apiGroups: ["", "extensions", "apps", "networking.k8s.io", "rbac.authorization.k8s.io", "policy"]
resources: ["*"]
verbs: ["*"]
- apiGroups: ["batch"]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment