Skip to content

kindplane apply

kindplane apply

Apply Crossplane resources to the cluster

Synopsis

Apply Crossplane compositions, XRDs, and other resources to the cluster.

This command allows you to apply Crossplane resources without running the full 'up' workflow. You can apply resources from files, directories, or from the sources defined in your configuration file.

kindplane apply [flags]

Examples

  # Apply compositions from the config file
  kindplane apply --from-config

  # Apply a single file
  kindplane apply --file ./compositions/database.yaml

  # Apply all files in a directory
  kindplane apply --directory ./compositions

  # Apply recursively from a directory
  kindplane apply --directory ./crossplane --recursive

  # Dry run to see what would be applied
  kindplane apply --file ./compositions/database.yaml --dry-run

Options

  -d, --directory string   Path to a directory containing YAML files
      --dry-run            Show what would be applied without making changes
  -f, --file string        Path to a YAML file to apply
      --from-config        Apply compositions from the configuration file
  -h, --help               help for apply
  -R, --recursive          Recursively apply files from subdirectories
      --timeout duration   Timeout for apply operation (default 5m0s)

Options inherited from parent commands

  -c, --config string   config file (default is ./kindplane.yaml)
  -V, --verbose         verbose output

SEE ALSO

  • kindplane - Bootstrap Kind clusters with Crossplane