-
Notifications
You must be signed in to change notification settings - Fork 543
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
body/class definitions missing #2218
Comments
At first sight it seems like an issue with which files gets included. |
What is the correct way to create a service? const serviceManifest = {
metadata: {
name: task.uuid, // uuid v4
},
spec: {
selector: {
matchLabels: {
uuid: task.uuid // uuid v4
},
},
ports: [{
protocol: 'TCP',
port: 8080,
targetPort: 8080,
}],
type: 'ClusterIP',
},
};
core.createNamespacedService({
namespace: task.uuid,
body: serviceManifest
}).then(resolve).catch(reject); gives me "cannot be handled as a Service: json: cannot unmarshal object into Go struct field ServiceSpec.spec.selector of type string":
|
The selector: {
uuid: task.uuid
}, |
Thanks, that worked! |
Since #2216 was merged, pulled the changes and generated the docs (#2209).
But it seems that the class/body definitions are missing.
E.g. when i search for "V1Service" i get no search results, while the online version seems to be find it:
Did i something wrong or is this a bug?
The text was updated successfully, but these errors were encountered: