Update dependsOn docs

This adds the missing bundleSelector field and shows how you can configure labels in a bundle.

The feature was added in https://github.com/rancher/fleet/pull/552. There was a docs PR https://github.com/rancher/fleet/pull/574, but this was never merged.
This commit is contained in:
Bastian Hofmann 2023-01-04 17:19:39 +01:00
parent c358fc3b6e
commit aac339610e
No known key found for this signature in database
GPG Key ID: 396EEDEC01B4D92F
1 changed files with 9 additions and 0 deletions

View File

@ -67,6 +67,11 @@ defaultNamespace: default
# Default: ""
namespace: default
# Optional map of labels, that are set at the bundle and can be used in a
# dependsOn.bundleSelector
labels:
key: value
kustomize:
# Use a custom folder for kustomize resources. This folder must contain
# a kustomization.yaml file.
@ -221,6 +226,10 @@ dependsOn:
# Format: <GITREPO-NAME>-<BUNDLE_PATH> with all path separators replaced by "-"
# Example: GitRepo name "one", Bundle path "/multi-cluster/hello-world" => "one-multi-cluster-hello-world"
- name: one-multi-cluster-hello-world
# Select bundles to depend on based on their label.
- bundleSelector:
matchLabels:
app: weak-monkey
```
### Private Helm Repositories