You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run krane on my cluster, it looks up all crd's so they can be pruned if they are not defined. However, alertsmanagersconfig is a crd which has an v1alpha version, but the prune-whitelist is assigned to monitoring.coreos.com/v1/alertsmanagersconfig. This fails, since only monitoring.coreos.com/v1alpha/alertsmanagersconfig exists.
Expected behavior:
A correct combination of the crd's with the result from kubectl api-versions
Actual behavior:
error: no matches for kind "AlertmanagerConfig" in version "monitoring.coreos.com/v1"
Good news. We've merged #778 which in the real fix to this problem (and removes the need for an override list). We're planning to release a new version this week. Feel free to re-open this issue if you have any questions for problems.
Bug report
When I run krane on my cluster, it looks up all crd's so they can be pruned if they are not defined. However, alertsmanagersconfig is a crd which has an v1alpha version, but the prune-whitelist is assigned to monitoring.coreos.com/v1/alertsmanagersconfig. This fails, since only monitoring.coreos.com/v1alpha/alertsmanagersconfig exists.
Expected behavior:
A correct combination of the crd's with the result from kubectl api-versions
Actual behavior:
error: no matches for kind "AlertmanagerConfig" in version "monitoring.coreos.com/v1"
Version(s) affected:
2.1.5 and before
Steps to Reproduce
kubectl apply -f https://raw.githubusercontent.com/prometheus-community/helm-charts/main/charts/kube-prometheus-stack/crds/crd-alertmanagerconfigs.yaml
kubectl apply -f https://github.com/prometheus-community/helm-charts/blob/main/charts/kube-prometheus-stack/crds/crd-alertmanagers.yaml
krane deploy any resource
The text was updated successfully, but these errors were encountered: