Skip to content

Drop support for hooks #856

@marquiz

Description

@marquiz

What would you like to be added:

Deprecate and eventually remove support for hooks in the local feature source.

Why is this needed:

In #855 @eero-t had a merituos pondering why hooks should removed. Some rationale why hooks are bad and we want to disable them:

  • container image maintenance and size
  • feature files provide basically the same functionality with a more controllable/maintainable approach
  • possible security issues
  • resource consumption of buggy or bad-behaving hooks

Plan

  • n (v0.12): declare hooks as deprecated, introduce config option to disable them but have them still enabled by default (Disable hook support by default #855)
  • n+1: disable hooks by default but have still the option to enable them
  • n+2: drop hooks support entirely, make minimal image the default image, drop the big image or e.g. rename it to -debug

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions