Skip to content
This repository has been archived by the owner on Feb 24, 2023. It is now read-only.

Check ClusterRole resources in cluster in configuration phase #10

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ToxicWar
Copy link
Collaborator

I think this check will not only check if ClusterRole resources exist but also will check cluster connectivity too.
So, we can use this PR instead of the previous with "get nodes" logic.

Checking specific permissions may be on top of this (to create SA and RoleBinding resources).

Error writing data to k8s/config: Error making API request.

URL: PUT http://127.0.0.1:8200/v1/k8s/config
Code: 500. Errors:

* 1 error occurred:
	* Error: clusterroles.rbac.authorization.k8s.io "editor_role2" not found
Error writing data to k8s/config: Error making API request.

URL: PUT http://127.0.0.1:8200/v1/k8s/config
Code: 500. Errors:

* 1 error occurred:
	* Error: Unauthorized

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant