-
Notifications
You must be signed in to change notification settings - Fork 6
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
Namespace not automatically being created. #38
Comments
I updated to use the most recent commit rather than 0.5.0, and I'm still getting the same result
However, I'm also getting an error concerning using the --api-key command line option. |
I reverted back to 0.5.0 and created the namespace manually, and after that it seems to have solved the problem. But if the namespaces are meant to be created automatically, then this seems to be broken. |
I think I understand. It doesn't automatically make namespaces that exist in 'namespaces_dir' It will create namespaces that exist in the 'namspaces_file' as a separate control. Take a look at this CI test for an example: sensu-flow/.github/workflows/ci.yml Line 96 in 79d5bdc
In this CI test the namespace resources included in |
In my case, the namespace was defined in I had just followed the steps listed on the |
If your able to find a reproducer I can add it as a CI test. But as of right now I'm not sure how to help. There is a CI test in github actions that covers this. Best guess is your using a sensu user that does not have RBAC access to create namespace resources. |
I tried to follow the instructions listed in the README, but when the action is run I get this output
It seems like I need to perhaps create the namespace manually beforehand? Although it doesn't seem that way according to the README.
edit: Currently using 0.5.0
The text was updated successfully, but these errors were encountered: