-
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.
Merge pull request #20 from projectsyn/upgrade_v1_0_0
update to work with K8up 1.0+
- Loading branch information
Showing
9 changed files
with
138 additions
and
82 deletions.
There are no files selected for viewing
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,5 +2,6 @@ _archive/ | |
_public/ | ||
.cache/ | ||
helmcharts/ | ||
crds/ | ||
manifests/ | ||
doxygen/ |
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
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
Empty file.
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,23 @@ | ||
= How to upgrade | ||
|
||
== Upgrade component from v1 to v2 | ||
|
||
K8up v1.0.0 and also the respective Helm chart v1.0.0 introduced breaking changes that also affect this component. | ||
The upgrade process of K8up itself is documented here: https://k8up.io/k8up/1.0.0/how-tos/upgrade.html. | ||
Contrary to the Helm chart, v2 of this component already ships the necessary CRDs. | ||
|
||
v2 of the component exposes the parameter `helmValues`, which is one to one passed to the Helm chart. | ||
See https://github.com/appuio/charts/tree/master/k8up[Helm Chart] for a list of supported values. | ||
|
||
TIP: The component exposes additional parameters for ease of access. | ||
|
||
=== Parameter migration | ||
|
||
- `tz` is now `helmValues.k8up.timezone`, defaults to `Etc/UTC`. | ||
- `images.k8up` is now `helmValues.image` with same subparameters. | ||
- `images.wrestic` is now `helmValues.k8up.backupImage` with same subparameters except `registry`, which is integrated in `repository`. | ||
|
||
If the target cluster is older than Kubernetes v1.16: | ||
|
||
- Set `crd=k8up-crd-legacy.yaml` | ||
- Set `helmValues.k8up.enableLeaderElection=false` |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
* xref:index.adoc[Home] | ||
* xref:how-tos/upgrade.adoc[Upgrade] | ||
* xref:references/parameters.adoc[Parameters] |
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