fix: pass policy/v1 capability to traefik helm renders
kustomize helm renderer doesn't pass cluster capabilities, causing the chart to fall back to policy/v1beta1 for PodDisruptionBudget. Explicitly declaring the v1 API version makes the chart template render correctly.
This commit is contained in:
@@ -12,9 +12,13 @@ helmCharts:
|
|||||||
releaseName: traefik-internal
|
releaseName: traefik-internal
|
||||||
namespace: traefik-system
|
namespace: traefik-system
|
||||||
valuesFile: values-internal.yaml
|
valuesFile: values-internal.yaml
|
||||||
|
apiVersions:
|
||||||
|
- policy/v1/PodDisruptionBudget
|
||||||
- name: traefik
|
- name: traefik
|
||||||
repo: https://artifactapi.k8s.syd1.au.unkin.net/api/v1/virtual/helm
|
repo: https://artifactapi.k8s.syd1.au.unkin.net/api/v1/virtual/helm
|
||||||
version: "40.0.0"
|
version: "40.0.0"
|
||||||
releaseName: traefik-external
|
releaseName: traefik-external
|
||||||
namespace: traefik-system
|
namespace: traefik-system
|
||||||
valuesFile: values-external.yaml
|
valuesFile: values-external.yaml
|
||||||
|
apiVersions:
|
||||||
|
- policy/v1/PodDisruptionBudget
|
||||||
|
|||||||
Reference in New Issue
Block a user