We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Service
ports defined in the kx.Service args.spec.ports param don't get created.
ports
kx.Service
args.spec.ports
import * as kubex from "@pulumi/kubernetesx"; const pod = new kubex.PodBuilder({ containers: [ { image: 'abiosoft/caddy' } ] }) const deployment = new kubex.Deployment( 'test', { metadata: { namespace: 'kube-system' }, spec: pod.asDeploymentSpec() } ) const service = new kubex.Service( 'test', { metadata: { namespace: 'kube-system' }, spec: { selector: { app: 'caddy' }, ports: [ { port: 8000, name: 'http' } ] } } )
Preview shows no ports being applied
+ kubernetes:core/v1:Service: (create) + [urn=xxxxxxx] + [provider=xxxxxxxxxxxx] + apiVersion: "v1" + kind : "Service" + metadata : { + annotations: { + pulumi.com/autonamed: "true" + } + labels : { + app.kubernetes.io/managed-by: "pulumi" + } + name : "test-mr4g6lcj" + namespace : "kube-system" + } + spec : { + selector: { + app: "caddy" + } + }
The text was updated successfully, but these errors were encountered:
lblackstone
Successfully merging a pull request may close this issue.
ports
defined in thekx.Service
args.spec.ports
param don't get created.Preview shows no ports being applied
The text was updated successfully, but these errors were encountered: