Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Make it clearer that the namespaces file  needs to be populated with Sensu namespaces resources.
  • Loading branch information
Jef Spaleta authored Jan 29, 2021
1 parent 82ca58a commit a028020
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ This action uses a special directory structure, mapping subdirectory names to Se
Using this example, this action would process the `test-namespace`, pruning the namespace resources according to `matching_label`, `matching_condition`, and `managed_resources`settings

### Optionally Preparing namespaces
If the namespaces file (default: `.sensu/cluster/namespaces.yaml`) exists then this action will be used to create sensu namespaces before attempting to process the namespaces directory.
If the namespaces file (default: `.sensu/cluster/namespaces.yaml`) exists and is populated with Sensu namespace resource definitions then this action will be used to create the Sensu namespace resources defined in the file before attempting to process the namespaces directory.

Note: Namespaces are a cluster level resource, so in order to use the namespaces creation capability the sensu user will need cluser level role based access to create namespaces.

Expand Down

0 comments on commit a028020

Please sign in to comment.