From 294c398c862ec50154767cd79f93f58f6c6e1100 Mon Sep 17 00:00:00 2001 From: Ultradesu Date: Wed, 16 Apr 2025 17:59:15 +0300 Subject: [PATCH] Added rancher --- k8s/core/rancher/app.yaml | 18 ++++++++++++++++++ k8s/core/rancher/kustomization.yaml | 15 +++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 k8s/core/rancher/app.yaml create mode 100644 k8s/core/rancher/kustomization.yaml diff --git a/k8s/core/rancher/app.yaml b/k8s/core/rancher/app.yaml new file mode 100644 index 0000000..8d32541 --- /dev/null +++ b/k8s/core/rancher/app.yaml @@ -0,0 +1,18 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: rancher + namespace: argocd +spec: + project: core + destination: + namespace: rancher + server: https://kubernetes.default.svc + source: + repoURL: ssh://git@gt.hexor.cy:30022/ab/homelab.git + targetRevision: HEAD + path: k8s/core/rancher + syncPolicy: + syncOptions: + - CreateNamespace=true + diff --git a/k8s/core/rancher/kustomization.yaml b/k8s/core/rancher/kustomization.yaml new file mode 100644 index 0000000..9084f1d --- /dev/null +++ b/k8s/core/rancher/kustomization.yaml @@ -0,0 +1,15 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization + +resources: + - app.yaml + +helmCharts: + - name: rancher + repo: https://releases.rancher.com/server-charts/stable + version: 2.10.3 + releaseName: rancher + namespace: rancher + includeCRDs: true + #valuesFile: values.yaml +