Skip to content

Instantly share code, notes, and snippets.

@Danil-Grigorev
Last active April 3, 2024 15:58
Show Gist options
  • Save Danil-Grigorev/0a1e629090772330bf817176ed99f324 to your computer and use it in GitHub Desktop.
Save Danil-Grigorev/0a1e629090772330bf817176ed99f324 to your computer and use it in GitHub Desktop.
Crust-gather rancher cluster. This consists of 2 configs - 1 for rancher cluster and the other for child cluster provisioned by CAPI
filters:
- include_kind:
- Node
- Namespace
- CustomResourceDefinition
- include_group:
- management.cattle.io/.*
- provisioning.cattle.io/.*
- include_namespace:
- cattle.*
- fleet.*
- kube-system
settings:
insecure_skip_tls_verify: true
secrets_file: secrets.txt
filters:
- include_group:
- .*cluster.x-k8s.io/.*
- turtles-capi.cattle.io/.*
- include_kind:
- CustomResourceDefinition
- Node
- Namespace
- include_group:
- management.cattle.io/.*
- provisioning.cattle.io/.*
- include_namespace:
- rancher-turtles-system
- capi-.*
- cattle.*
- fleet.*
- c-.*
- rke2.*
- cert-manager
- kube-system
settings:
insecure_skip_tls_verify: true
secrets_file: secrets.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment