KubernetesManifestResource.withField
Method
interface KubernetesManifestResource { // ... omitted for brevity withField( path: string, value: any): KubernetesManifestResource;}Signature
method
withField Adds or updates a manifest field using a dot-separated path.
withField( path: string, value: any): KubernetesManifestResourceParameters
pathstringThe dot-separated manifest field path, for example `spec.replicas` or `data.username`.valueanyThe JSON-compatible field value.Returns
KubernetesManifestResource Defined on
This method is defined on the following type: