A machine-readable index of this documentation for AI agents is available at https://kubevela.io/llms.txt. Markdown versions of documentation pages are available by appending .md to their URLs.
Skip to main content

kustomize

kustomize can fetching, building, updating and applying Kustomize manifests from Git repo or Bucket or OCI repo.

Type: component. From: the fluxcd addon.

Parameters​

repoType git or oss or oci default git
pullInterval string default 5m
The interval at which to check for repository/bucket and release updates
url string required
The Git or Helm repository URL, OSS endpoint or OCI repo, accept HTTP/S or SSH address as git url
secretRef string
The name of the secret containing authentication credentials
timeout string
The timeout for operations like download index/clone repository, optional
sourceName string
The name of the source already existed
path string required
Path to the directory containing the kustomization.yaml file, or the set of plain YAMLs a kustomization.yaml should be generated for.
prune bool default true
Whether to delete objects that have already been applyed
suspend bool default false
This flag tells the controller to suspend subsequent kustomize executions, it does not apply to already started executions.
force bool default false
Force instructs the controller to recreate resources when patching fails due to an immutable field change.
targetNamespace string
TargetNamespace sets or overrides the namespace in the kustomization.yaml file, optional
imageRepository (9) The image repository for automatically update image to git
image string required
The image url
secretRef string
The name of the secret containing authentication credentials
commitMessage string
The image url
interval string default 5m
policy (3) Policy gives the particulars of the policy to be followed in selecting the most recent image.
alphabetical (1) Alphabetical set of rules to use for alphabetical ordering of the tags.
order asc or desc
Given the letters of the alphabet as tags, ascending order would select Z, and descending order would select A.
numerical (1) Numerical set of rules to use for numerical ordering of the tags.
order asc or desc required
Given the integer values from 0 to 9 as tags, ascending order would select 9, and descending order would select 0.
semver (1) SemVer gives a semantic version range to check against the tags available.
range string required
Range gives a semver range for the image tag; the highest version within the range that's a tag yields the latest image.
filterTags (2) FilterTags enables filtering for only a subset of tags based on a set of rules. If no rules are provided, all the tags from the repository will be ordered and compared.
extract string
Extract allows a capture group to be extracted from the specified regular expression pattern, useful before tag evaluation.
pattern string
Pattern specifies a regular expression pattern used to filter for image tags.
git (5)
branch string default main
The Git branch to checkout and monitor for changes
commit string
The Git commit to checkout and monitor for changes, takes precedence over all reference fields
name string
The Git reference name to checkout and monitor for changes, takes precendence over branch, tag and semver
semver string
Semver tag expression to checkout and monitor for changes, takes precedence over tag
tag string
The Git tag to checkout and monitor for changes, takes precedence over branch
oss (3)
bucketName string required
The bucket's name, required if repoType is oss
provider generic or aws default generic
"generic" for Minio, Amazon S3, Google Cloud Storage, Alibaba Cloud OSS, "aws" for retrieve credentials from the EC2 service when credentials not specified, default "generic"
region string
The bucket region, optional
oci (4)
provider generic or azure or aws or gcp default generic
The OIDC provider used for authentication purposes.The generic provider can be used for public repositories or when static credentials are used for authentication, either with spec.secretRef or spec.serviceAccountName
tag string
The image tag
digest string
The image digest, takes precedence over all fields.
semver string
Semver tag expression to checkout and monitor for changes, takes precedence over tag