Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add validation for feature-flags configmap to webhook
Prior to this commit, the validating admission webhook validated the logging, defaults, and leader election configmaps, but not the feature flags configmap. This meant that invalid edits to the feature-flags configmap would be silently accepted, but could later cause PipelineRuns and TaskRuns to fail. This commit validates the feature-flags configmap in the validation webhook. Note: we currently have a cyclic dependency between the validating admission webhook and the configmaps used by pipelines. This commit does not address this problem, which should be handled separately (tektoncd#4542).
- Loading branch information