karmada
karmada copied to clipboard
how can we run the latest Kyverno in karmada-host
Please provide an in-depth description of the question you have: The latest version of Kyverno has removed kubeconfig flags support, how can we run Kyverno in karmada-host?
https://github.com/karmada-io/karmada/blob/master/docs/working-with-kyverno.md
@Poor12 @AllenZMC Could you please take a look at this issues?
If kubeconfig flag is removed, you can try to set KUBECONFIG
environment env in the Pod.
If kubeconfig flag is removed, you can try to set
KUBECONFIG
environment env in the Pod.
the latest Kyverno is only supported to run InClusterConfig. https://github.com/kyverno/kyverno/blob/main/cmd/kyverno/main.go#L121
Seems that it's removed in https://github.com/kyverno/kyverno/issues/3570. For my opinion, whether it's used by flag or environment env, Kyverno should support configurable KUBECONFIG
. Could you start an issue in Kyverno community? Maybe we can push this thing together.
There is an issue here(https://github.com/kyverno/kyverno/discussions/4282) , we can push this thing together.
/cc @Poor12 Can we close this issue?
Completed. /close
@Poor12: Closing this issue.
In response to this:
Completed. /close
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.