From d584f22e9181b6f6d1a247825365a746825bf9a8 Mon Sep 17 00:00:00 2001 From: Zack Hodgson Brady Date: Thu, 30 Nov 2023 18:52:42 -0500 Subject: [PATCH] more fleet updates --- examples/custom/fleet.yaml | 8 ++++++++ examples/custom/values-custom.yaml | 2 +- examples/fleet/{gitrepo.yaml => gitrepo-aws.yaml} | 2 +- examples/fleet/gitrepo-custom.yaml | 10 ++++++++++ 4 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 examples/custom/fleet.yaml rename examples/fleet/{gitrepo.yaml => gitrepo-aws.yaml} (85%) create mode 100644 examples/fleet/gitrepo-custom.yaml diff --git a/examples/custom/fleet.yaml b/examples/custom/fleet.yaml new file mode 100644 index 0000000..2cf1a33 --- /dev/null +++ b/examples/custom/fleet.yaml @@ -0,0 +1,8 @@ +defaultNamespace: fleet-default +helm: + repo: https://rancherfederal.github.io/rancher-cluster-templates + chart: rancher-cluster-templates + version: 0.3.0 + releaseName: custom-cluster + valuesFiles: + - values-custom.yaml \ No newline at end of file diff --git a/examples/custom/values-custom.yaml b/examples/custom/values-custom.yaml index 7aaf66f..9de1197 100644 --- a/examples/custom/values-custom.yaml +++ b/examples/custom/values-custom.yaml @@ -7,7 +7,7 @@ rancher: cluster: annotations: {} labels: {} - name: custom-rke2-cluster + name: rke2-cluster-custom config: systemDefaultRegistry: docker.io kubernetesVersion: v1.25.15+rke2r2 diff --git a/examples/fleet/gitrepo.yaml b/examples/fleet/gitrepo-aws.yaml similarity index 85% rename from examples/fleet/gitrepo.yaml rename to examples/fleet/gitrepo-aws.yaml index 5d7b68c..1c4cdef 100644 --- a/examples/fleet/gitrepo.yaml +++ b/examples/fleet/gitrepo-aws.yaml @@ -1,7 +1,7 @@ kind: GitRepo apiVersion: fleet.cattle.io/v1alpha1 metadata: - name: rancher-cluster-templates + name: cluster-templates-aws namespace: fleet-local spec: branch: main diff --git a/examples/fleet/gitrepo-custom.yaml b/examples/fleet/gitrepo-custom.yaml new file mode 100644 index 0000000..fd4841c --- /dev/null +++ b/examples/fleet/gitrepo-custom.yaml @@ -0,0 +1,10 @@ +kind: GitRepo +apiVersion: fleet.cattle.io/v1alpha1 +metadata: + name: cluster-templates-custom + namespace: fleet-local +spec: + branch: main + repo: https://github.com/rancherfederal/rancher-cluster-templates + paths: + - /examples/custom \ No newline at end of file