generated from willianpaixao/cluster-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3500265
commit d97a031
Showing
12 changed files
with
138 additions
and
86 deletions.
There are no files selected for viewing
1 change: 0 additions & 1 deletion
1
bootstrap/templates/kubernetes/apps/kube-system/kubelet-csr-approver/.mjfilter.py
This file was deleted.
Oops, something went wrong.
32 changes: 0 additions & 32 deletions
32
bootstrap/templates/kubernetes/apps/kube-system/kubelet-csr-approver/app/helmrelease.yaml.j2
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
bootstrap/templates/kubernetes/apps/kube-system/kubelet-csr-approver/ks.yaml.j2
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- ./helmrelease.yaml | ||
- plan.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
--- | ||
apiVersion: upgrade.cattle.io/v1 | ||
kind: Plan | ||
metadata: | ||
name: controllers | ||
namespace: system-upgrade | ||
spec: | ||
version: "${KUBE_VERSION}" | ||
upgrade: | ||
image: rancher/k3s-upgrade | ||
serviceAccountName: system-upgrade | ||
concurrency: 1 | ||
cordon: true | ||
nodeSelector: | ||
matchExpressions: | ||
- key: node-role.kubernetes.io/control-plane | ||
operator: Exists | ||
tolerations: | ||
- effect: NoSchedule | ||
operator: Exists | ||
- effect: NoExecute | ||
operator: Exists | ||
- key: node-role.kubernetes.io/control-plane | ||
effect: NoSchedule | ||
operator: Exists | ||
- key: node-role.kubernetes.io/master | ||
effect: NoSchedule | ||
operator: Exists | ||
- key: node-role.kubernetes.io/etcd | ||
effect: NoExecute | ||
operator: Exists | ||
- key: CriticalAddonsOnly | ||
operator: Exists | ||
--- | ||
apiVersion: upgrade.cattle.io/v1 | ||
kind: Plan | ||
metadata: | ||
name: workers | ||
namespace: system-upgrade | ||
spec: | ||
version: "${KUBE_VERSION}" | ||
serviceAccountName: system-upgrade | ||
concurrency: 1 | ||
nodeSelector: | ||
matchExpressions: | ||
- key: node-role.kubernetes.io/control-plane | ||
operator: DoesNotExist | ||
prepare: | ||
image: rancher/k3s-upgrade | ||
args: ["prepare", "controllers"] | ||
drain: | ||
force: true | ||
skipWaitForDeleteTimeout: 60 | ||
upgrade: | ||
image: rancher/k3s-upgrade |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/kustomization-kustomize-v1.json | ||
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/raspberry/system-upgrade/k3s/app | ||
prune: true | ||
sourceRef: | ||
kind: GitRepository | ||
name: flux-system | ||
wait: false | ||
interval: 1h | ||
retryInterval: 1m | ||
timeout: 5m | ||
postBuild: | ||
substitute: | ||
# renovate: datasource=github-releases depName=k3s-io/k3s | ||
KUBE_VERSION: v1.31.1+k3s1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- k3s/ks.yaml | ||
- namespace.yaml | ||
- system-upgrade-controller/ks.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: system-upgrade | ||
labels: | ||
kustomize.toolkit.fluxcd.io/prune: disabled | ||
pod-security.kubernetes.io/enforce: privileged |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters