K3sClusterResource.AddK8sManifest
Method
type K3sClusterResource interface { // ... omitted for brevity AddK8sManifest( name string, path string, ) K8sManifestResource}Signature
method
AddK8sManifest builderApplies Kubernetes YAML manifests or a Kustomize overlay to the cluster.
AddK8sManifest( name string, path string,) K8sManifestResourceParameters
namestringThe Aspire resource name for this manifest application.pathstringPath to a single .yaml/.yml file, a directory of YAML files, or a Kustomize overlay directory (containing kustomization.yaml ). Relative paths are resolved against the AppHost project directory.Returns
K8sManifestResource A builder for the K8s.
Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: