Skip to content

Fix Cluster Role, pathing in script, and README instructions #94

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,19 +111,19 @@ There is a much more detailed [Installation Reference](docs/README.md) available

2. Apply the Namespace

```kubectl apply -f deployments/namespace.yaml```
```kubectl apply -f deployments/deployment/namespace.yaml```

3. Apply the RBAC resources

```./deployments/rbac/apply.sh```

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

```kubectl apply -f deployments/configmap.yaml```
```kubectl apply -f deployments/deployment/configmap.yaml```

5. Apply the Deployment

```kubectl apply -f deployments/deployment.yaml```
```kubectl apply -f deployments/deployment/deployment.yaml```

6. Check the logs

Expand Down
4 changes: 4 additions & 0 deletions deployments/rbac/apply.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
#!/bin/bash

pushd "$(dirname "$0")"

echo "Applying all RBAC resources..."

kubectl apply -f serviceaccount.yaml
kubectl apply -f clusterrole.yaml
kubectl apply -f clusterrolebinding.yaml
kubectl apply -f secret.yaml

popd
2 changes: 1 addition & 1 deletion deployments/rbac/clusterrole.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: ingress-resource-get-watch-list
name: resource-get-watch-list
namespace: nlk
rules:
- apiGroups:
Expand Down