Skip to content

Commit

Permalink
Merge pull request #9 from sensu/enhancement/handlerset
Browse files Browse the repository at this point in the history
updated directory structure to make handlersets an explicit subdirectory
  • Loading branch information
Jef Spaleta authored Jan 28, 2021
2 parents 46c1136 + 0f023da commit 3711ec3
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,21 @@ namespaces
│   └── true.yaml
├── filters
│   └── fatigue-check.yaml
├── handlersets
│   └── alert.yaml
├── handlers
│   └── alert
│   ├── aws-sns.yaml
│   ├── pushover.yaml
│   └── set.yaml
│   ├── aws-sns.yaml
│   └── pushover.yaml
└── mutators
└── check-status.yaml
```

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.yaml` file exists in the working directory (normally the top level of your repository) then this action will be used to create sensu namespaces before attempting to process the namespaces directory.
If the `namespaces.yaml` file exists in the working directory (normally the top level of your repository) then this action will be used to create sensu namespaces 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.

## Configuration
### Required settings
Expand Down

0 comments on commit 3711ec3

Please sign in to comment.