Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
system-charts
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rancher商店
system-charts
Commits
0f63cadf
Commit
0f63cadf
authored
Feb 21, 2020
by
rmweir
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add system-upgrade-controller v0.3.0-rc1
parent
257371cd
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
140 additions
and
0 deletions
+140
-0
.helmignore
charts/rancher-k3s-upgrader/.helmignore
+23
-0
Chart.yaml
charts/rancher-k3s-upgrader/v0.0.1/Chart.yaml
+8
-0
questions.yml
charts/rancher-k3s-upgrader/v0.0.1/questions.yml
+1
-0
NOTES.txt
charts/rancher-k3s-upgrader/v0.0.1/templates/NOTES.txt
+4
-0
_helpers.tpl
charts/rancher-k3s-upgrader/v0.0.1/templates/_helpers.tpl
+9
-0
clusterrolebinding.yaml
...her-k3s-upgrader/v0.0.1/templates/clusterrolebinding.yaml
+12
-0
configmap.yaml
charts/rancher-k3s-upgrader/v0.0.1/templates/configmap.yaml
+15
-0
deployment.yaml
charts/rancher-k3s-upgrader/v0.0.1/templates/deployment.yaml
+53
-0
namespace.yaml
charts/rancher-k3s-upgrader/v0.0.1/templates/namespace.yaml
+4
-0
serviceaccount.yaml
...rancher-k3s-upgrader/v0.0.1/templates/serviceaccount.yaml
+5
-0
values.yaml
charts/rancher-k3s-upgrader/v0.0.1/values.yaml
+6
-0
No files found.
charts/rancher-k3s-upgrader/.helmignore
0 → 100644
View file @
0f63cadf
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
charts/rancher-k3s-upgrader/v0.0.1/Chart.yaml
0 → 100644
View file @
0f63cadf
apiVersion
:
v1
name
:
rancher-k3s-upgrader
description
:
Enables a k3s cluster to update itself by reacting to Plan CRs.
home
:
https://github.com/rancher/system-charts/charts/system-upgrade-controller
sources
:
-
"
https://github.com/rancher/system-charts/charts/system-upgrade-controller"
version
:
0.1.0
appVersion
:
v0.3.0-rc1
charts/rancher-k3s-upgrader/v0.0.1/questions.yml
0 → 100644
View file @
0f63cadf
rancher_min_version
:
2.4.0-rc1
charts/rancher-k3s-upgrader/v0.0.1/templates/NOTES.txt
0 → 100644
View file @
0f63cadf
You have deployed the Rancher K3s Upgrader
Version: {{ .Chart.AppVersion }}
Description: This controller enables a k3s cluster to update itself by
reacting to Plan CRs.
charts/rancher-k3s-upgrader/v0.0.1/templates/_helpers.tpl
0 → 100644
View file @
0f63cadf
{{
/*
vim
:
set
filetype
=
mustache
:
*/
}}
{{- define "system_default_registry" -}}
{{- if .Values.global.systemDefaultRegistry -}}
{{- printf "%s/" .Values.global.systemDefaultRegistry -}}
{{- else -}}
{{- "" -}}
{{- end -}}
{{- end -}}
charts/rancher-k3s-upgrader/v0.0.1/templates/clusterrolebinding.yaml
0 → 100644
View file @
0f63cadf
apiVersion
:
rbac.authorization.k8s.io/v1
kind
:
ClusterRoleBinding
metadata
:
name
:
system-upgrade
roleRef
:
apiGroup
:
rbac.authorization.k8s.io
kind
:
ClusterRole
name
:
cluster-admin
subjects
:
-
kind
:
ServiceAccount
name
:
system-upgrade
namespace
:
cattle-system
charts/rancher-k3s-upgrader/v0.0.1/templates/configmap.yaml
0 → 100644
View file @
0f63cadf
apiVersion
:
v1
kind
:
ConfigMap
metadata
:
name
:
default-controller-env
namespace
:
cattle-system
data
:
SYSTEM_UPGRADE_CONTROLLER_DEBUG
:
{{
.Values.systemUpgradeControllerDebug | default "false" | quote
}}
SYSTEM_UPGRADE_CONTROLLER_THREADS
:
{{
.Values.systemUpgradeControllerThreads | default "2" | quote
}}
SYSTEM_UPGRADE_JOB_ACTIVE_DEADLINE_SECONDS
:
{{
.Values.systemUpgradeJobActiveDeadlineSeconds | default "900" | quote
}}
SYSTEM_UPGRADE_JOB_BACKOFF_LIMIT
:
{{
.Values.systemUpgradeJobBackoffLimit | default "2" | quote
}}
SYSTEM_UPGRADE_JOB_IMAGE_PULL_POLICY
:
{{
.Values.systemUpgradeJobImagePullPolicy | default "IfNotPresent" | quote
}}
SYSTEM_UPGRADE_JOB_KUBECTL_IMAGE
:
{{
.Values.systemUpgradeJobKubectlImage | default "rancher/kubectl
:
v1.17.0" | quote
}}
SYSTEM_UPGRADE_JOB_PRIVILEGED
:
{{
.Values.systemUpgradeJobPrivileged | default "true" | quote
}}
SYSTEM_UPGRADE_PLAN_POLLING_INTERVAL
:
{{
.Values.systemUpgradePlanRollingInterval | default "15m" | quote
}}
charts/rancher-k3s-upgrader/v0.0.1/templates/deployment.yaml
0 → 100644
View file @
0f63cadf
apiVersion
:
apps/v1
kind
:
Deployment
metadata
:
name
:
system-upgrade-controller
namespace
:
cattle-system
spec
:
selector
:
matchLabels
:
upgrade.cattle.io/controller
:
system-upgrade-controller
template
:
metadata
:
labels
:
upgrade.cattle.io/controller
:
system-upgrade-controller
# necessary to avoid drain
spec
:
affinity
:
nodeAffinity
:
requiredDuringSchedulingIgnoredDuringExecution
:
nodeSelectorTerms
:
-
matchExpressions
:
-
{
key
:
"
node-role.kubernetes.io/master"
,
operator
:
In
,
values
:
[
"
true"
]}
serviceAccountName
:
system-upgrade
tolerations
:
-
key
:
"
node.kubernetes.io/unschedulable"
# necessary to avoid cordon/drain
operator
:
"
Exists"
effect
:
"
NoSchedule"
containers
:
-
name
:
system-upgrade-controller
image
:
{{
template "system_default_registry" .
}}{{
.Values.image.repository
}}
:{{ .Values.image.tag }}
imagePullPolicy
:
IfNotPresent
envFrom
:
-
configMapRef
:
name
:
default-controller-env
env
:
-
name
:
SYSTEM_UPGRADE_CONTROLLER_NAME
valueFrom
:
fieldRef
:
fieldPath
:
metadata.labels['upgrade.cattle.io/controller']
-
name
:
SYSTEM_UPGRADE_CONTROLLER_NAMESPACE
valueFrom
:
fieldRef
:
fieldPath
:
metadata.namespace
volumeMounts
:
-
name
:
etc-ssl
mountPath
:
/etc/ssl
-
name
:
tmp
mountPath
:
/tmp
volumes
:
-
name
:
etc-ssl
hostPath
:
path
:
/etc/ssl
type
:
Directory
-
name
:
tmp
emptyDir
:
{}
charts/rancher-k3s-upgrader/v0.0.1/templates/namespace.yaml
0 → 100644
View file @
0f63cadf
apiVersion
:
v1
kind
:
Namespace
metadata
:
name
:
cattle-system
charts/rancher-k3s-upgrader/v0.0.1/templates/serviceaccount.yaml
0 → 100644
View file @
0f63cadf
apiVersion
:
v1
kind
:
ServiceAccount
metadata
:
name
:
system-upgrade
namespace
:
cattle-system
charts/rancher-k3s-upgrader/v0.0.1/values.yaml
0 → 100644
View file @
0f63cadf
global
:
systemDefaultRegistry
:
"
"
image
:
repository
:
rancher/system-upgrade-controller
tag
:
v0.3.0-rc1
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment