Skip to content

cub run

cub run

invoke a function

Synopsis

invoke a function

cub run [flags]

Options

      --change-desc string      change description
      --changeset string        changeset to associate units with
      --data-only               show config data without other response details
      --display-mutations       display resource mutations
      --dry-run                 dry run mode: execute functions but skip updating configuration data
      --executor-space string   Space ID or slug whose executor to use for builtin functions (org-level only)
      --filter string           filter to apply (slug, space/filter, or UUID)
  -h, --help                    help for run
      --jq string               jq expression
      --json                    JSON output
      --livestate-type string   Invoke the function on the live state and use the flag value as the toolchain type for live state.
      --output-jq string        apply jq to output JSON
      --output-only             show output without other response details
      --quiet                   No output
      --reload                  Reload the function list
      --reset                   Reset the function list
      --resource-type string    resource-type filter
      --space string            space ID to perform command on
      --toolchain string        Toolchain type for the function invocations (default "Kubernetes/YAML")
      --unit strings            target specific units by slug or UUID (can be repeated or comma-separated)
      --wait                    wait for completion
      --where string            where filter
      --where-data string       where data filter
      --where-resource string   filter which resources the function operates on
      --worker string           worker to execute the function
      --yaml                    YAML output
      --yq string               yq expression

Options inherited from parent commands

      --context string   The context to use for this command
      --debug            Debug output

SEE ALSO

  • cub - ConfigHub CLI
  • cub run cel-validate - [Deprecated; use vet-celexpr instead] Returns true if validation expression evaluates to true for all resources. Validating. Supported toolchains: ConfigHub/YAML, Kubernetes/YAML, OpenTofu/HCL, AppConfig/Env, AppConfig/JSON, AppConfig/TOML, AppConfig/YAML, AppConfig/INI, AppConfig/Properties
  • cub run compute-mutations - Diffs the previous config data from the parameter with the current config data from the unit and returns a list of resource mutations made to the config data. The output can be used with patch-mutations. Supported toolchains: ConfigHub/YAML, Kubernetes/YAML, OpenTofu/HCL, AppConfig/Env, AppConfig/JSON, AppConfig/TOML, AppConfig/YAML, AppConfig/INI, AppConfig/Properties
  • cub run delete-path - Deletes the specified attribute path. Mutating. Supported toolchains: ConfigHub/YAML, Kubernetes/YAML, OpenTofu/HCL, AppConfig/Env, AppConfig/JSON, AppConfig/TOML, AppConfig/YAML, AppConfig/INI, AppConfig/Properties
  • cub run delete-resource - Remove the specified resource from the configuration data. Mutating. Supported toolchains: ConfigHub/YAML, Kubernetes/YAML, OpenTofu/HCL, AppConfig/Env, AppConfig/JSON, AppConfig/TOML, AppConfig/YAML, AppConfig/INI, AppConfig/Properties
  • cub run ensure-context - Set function context values (e.g., unit slug, space ID) in configuration resource/element attributes (if possible) if add-context is true and remove the context if false. These values can be used to find the corresponding unit in ConfigHub, such as with cub k8s source. Mutating. Supported toolchains: ConfigHub/YAML, Kubernetes/YAML, OpenTofu/HCL, AppConfig/Env, AppConfig/JSON, AppConfig/TOML, AppConfig/YAML, AppConfig/INI, AppConfig/Properties
  • cub run ensure-namespaces - Ensure every namespaced resource has a namespace field by adding one with the placeholder value if it is not present. Mutating. Supported toolchains: Kubernetes/YAML
  • cub run get-annotation - Get an annotation. Supported toolchains: Kubernetes/YAML
  • cub run get-attribute - Returns values of a specified registered attribute. See https://docs.confighub.com/guide/functions/#getters-and-setters-attributes-and-the-path-registry for more information about registered attributes. Supported toolchains: ConfigHub/YAML, Kubernetes/YAML, OpenTofu/HCL, AppConfig/Env, AppConfig/JSON, AppConfig/TOML, AppConfig/YAML, AppConfig/INI, AppConfig/Properties
  • cub run get-bool-path - Returns the value(s) of the specified attribute path. Supported toolchains: ConfigHub/YAML, Kubernetes/YAML, OpenTofu/HCL, AppConfig/Env, AppConfig/JSON, AppConfig/TOML, AppConfig/YAML, AppConfig/INI, AppConfig/Properties
  • cub run get-cel - Extracts attribute values from configuration resources using a CEL expression that returns a list of attribute value maps. Evaluated once per resource. Supported toolchains: ConfigHub/YAML, Kubernetes/YAML, OpenTofu/HCL, AppConfig/Env, AppConfig/JSON, AppConfig/TOML, AppConfig/YAML, AppConfig/INI, AppConfig/Properties
  • cub run get-container-image - Get the image for a container. Supported toolchains: Kubernetes/YAML
  • cub run get-container-image-reference - Get the image reference for a container. Supported toolchains: Kubernetes/YAML
  • cub run get-container-name - Get the container name. Supported toolchains: Kubernetes/YAML
  • cub run get-container-repository-uri - Get the image repository URI for a container. Supported toolchains: Kubernetes/YAML
  • cub run get-details - Returns a list of curated resource attributes. Supported toolchains: ConfigHub/YAML, Kubernetes/YAML, OpenTofu/HCL, AppConfig/Env, AppConfig/JSON, AppConfig/TOML, AppConfig/YAML, AppConfig/INI, AppConfig/Properties
  • cub run get-env-var - Get an environment variable for a container. Supported toolchains: Kubernetes/YAML
  • cub run get-hostname - Get the hostname. Supported toolchains: Kubernetes/YAML
  • cub run get-hostname-domain - Get the domain name. Supported toolchains: Kubernetes/YAML
  • cub run get-hostname-subdomain - Get the subdomain. Supported toolchains: Kubernetes/YAML
  • cub run get-image - Get the image for a container. [Deprecated: use get-container-image/set-container-image]. Supported toolchains: Kubernetes/YAML
  • cub run get-image-reference - Get the image reference for a container. [Deprecated: use get-container-image-reference/set-container-image-reference]. Supported toolchains: Kubernetes/YAML
  • cub run get-image-uri - Get the image repository URI for a container. [Deprecated: use get-container-repository-uri/set-container-repository-uri]. Supported toolchains: Kubernetes/YAML
  • cub run get-int-path - Returns the value(s) of the specified attribute path. Supported toolchains: ConfigHub/YAML, Kubernetes/YAML, OpenTofu/HCL, AppConfig/Env, AppConfig/JSON, AppConfig/TOML, AppConfig/YAML, AppConfig/INI, AppConfig/Properties
  • cub run get-label - Get a label. Supported toolchains: Kubernetes/YAML
  • cub run get-namespace - Get the namespace attributes in resource. Supported toolchains: Kubernetes/YAML
  • cub run get-needed - Returns a list of needed attributes with setter functions. See https://docs.confighub.com/background/concepts/needsprovides/ for more information. Supported toolchains: ConfigHub/YAML, Kubernetes/YAML, OpenTofu/HCL, AppConfig/Env, AppConfig/JSON, AppConfig/TOML, AppConfig/YAML, AppConfig/INI, AppConfig/Properties
  • cub run get-needed-namespaces - Get needed namespace attributes in each resource. Supported toolchains: Kubernetes/YAML
  • cub run get-path - Returns the value(s) of the specified attribute path of any type. Supported toolchains: ConfigHub/YAML, Kubernetes/YAML, OpenTofu/HCL, AppConfig/Env, AppConfig/JSON, AppConfig/TOML, AppConfig/YAML, AppConfig/INI, AppConfig/Properties
  • cub run get-paths - Returns the current values at the specified attribute paths. Used to fetch values for stored NeededPaths and ProvidedPaths. Supported toolchains: ConfigHub/YAML, Kubernetes/YAML, OpenTofu/HCL, AppConfig/Env, AppConfig/JSON, AppConfig/TOML, AppConfig/YAML, AppConfig/INI, AppConfig/Properties
  • cub run get-placeholder-mutations - Returns a list of resource mutations for attributes containing the placeholder string 'confighubplaceholder' or number 999999999. See https://docs.confighub.com/background/concepts/placeholders/ for more information about placeholders. Supported toolchains: ConfigHub/YAML, Kubernetes/YAML, OpenTofu/HCL, AppConfig/Env, AppConfig/JSON, AppConfig/TOML, AppConfig/YAML, AppConfig/INI, AppConfig/Properties
  • cub run get-placeholders - Returns a list of attributes containing the placeholder string 'confighubplaceholder' or number 999999999. See https://docs.confighub.com/background/concepts/placeholders/ for more information about placeholders. Supported toolchains: ConfigHub/YAML, Kubernetes/YAML, OpenTofu/HCL, AppConfig/Env, AppConfig/JSON, AppConfig/TOML, AppConfig/YAML, AppConfig/INI, AppConfig/Properties
  • cub run get-provided - Returns a list of Provided attributes. See https://docs.confighub.com/background/concepts/needsprovides/ for more information. Supported toolchains: ConfigHub/YAML, Kubernetes/YAML, OpenTofu/HCL, AppConfig/Env, AppConfig/JSON, AppConfig/TOML, AppConfig/YAML, AppConfig/INI, AppConfig/Properties
  • cub run get-references-of-type - Gets references targeting the specified type. Supported toolchains: ConfigHub/YAML, Kubernetes/YAML, OpenTofu/HCL, AppConfig/Env, AppConfig/JSON, AppConfig/TOML, AppConfig/YAML, AppConfig/INI, AppConfig/Properties
  • cub run get-replicas - Get the replicas for workload controllers. Supported toolchains: Kubernetes/YAML
  • cub run get-resources - Returns a list of resources and their types. Supported toolchains: ConfigHub/YAML, Kubernetes/YAML, OpenTofu/HCL, AppConfig/Env, AppConfig/JSON, AppConfig/TOML, AppConfig/YAML, AppConfig/INI, AppConfig/Properties
  • cub run get-resources-of-type - Returns a list of resources of the specified type. Supported toolchains: ConfigHub/YAML, Kubernetes/YAML, OpenTofu/HCL, AppConfig/Env, AppConfig/JSON, AppConfig/TOML, AppConfig/YAML, AppConfig/INI, AppConfig/Properties
  • cub run get-starlark - Extracts attribute values from configuration resources using a Starlark program that defines an extract(r) function returning an AttributeValueList. Called once per resource. Supported toolchains: ConfigHub/YAML, Kubernetes/YAML, OpenTofu/HCL, AppConfig/Env, AppConfig/JSON, AppConfig/TOML, AppConfig/YAML, AppConfig/INI, AppConfig/Properties
  • cub run get-string-path - Returns the value(s) of the specified attribute path. Supported toolchains: ConfigHub/YAML, Kubernetes/YAML, OpenTofu/HCL, AppConfig/Env, AppConfig/JSON, AppConfig/TOML, AppConfig/YAML, AppConfig/INI, AppConfig/Properties
  • cub run is-approved - [Deprecated; use vet-approvedby instead] Returns true if sufficient approvers are present. Validating. Supported toolchains: ConfigHub/YAML, Kubernetes/YAML, OpenTofu/HCL, AppConfig/Env, AppConfig/JSON, AppConfig/TOML, AppConfig/YAML, AppConfig/INI, AppConfig/Properties
  • cub run no-placeholders - [Deprecated; use vet-placeholders instead] Returns true if no attributes contain the placeholder string 'confighubplaceholder' or number 999999999. See https://docs.confighub.com/background/concepts/placeholders/ for more information about placeholders. Validating. Supported toolchains: ConfigHub/YAML, Kubernetes/YAML, OpenTofu/HCL, AppConfig/Env, AppConfig/JSON, AppConfig/TOML, AppConfig/YAML, AppConfig/INI, AppConfig/Properties
  • cub run normalize - Assigns a unique ResourceID to each resource that doesn't already have one. Mutating. Supported toolchains: ConfigHub/YAML, Kubernetes/YAML, OpenTofu/HCL, AppConfig/Env, AppConfig/JSON, AppConfig/TOML, AppConfig/YAML, AppConfig/INI, AppConfig/Properties
  • cub run patch-mutations - Selectively patch attributes if their mutations indicate they are patchable. Intended to be used with compute-mutations. Mutating. Supported toolchains: ConfigHub/YAML, Kubernetes/YAML, OpenTofu/HCL, AppConfig/Env, AppConfig/JSON, AppConfig/TOML, AppConfig/YAML, AppConfig/INI, AppConfig/Properties
  • cub run replicate - Replicate the specified configuration resource/element replicas minus one times. Mutating. Supported toolchains: ConfigHub/YAML, Kubernetes/YAML, OpenTofu/HCL, AppConfig/Env, AppConfig/JSON, AppConfig/TOML, AppConfig/YAML, AppConfig/INI, AppConfig/Properties
  • cub run reset - Sets attributes back to placeholder values if last set by mutations that match the predicates. Mutating. Supported toolchains: ConfigHub/YAML, Kubernetes/YAML, OpenTofu/HCL, AppConfig/Env, AppConfig/JSON, AppConfig/TOML, AppConfig/YAML, AppConfig/INI, AppConfig/Properties
  • cub run search-replace - Replace all instances of the search-value in all strings of all resource types with replace-value. Mutating. Supported toolchains: ConfigHub/YAML, Kubernetes/YAML, OpenTofu/HCL, AppConfig/Env, AppConfig/JSON, AppConfig/TOML, AppConfig/YAML, AppConfig/INI, AppConfig/Properties
  • cub run select-where-resource - Returns resources for which all terms of the conjunction of relational expressions evaluate to true. Mutating. Supported toolchains: ConfigHub/YAML, Kubernetes/YAML, OpenTofu/HCL, AppConfig/Env, AppConfig/JSON, AppConfig/TOML, AppConfig/YAML, AppConfig/INI, AppConfig/Properties
  • cub run set-annotation - Set an annotation. Mutating. Supported toolchains: Kubernetes/YAML
  • cub run set-attributes - Set specified attributes to the specified values. This function is intended to be used for read-modify-write operations in combination with any (typically get-) functions returning output of the type AttributeValueList. Mutating. Supported toolchains: ConfigHub/YAML, Kubernetes/YAML, OpenTofu/HCL, AppConfig/Env, AppConfig/JSON, AppConfig/TOML, AppConfig/YAML, AppConfig/INI, AppConfig/Properties
  • cub run set-automount-service-account-token-false - Set automountServiceAccountToken to false on all pod specs. Mutating. Supported toolchains: Kubernetes/YAML
  • cub run set-bool-path - Set the value of the specified attribute path. Mutating. Supported toolchains: ConfigHub/YAML, Kubernetes/YAML, OpenTofu/HCL, AppConfig/Env, AppConfig/JSON, AppConfig/TOML, AppConfig/YAML, AppConfig/INI, AppConfig/Properties
  • cub run set-cel - Mutates configuration resources by merging a partial CEL expression result into the original resource. Comments are preserved. Mutating. Supported toolchains: ConfigHub/YAML, Kubernetes/YAML, OpenTofu/HCL, AppConfig/Env, AppConfig/JSON, AppConfig/TOML, AppConfig/YAML, AppConfig/INI, AppConfig/Properties
  • cub run set-container-image - Set the image for a container. Mutating. Supported toolchains: Kubernetes/YAML
  • cub run set-container-image-reference - Set the image reference for a container. Mutating. Supported toolchains: Kubernetes/YAML
  • cub run set-container-port - Set a port for a container, adding it if not present. Mutating. Supported toolchains: Kubernetes/YAML
  • cub run set-container-probe-defaults - Add liveness, readiness, and startup probes to containers that don't have them, using the first containerPort for HTTP GET probes. Mutating. Supported toolchains: Kubernetes/YAML
  • cub run set-container-repository-uri - Set the image repository URI for a container. Mutating. Supported toolchains: Kubernetes/YAML
  • cub run set-container-resources - Set resource requests and limits for a container. Mutating. Supported toolchains: Kubernetes/YAML
  • cub run set-container-resources-defaults - Set minimum resource requests (128m CPU, 128Mi memory) for containers that don't have resources set. Mutating. Supported toolchains: Kubernetes/YAML
  • cub run set-container-volume-mount-path - Set a volume mount for a container and ensure the volume exists in the pod spec. Mutating. Supported toolchains: Kubernetes/YAML
  • cub run set-default-names - Set the values of identified name fields containing the placeholder string 'confighubplaceholder' or number 999999999. See https://docs.confighub.com/background/concepts/placeholders/ for more details regarding placeholder values. Mutating. Supported toolchains: ConfigHub/YAML, Kubernetes/YAML, OpenTofu/HCL, AppConfig/Env, AppConfig/JSON, AppConfig/TOML, AppConfig/YAML, AppConfig/INI, AppConfig/Properties
  • cub run set-env - Set environment variables for a container using = syntax. Mutating. Supported toolchains: Kubernetes/YAML
  • cub run set-env-var - Set an environment variable for a container. Mutating. Supported toolchains: Kubernetes/YAML
  • cub run set-hostname - Set the hostname. Mutating. Supported toolchains: Kubernetes/YAML
  • cub run set-hostname-domain - Set the domain name. Mutating. Supported toolchains: Kubernetes/YAML
  • cub run set-hostname-subdomain - Set the subdomain. Mutating. Supported toolchains: Kubernetes/YAML
  • cub run set-image - Set the image for a container. [Deprecated: use get-container-image/set-container-image]. Mutating. Supported toolchains: Kubernetes/YAML
  • cub run set-image-reference - Set the image reference for a container. [Deprecated: use get-container-image-reference/set-container-image-reference]. Mutating. Supported toolchains: Kubernetes/YAML
  • cub run set-image-reference-by-uri - Set the reference for a specified image URI. Mutating. Supported toolchains: Kubernetes/YAML
  • cub run set-image-registry-by-registry - Replace the specified image registry prefix with a new registry prefix. Mutating. Supported toolchains: Kubernetes/YAML
  • cub run set-image-uri - Set the image repository URI for a container. [Deprecated: use get-container-repository-uri/set-container-repository-uri]. Mutating. Supported toolchains: Kubernetes/YAML
  • cub run set-int-path - Set the value of the specified attribute path. Mutating. Supported toolchains: ConfigHub/YAML, Kubernetes/YAML, OpenTofu/HCL, AppConfig/Env, AppConfig/JSON, AppConfig/TOML, AppConfig/YAML, AppConfig/INI, AppConfig/Properties
  • cub run set-label - Set a label. Mutating. Supported toolchains: Kubernetes/YAML
  • cub run set-namespace - Set the namespace attributes in resource. Mutating. Supported toolchains: Kubernetes/YAML
  • cub run set-path-comment - Set the comment of the specified attribute path. Mutating. Supported toolchains: ConfigHub/YAML, Kubernetes/YAML, OpenTofu/HCL, AppConfig/Env, AppConfig/JSON, AppConfig/TOML, AppConfig/YAML, AppConfig/INI, AppConfig/Properties
  • cub run set-pod-container-security-context-defaults - Set security context defaults for pods (seccomp, runAsNonRoot, runAsUser, runAsGroup, fsGroup) and containers (readOnlyRootFilesystem, allowPrivilegeEscalation, privileged). Mutating. Supported toolchains: Kubernetes/YAML
  • cub run set-pod-defaults - Set default pod settings. Mutating. Supported toolchains: Kubernetes/YAML
  • cub run set-pod-security-defaults - Set pod security labels on Namespace resources (baseline enforce, restricted warn). Mutating. Supported toolchains: Kubernetes/YAML
  • cub run set-references-of-type - Sets references targeting the specified type. Mutating. Supported toolchains: ConfigHub/YAML, Kubernetes/YAML, OpenTofu/HCL, AppConfig/Env, AppConfig/JSON, AppConfig/TOML, AppConfig/YAML, AppConfig/INI, AppConfig/Properties
  • cub run set-replicas - Set the replicas for workload controllers. Mutating. Supported toolchains: Kubernetes/YAML
  • cub run set-starlark - Mutates configuration resources using a Starlark program executed per resource. Comments are preserved. Mutating. Supported toolchains: ConfigHub/YAML, Kubernetes/YAML, OpenTofu/HCL, AppConfig/Env, AppConfig/JSON, AppConfig/TOML, AppConfig/YAML, AppConfig/INI, AppConfig/Properties
  • cub run set-string-path - Set the value of the specified attribute path. Mutating. Supported toolchains: ConfigHub/YAML, Kubernetes/YAML, OpenTofu/HCL, AppConfig/Env, AppConfig/JSON, AppConfig/TOML, AppConfig/YAML, AppConfig/INI, AppConfig/Properties
  • cub run upsert-resource - Append the resource if it is not present or replace the existing resource if it is already present in the configuration data. Intended to be used with get-resources. Mutating. Supported toolchains: ConfigHub/YAML, Kubernetes/YAML, OpenTofu/HCL, AppConfig/Env, AppConfig/JSON, AppConfig/TOML, AppConfig/YAML, AppConfig/INI, AppConfig/Properties
  • cub run validate - Returns true if schema passes validation. Validating. Supported toolchains: Kubernetes/YAML
  • cub run vet-approvedby - Returns true if sufficient approvers are present. Validating. Supported toolchains: ConfigHub/YAML, Kubernetes/YAML, OpenTofu/HCL, AppConfig/Env, AppConfig/JSON, AppConfig/TOML, AppConfig/YAML, AppConfig/INI, AppConfig/Properties
  • cub run vet-cel - Validates configuration resources using a CEL expression that returns bool or {passed: bool, details: [string]}. Evaluated once per resource. Validating. Supported toolchains: ConfigHub/YAML, Kubernetes/YAML, OpenTofu/HCL, AppConfig/Env, AppConfig/JSON, AppConfig/TOML, AppConfig/YAML, AppConfig/INI, AppConfig/Properties
  • cub run vet-celexpr - Returns true if validation expression evaluates to true for all resources. Validating. Supported toolchains: ConfigHub/YAML, Kubernetes/YAML, OpenTofu/HCL, AppConfig/Env, AppConfig/JSON, AppConfig/TOML, AppConfig/YAML, AppConfig/INI, AppConfig/Properties
  • cub run vet-images - Validates that all container images pass the specified allow/deny filter. If AllowStrings is non-empty, all images must be in the allow list. Images in DenyStrings are always rejected. Validating. Supported toolchains: Kubernetes/YAML
  • cub run vet-jsonschema - Validates each resource against its corresponding JSONSchema from the provided map. Validating. Supported toolchains: ConfigHub/YAML, Kubernetes/YAML, OpenTofu/HCL, AppConfig/Env, AppConfig/JSON, AppConfig/TOML, AppConfig/YAML, AppConfig/INI, AppConfig/Properties
  • cub run vet-merge-keys - Returns true if no arrays contain duplicate strategic merge patch keys. Duplicate merge keys in Kubernetes resources (such as duplicate container names or environment variable names) cause apply errors. Validating. Supported toolchains: ConfigHub/YAML, Kubernetes/YAML, OpenTofu/HCL, AppConfig/Env, AppConfig/JSON, AppConfig/TOML, AppConfig/YAML, AppConfig/INI, AppConfig/Properties
  • cub run vet-placeholders - Returns true if no attributes contain the placeholder string 'confighubplaceholder' or number 999999999. See https://docs.confighub.com/background/concepts/placeholders/ for more information about placeholders. Validating. Supported toolchains: ConfigHub/YAML, Kubernetes/YAML, OpenTofu/HCL, AppConfig/Env, AppConfig/JSON, AppConfig/TOML, AppConfig/YAML, AppConfig/INI, AppConfig/Properties
  • cub run vet-schemas - Returns true if schema passes validation. Validating. Supported toolchains: Kubernetes/YAML
  • cub run vet-starlark - Validates configuration resources using a Starlark program that defines a validate(r) function returning {passed: bool, details: [string]}. Called once per resource. Validating. Supported toolchains: ConfigHub/YAML, Kubernetes/YAML, OpenTofu/HCL, AppConfig/Env, AppConfig/JSON, AppConfig/TOML, AppConfig/YAML, AppConfig/INI, AppConfig/Properties
  • cub run vet-values - Validates that all values at the paths registered for the specified attribute pass the specified allow/deny filter. Supports string, int, and bool values. Validating. Supported toolchains: ConfigHub/YAML, Kubernetes/YAML, OpenTofu/HCL, AppConfig/Env, AppConfig/JSON, AppConfig/TOML, AppConfig/YAML, AppConfig/INI, AppConfig/Properties
  • cub run where-filter - Returns true if all terms of the conjunction of relational expressions evaluate to true for at least one matching path of a resource of the specified type. Intended to be used for filtering rather than validating, though it returns the same output type. Validating. Supported toolchains: ConfigHub/YAML, Kubernetes/YAML, OpenTofu/HCL, AppConfig/Env, AppConfig/JSON, AppConfig/TOML, AppConfig/YAML, AppConfig/INI, AppConfig/Properties
  • cub run yq - Returns the result of running yq with the specified expression on the configuration data. Supported toolchains: ConfigHub/YAML, Kubernetes/YAML, OpenTofu/HCL, AppConfig/Env, AppConfig/JSON, AppConfig/TOML, AppConfig/YAML, AppConfig/INI, AppConfig/Properties
  • cub run yq-i - The configuration data is updated with the result of running yq -i with the specified expression on the configuration data. Mutating. Supported toolchains: ConfigHub/YAML, Kubernetes/YAML, OpenTofu/HCL, AppConfig/Env, AppConfig/JSON, AppConfig/TOML, AppConfig/YAML, AppConfig/INI, AppConfig/Properties