Skip to content

Commit

Permalink
add core/v2.HookConfig into default resources allowed to be pruned
Browse files Browse the repository at this point in the history
  • Loading branch information
jspaleta committed Dec 18, 2020
1 parent 30e0010 commit 6e1470f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ If the `namespaces.yaml` file exists in the working directory (normally the top
#### matching_condition:
description: "Option Sensu label matching condition, default: '== sensu_flow'"
#### managed_resources:
description: 'Optional comma seperated list of managed resources, default: "checks,handlers,filters,mutators,assets,secrets/v1.Secret,roles,role-bindings"'
description: 'Optional comma seperated list of managed resources, default: "checks,handlers,filters,mutators,assets,secrets/v1.Secret,roles,role-bindings,core/v2.HookConfig""'
#### disable_sanity_checks:
description: 'Optional boolean argument to to disable sanity checks default: false'

Expand Down
2 changes: 1 addition & 1 deletion sensuflow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ fi
### Setup envvar values, including fallback defaults where needed
: ${MATCHING_LABEL:=${INPUT_MATCHING_LABEL:="sensu.io/workflow"}}
: ${MATCHING_CONDITION:=${INPUT_MATCHING_CONDITION:="== sensu_flow"}}
: ${MANAGED_RESOURCES:=${INPUT_MANAGED_RESOURCES:="checks,handlers,filters,mutators,assets,secrets/v1.Secret,roles,role-bindings"}}
: ${MANAGED_RESOURCES:=${INPUT_MANAGED_RESOURCES:="checks,handlers,filters,mutators,assets,secrets/v1.Secret,roles,role-bindings,core/v2.HookConfig"}}
: ${NAMESPACES_DIR:=${INPUT_NAMESPACES_DIR:="namespaces"}}
: ${NAMESPACES_FILE:=${INPUT_NAMESPACES_FILE:="namespaces.yaml"}}
: ${DISABLE_SANITY_CHECKS:=${INPUT_DISABLE_SANITY_CHECKS:="false"}}
Expand Down

0 comments on commit 6e1470f

Please sign in to comment.