Closed gregcusack closed 11 months ago
you probably wanna set cluster_ip
to Some("None".into())
rather than None
to make this work
ya that worked 100p. I am dumb. Thank you so much for your help and time!
(All the docs for the generated types are the descriptions from the OpenAPI spec, which in turn uses comments from the Golang source code to generate those descriptions. So in general the comments will refer to Golang concepts, not Rust concepts.)
oh that is good to know! thank you!!
Hi! I am trying to create a headless service for a deployment. The documentation for
ServiceSpec
says forcluster_ip
field:However, when I set this to
None
the service that is created still creates a cluster ip. Here is a brief snippet of the code I am running:The service with its ports, names, etc gets created no problem, but the cluster ip keeps getting set no matter what I put in the
cluster_ip:
field. Any idea what's going on here?Is it possible this never got implemented? Or I am dumb and am screwing this up.