diff --git a/README.md b/README.md index 169a346..13da872 100644 --- a/README.md +++ b/README.md @@ -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' diff --git a/sensuflow.sh b/sensuflow.sh index 30f3084..1e5602e 100755 --- a/sensuflow.sh +++ b/sensuflow.sh @@ -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"}}