GluuFederation/gluu-docker

SchemaError creating resources (kubectl apply -f)

miguelramosfdz opened this issue · 1 comments

$ kubectl apply -f config-roles.yaml

Current Behavior
Failes with the following output
error: SchemaError(io.k8s.api.autoscaling.v2beta1.ExternalMetricSource): invalid object doesn't have additional properties

retrying with --validate=false solves the problem

moabu commented

This is not an issue with Gluu. Please make sure your versions of k8 matches and are up to date. For example, Docker or minikube might have installed a kubectl that does not meet the same version kubectl installed by you. Please try to reinstall the latest version of kubectl.