Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add PodDisruptionBudget Kind when checking for existing versions (#923)
Checking for existing version using just "policy/v1" doesn't work when running helm template, and as a result helm will generate a version of PodDisruptionBudget that is not supported by the cluster (see cortexproject/cortex-helm-chart#277). The workaround is to add Kind to the '.Capabilities.APIVersions.Has' check so that 'helm template' will generate the right version of the PodDisruptionBudget resource.
- Loading branch information