Open brandonkal opened 4 years ago
Given that a standard pod starts like this
apiVersion: v1 kind: Pod metadata: name: myapp labels: name: myapp
and a deployment starts like this
apiVersion: apps/v1 kind: Deployment metadata: name: myapp spec: selector: matchLabels: app: myapp
I would like to see
new kx.Deployment('name', { spec: pod.asDeploymentSpec(), })
default to set the deployment's metadata property to: { name: firstArg }
{ name: firstArg }
Given that a standard pod starts like this
and a deployment starts like this
I would like to see
default to set the deployment's metadata property to:
{ name: firstArg }