Skip to content

Commit 42f7b6e

Browse files
committed
Fix Cluster Role, pathing in script, and README instructions
1 parent 4b2b3aa commit 42f7b6e

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -111,19 +111,19 @@ There is a much more detailed [Installation Reference](docs/README.md) available
111111

112112
2. Apply the Namespace
113113

114-
```kubectl apply -f deployments/namespace.yaml```
114+
```kubectl apply -f deployments/deployment/namespace.yaml```
115115

116116
3. Apply the RBAC resources
117117

118118
```./deployments/rbac/apply.sh```
119119

120120
4. Update / Apply the ConfigMap (For best results update the `nginx-hosts` values first)
121121

122-
```kubectl apply -f deployments/configmap.yaml```
122+
```kubectl apply -f deployments/deployment/configmap.yaml```
123123

124124
5. Apply the Deployment
125125

126-
```kubectl apply -f deployments/deployment.yaml```
126+
```kubectl apply -f deployments/deployment/deployment.yaml```
127127

128128
6. Check the logs
129129

deployments/rbac/apply.sh

+4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
#!/bin/bash
22

3+
pushd "$(dirname "$0")"
4+
35
echo "Applying all RBAC resources..."
46

57
kubectl apply -f serviceaccount.yaml
68
kubectl apply -f clusterrole.yaml
79
kubectl apply -f clusterrolebinding.yaml
810
kubectl apply -f secret.yaml
11+
12+
popd

deployments/rbac/clusterrole.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: rbac.authorization.k8s.io/v1
22
kind: ClusterRole
33
metadata:
4-
name: ingress-resource-get-watch-list
4+
name: resource-get-watch-list
55
namespace: nlk
66
rules:
77
- apiGroups:

0 commit comments

Comments
 (0)