Skip to content

Commit

Permalink
add 4 resources to read-only role (#215)
Browse files Browse the repository at this point in the history
  • Loading branch information
pns-nirmata authored Jan 10, 2024
1 parent 0fc978a commit dd8f8a4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/cluster-registrator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.6
version: 0.1.7

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 1 addition & 1 deletion charts/cluster-registrator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ kubectl logs job/nirmata-cluster-registrator -n nirmata -f
| proxy.httpsProxy | string | `""` |No|HTTPS_PROXY required for connecting to clusters with Proxy |
| proxy.noProxy | string | `""` | No|NO_PROXY required for connecting to clusters with Proxy |
| tlsCert | string | `""` | No|TLS CERT to use for tunnel service connection |
| controllerPerms | string | `read-write` | No| Whether registrator should install kube-controller with read-only or read-write permissions (for NPM) and read-write-ndp permissions (for NDP). Used as an additional gate to avoid providing privileges unintentionally. |
| controllerPerms | string | `read-write` | No| Whether registrator should install kube-controller with `read-write` or `read-only` permissions (for NPM) and `read-write-ndp` permissions (for NDP). Used as an additional gate to avoid providing privileges unintentionally. |


## Maintainers
Expand Down
4 changes: 4 additions & 0 deletions charts/cluster-registrator/templates/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,10 @@ rules:
- podsecuritypolicies
- persistentvolumes
- replicasets
- cronjobs
- daemonsets
- jobs
- statefulsets
verbs:
- list
- get
Expand Down

0 comments on commit dd8f8a4

Please sign in to comment.