Jackie
Jackie

Reputation: 23607

Why am I getting gcloud.container.cluster.clusterSecondaryRange in body must be of type string: "null"

I am following the steps for adding Anthos Service mesh provided here

However, When I try running...

kpt cfg list-setters asm

I get...

error: The input value doesn't validate against provided OpenAPI schema: validation failure list:
gcloud.container.cluster.clusterSecondaryRange in body must be of type string: "null"

What is wrong? How would I debug?

Upvotes: 0

Views: 334

Answers (1)

Jackie
Jackie

Reputation: 23607

Not really an answer but a workaround was to add these lines...

kpt cfg set asm gcloud.container.cluster.clusterSecondaryRange " "
kpt cfg set asm gcloud.container.cluster.servicesSecondaryRange " "

Upvotes: 0

Related Questions