kubectlApply

A `kubectlApply` step will run `kubectl apply` with the provided file path and kubeconfig.

This content is associated with a legacy version of the Replicated product. For the current Replicated product docs, click here.

Assets | Config | Lifecycle

kubectlApply

A kubectlApply step will run kubectl apply with the provided file path and kubeconfig.

Required Parameters

  • path - the file to apply

Optional Parameters

  • kubeconfig - the kubeconfig file to use, overriding the system default

Examples

lifecycle:
  v1:
    - kubectlApply:
        path: config.yml
lifecycle:
  v1:
    - kubectlApply:
        path: k8s/another.yml
        kubeconfig: k8s/generated_kubeconfig
lifecycle:
  v1:
    - kubectlApply:
        path: k8s/another.yml
        kubeconfig: '{{repl AmazonEKS "eks_cluster_name" }}'