feat(cluster): move system-upgrade-controller to crds and apps

Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
Devin Buhl committed 2022-04-15 21:56:30 -04:00
1 parent b1183c4528
commit 09a6bfcb79
11 files changed
+36 -11

No files matched your search

@@ -2,5 +2,11 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- server-plan.yaml
- agent-plan.yaml
- github.com/rancher/system-upgrade-controller?ref=v0.9.1
- plans
images:
- name: rancher/system-upgrade-controller
newName: docker.io/rancher/system-upgrade-controller
newTag: v0.9.1
patchesStrategicMerge:
- ./system-upgrade-patches.yaml
@@ -0,0 +1,6 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- agent.yaml
- server.yaml
@@ -0,0 +1,9 @@
---
# Namespace should already exist
# Delete the system-upgrade namespace
# from the kustomization
$patch: delete
apiVersion: v1
kind: Namespace
metadata:
name: system-upgrade
-1
View File
@@ -5,4 +5,3 @@ resources:
- cert-manager
- kube-system
- metallb-system
- system-upgrade
@@ -4,3 +4,4 @@ resources:
- cert-manager.yaml
- metallb-system.yaml
- networking.yaml
- system-upgrade.yaml
@@ -0,0 +1,5 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: system-upgrade
@@ -1,8 +0,0 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- github.com/rancher/system-upgrade-controller?ref=v0.9.1
images:
- name: rancher/system-upgrade-controller
newTag: v0.9.1
+1
View File
@@ -2,4 +2,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- cert-manager
- system-upgrade-controller
- traefik
@@ -0,0 +1,6 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
# renovate: registryUrl=https://github.com/rancher/system-upgrade-controller
- https://github.com/rancher/system-upgrade-controller/releases/download/v0.9.1/crd.yaml