DeployYamlFilesToK8sCluster
[-yamlDirectory] <String>
[-kubernetesConfigFile] <String>
[-pruneSelector] <String> = $null
[-waitForDeployment] <Bool> = $true
Deploys a set of yaml files to a Kubernetes instance using a specific config file.
For prune to work correctly it needs to be provided with a selector
DeployYamlFilesToK8sCluster -yamlDirectory "/Path/To/YAML" -kubernetesConfigFile "/.kube/instance1.yaml" -pruneSelector "app=myapp"
DeployYamlFilesToK8sCluster -yamlDirectory "/Path/To/YAML" -kubernetesConfigFile "/.kube/instance1.yaml" -waitForDeployment $false