Skip to main content
Version: 0.2.0

Custom Settings

This page provides an overview of custom settings that can be applied to your manifest or Helm chart before deploying.

VersionLabel and DefaultVersion

To create a custom subset Destination Rule, it's essential to identify the default version of the application. This identification is crucial for duplicating the appropriate Destination Rule. This is achieved through two settings:

  • VersionLabel - This label signifies the version of the application (default: version). It should maintain consistency across all deployments and destination rules. This setting can only be configured globally.
  • DefaultVersion - This setting designates the value of the VersionLabel that identifies the default version (default: shared). It can be set individually for each subset when a global default version is not applicable. Refer to the defaultVersion field in the subset documentation for details.

Labels to Remove (when creating overriding deployments)

In scenarios where you are creating a custom version of a Deployment, there might be a need to eliminate specific labels from the duplicated deployment. This could be a label used by third-party tools (e.g., argocd.argoproj.io/instance) or any other label that could potentially interfere with your workflow.

This removal process is configurable on a global scale for the entire controller installation:

  • When deploying using Kustomize, you can customize the labels to remove by modifying the --remove-labels flag (and the corresponding parameter). Additional labels can be added to the list as needed. Detailed instructions are available on the installation page.
  • When deploying via Helm, you can specify the labelsToRemove setting.