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