Kustomize apply
step
Performs a Kustomize apply.
Specification
cluster
Required
object
A map of configuration and credentials for accessing a Kubernetes cluster.
cluster.
name
Required
string
A name for the Kubernetes cluster. Used for referencing it via kubectl contexts.
cluster.
connection
Required
A Relay Kubernetes connection to useConnection docs
${connections.kubernetes.my-kubernetes-connection}
path
Required
string
A path to the kustomization resources.
namespace
Optional
string
The namespace to run the command under.
prune
Optional
object
Selectors to identify objects to prune.
prune.
labelSelectors
Optional
object
A key-value map of label selectors to use to prune existing resources.
git
Optional
object
A git repository to clone.
git.
connection
Optional
A Relay SSH connection to use.Connection docs
${connections.ssh.my-ssh-connection}
git.
knownHosts
Optional
string
SSH known hosts file.
git.
name
Required
string
A directory name for the git clone.
git.
branch
Optional
string
The git branch to clone.
git.
repository
Required
string
The git repository URL.
kustomize-step-apply
The Kustomize step container applies Kubernetes kustomizations.
Example step configuration
name: kustomize
image: relaysh/kustomize-step-apply
spec:
cluster:
name: my-cluster
connection: !Connection { type: kubernetes, name: my-cluster }
path: !Parameter pathToConfigurations
namespace: !Parameter namespace
git:
ssh_key: !Secret ssh_key
known_hosts: !Secret known_hosts
name: !Parameter repoName
branch: !Parameter gitBranch
repository: !Parameter pathToRepo