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
Error from server (BadRequest): error when creating ********: KubernetesAuthEngineRole in version "v1alpha1" cannot be handled as a KubernetesAuthEngineRole: strict decoding error: unknown field "spec.targetNamespaceSelector"
Specifying
targetNamespaces:
- default
fails with the error
Error from server: error when creating ********: admission webhook "mkubernetesauthenginerole.kb.io" denied the request: json: cannot unmarshal array into Go struct field KubernetesAuthEngineRoleSpec.spec.targetNamespaces of type utils.TargetNamespaceConfig
@alex-old-user has already pointed out the correct way of specifying either of them.
Hi, I believe there is a bug
as per https://github.com/redhat-cop/vault-config-operator/blob/main/docs/auth-engines.md#kubernetesauthenginerole
the
KubernetesAuthEngineRole
type hashowever, that's not the case. I've got the following error after applying the example
checking the Golang types in
api/v1alpha1/utils/commons.go
andapi/v1alpha1/kubernetesauthenginerole_types.go
shows
which corresponds to the following yaml
additionally,
spec.targetNamespaces.targetNamespaces
is hard to comprehendThe text was updated successfully, but these errors were encountered: