From 9d8fd307ead41c7f3bb85fa031ed9b0818f53bdc Mon Sep 17 00:00:00 2001 From: Jason Gilfoil Date: Sun, 25 Feb 2024 00:20:55 +0000 Subject: [PATCH] fix system-upgrade-controller namespace --- .../system-upgrade-controller/app/rbac.yaml | 2 +- .../system-upgrade-controller/plans/ks.yaml | 26 ------------------- 2 files changed, 1 insertion(+), 27 deletions(-) delete mode 100644 kubernetes/apps/kube-system/system-upgrade-controller/plans/ks.yaml diff --git a/kubernetes/apps/kube-system/system-upgrade-controller/app/rbac.yaml b/kubernetes/apps/kube-system/system-upgrade-controller/app/rbac.yaml index 123677c2..fbe57a5a 100644 --- a/kubernetes/apps/kube-system/system-upgrade-controller/app/rbac.yaml +++ b/kubernetes/apps/kube-system/system-upgrade-controller/app/rbac.yaml @@ -10,4 +10,4 @@ roleRef: subjects: - kind: ServiceAccount name: system-upgrade - namespace: system-upgrade + namespace: kube-system diff --git a/kubernetes/apps/kube-system/system-upgrade-controller/plans/ks.yaml b/kubernetes/apps/kube-system/system-upgrade-controller/plans/ks.yaml deleted file mode 100644 index 1423dbbe..00000000 --- a/kubernetes/apps/kube-system/system-upgrade-controller/plans/ks.yaml +++ /dev/null @@ -1,26 +0,0 @@ ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: &app system-upgrade-k3s - namespace: flux-system -spec: - targetNamespace: system-upgrade - commonMetadata: - labels: - app.kubernetes.io/name: *app - dependsOn: - - name: system-upgrade-controller - path: ./kubernetes/apps/system-upgrade/k3s/app - prune: true - sourceRef: - kind: GitRepository - name: home-kubernetes - wait: false - interval: 30m - retryInterval: 1m - timeout: 5m - postBuild: - substitute: - # renovate: datasource=github-releases depName=k3s-io/k3s - KUBE_VERSION: v1.29.1+k3s2