Skip to content

Commit

Permalink
feat(helm): install system-upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
willianpaixao committed Oct 28, 2024
1 parent 3500265 commit 8cd8b78
Show file tree
Hide file tree
Showing 23 changed files with 52 additions and 335 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

26 changes: 0 additions & 26 deletions bootstrap/templates/kubernetes/apps/system-upgrade/k3s/ks.yaml.j2

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

7 changes: 0 additions & 7 deletions kubernetes/main/apps/system-upgrade/kustomization.yaml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./plan.yaml
- plan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: upgrade.cattle.io/v1
kind: Plan
metadata:
name: controllers
namespace: system-upgrade
spec:
version: "${KUBE_VERSION}"
upgrade:
Expand Down Expand Up @@ -35,6 +36,7 @@ apiVersion: upgrade.cattle.io/v1
kind: Plan
metadata:
name: workers
namespace: system-upgrade
spec:
version: "${KUBE_VERSION}"
serviceAccountName: system-upgrade
Expand All @@ -46,5 +48,8 @@ spec:
prepare:
image: rancher/k3s-upgrade
args: ["prepare", "controllers"]
drain:
force: true
skipWaitForDeleteTimeout: 60
upgrade:
image: rancher/k3s-upgrade
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ spec:
app.kubernetes.io/name: *app
dependsOn:
- name: system-upgrade-controller
path: ./kubernetes/main/apps/system-upgrade/k3s/app
path: ./kubernetes/raspberry/system-upgrade/k3s/app
prune: true
sourceRef:
kind: GitRepository
name: home-kubernetes
name: flux-system
wait: false
interval: 30m
interval: 1h
retryInterval: 1m
timeout: 5m
postBuild:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./plan.yaml
- k3s/ks.yaml
- namespace.yaml
- system-upgrade-controller/ks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ metadata:
name: system-upgrade
labels:
kustomize.toolkit.fluxcd.io/prune: disabled
pod-security.kubernetes.io/enforce: privileged
Loading

0 comments on commit 8cd8b78

Please sign in to comment.