Skip to content

Commit

Permalink
Change image tag to 'v2'
Browse files Browse the repository at this point in the history
This change avoids the constant pinning of versions
in the chart, with a follow-up chart release in case it changes.

Signed-off-by: ccremer <[email protected]>
  • Loading branch information
ccremer committed Jul 14, 2022
1 parent 6e630e3 commit ed8bb57
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
2 changes: 2 additions & 0 deletions charts/k8up/README.gotmpl.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ In most cases this shouldn't be an issue and Helm should be able to cleanup the

* New parameter: `podAnnotations`, default `{}`.
* New parameter: `service.annotations`, default `{}`.
* Parameter changed: `image.tag` now defaults to `v2` instead of a pinned version.
* Parameter changed: `image.pullPolicy` now defaults to `Always` instead of `IfNotPresent`.
* Note: Renamed ClusterRole `${release-name}-manager-role` to `${release-name}-manager`.
* Note: Spec of ClusterRole `${release-name}-leader-election-role` moved to `${release-name}-manager`.
* Note: Renamed ClusterRoleBinding `${release-name}-manager-rolebinding` to `${release-name}`.
Expand Down
8 changes: 5 additions & 3 deletions charts/k8up/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ Document your changes in values.yaml and let `make docs:helm` generate this sect
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| affinity | object | `{}` | |
| image.pullPolicy | string | `"IfNotPresent"` | Operator image pull policy |
| image.pullPolicy | string | `"Always"` | Operator image pull policy |
| image.registry | string | `"ghcr.io"` | Operator image registry |
| image.repository | string | `"k8up-io/k8up"` | Operator image repository |
| image.tag | string | `"v2.3.2"` | Operator image tag (version) |
| image.tag | string | `"v2"` | Operator image tag (version) |
| imagePullSecrets | list | `[]` | |
| k8up.backupImage.repository | string | `"ghcr.io/k8up-io/k8up"` | The backup runner image repository |
| k8up.backupImage.tag | string | `"v2.3.2"` | The backup runner image tag |
| k8up.backupImage.tag | string | `"v2"` | The backup runner image tag |
| k8up.enableLeaderElection | bool | `true` | Specifies whether leader election should be enabled. |
| k8up.envVars | list | `[]` | envVars allows the specification of additional environment variables. See [values.yaml](values.yaml) how to specify See documentation which variables are supported. |
| k8up.globalResources | object | empty values | Specify the resource requests and limits that the Pods should have when they are scheduled by K8up. You are still able to override those via K8up resources, but this gives cluster administrators custom defaults. |
Expand Down Expand Up @@ -112,6 +112,8 @@ In most cases this shouldn't be an issue and Helm should be able to cleanup the

* New parameter: `podAnnotations`, default `{}`.
* New parameter: `service.annotations`, default `{}`.
* Parameter changed: `image.tag` now defaults to `v2` instead of a pinned version.
* Parameter changed: `image.pullPolicy` now defaults to `Always` instead of `IfNotPresent`.
* Note: Renamed ClusterRole `${release-name}-manager-role` to `${release-name}-manager`.
* Note: Spec of ClusterRole `${release-name}-leader-election-role` moved to `${release-name}-manager`.
* Note: Renamed ClusterRoleBinding `${release-name}-manager-rolebinding` to `${release-name}`.
Expand Down
6 changes: 3 additions & 3 deletions charts/k8up/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
replicaCount: 1
image:
# -- Operator image pull policy
pullPolicy: IfNotPresent
pullPolicy: Always
# -- Operator image registry
registry: ghcr.io
# -- Operator image repository
repository: k8up-io/k8up
# -- Operator image tag (version)
tag: v2.3.2
tag: v2

imagePullSecrets: []
serviceAccount:
Expand All @@ -35,7 +35,7 @@ k8up:
# -- The backup runner image repository
repository: ghcr.io/k8up-io/k8up
# -- The backup runner image tag
tag: v2.3.2
tag: v2

# -- Specifies the timezone K8up is using for scheduling.
# Empty value defaults to the timezone in which Kubernetes is deployed.
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/how-tos/installation.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

The most convenient way to install K8up is using https://helm.sh/[helm].

Please refer to the installation instructions in the https://github.com/appuio/charts/tree/master/appuio/k8up[Helm chart].
Please refer to the separate installation instructions in the https://github.com/k8up-io/k8up/tree/master/charts/k8up[Helm chart].

== Kustomize

Expand Down

0 comments on commit ed8bb57

Please sign in to comment.