Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pre-release: Update version to 0.112.0 #3188

Merged
merged 7 commits into from
Oct 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 37 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,38 +1,66 @@
# Release Notes

## 0.112.0

### New Features

<!-- releasenotes/notes/multi-container-run-function-d488516c0f3b22c6.yaml @ b'278e79a1ab5bc54fb1aa55d13474a49b6f319836' -->
* Introduced new Kanister function `MultiContainerRun` to run pods with two containers connected by shared volume.

<!-- releasenotes/notes/pre-release-0.112.0-78fed87c3f58d801.yaml @ b'278e79a1ab5bc54fb1aa55d13474a49b6f319836' -->
* Introduced a GRPC client/server to `kando` to run/check processes.

### Security Issues

<!-- releasenotes/notes/limit-rbac-kanister-operator-3c933af021b8d48a.yaml @ b'a9edc6dc95d8772de502cb09b386f55e20baa33f' -->
* Enhanced security by removing the default `edit` `ClusterRoleBinding` assignment, minimizing the risk of excessive permissions.

### Upgrade Notes

<!-- releasenotes/notes/limit-rbac-kanister-operator-3c933af021b8d48a.yaml @ b'a9edc6dc95d8772de502cb09b386f55e20baa33f' -->
* Users upgrading from previous versions should note that the `edit` `ClusterRoleBinding` is no longer included by default. They must now create their own `Role` / `RoleBinding` with appropriate permissions for Kanister's Service Account in the application's namespace.

### Other Notes

<!-- releasenotes/notes/pre-release-0.112.0-78fed87c3f58d801.yaml @ b'278e79a1ab5bc54fb1aa55d13474a49b6f319836' -->
* Update ubi-minimal base image to ubi-minimal:9.4-1227.1726694542.

<!-- releasenotes/notes/pre-release-0.112.0-78fed87c3f58d801.yaml @ b'278e79a1ab5bc54fb1aa55d13474a49b6f319836' -->
* Add `gci` and `unparam` linters to test packages.

## 0.111.0

### New Features

<!-- releasenotes/notes/pre-release-0.111.0-478149ddf5d56f80.yaml @ b'07949285eea9a1c7f0768bd8c8354d64278b0d82' -->
<!-- releasenotes/notes/pre-release-0.111.0-478149ddf5d56f80.yaml @ b'd207c416a800fdff15f570275f1e3dfe0ede4ffe' -->
* Add support for Read-Only and Write Access Modes when connecting to the Kopia Repository Server in `kando`.

<!-- releasenotes/notes/pre-release-0.111.0-478149ddf5d56f80.yaml @ b'07949285eea9a1c7f0768bd8c8354d64278b0d82' -->
<!-- releasenotes/notes/pre-release-0.111.0-478149ddf5d56f80.yaml @ b'd207c416a800fdff15f570275f1e3dfe0ede4ffe' -->
* Add support for Cache Size Limits to the `kopia server start` command.

<!-- releasenotes/notes/pre-release-0.111.0-478149ddf5d56f80.yaml @ b'07949285eea9a1c7f0768bd8c8354d64278b0d82' -->
<!-- releasenotes/notes/pre-release-0.111.0-478149ddf5d56f80.yaml @ b'd207c416a800fdff15f570275f1e3dfe0ede4ffe' -->
* Add support to pass labels and annotations to the methods that create/clone VolumeSnapshot and VolumeSnapshotContent resources.

<!-- releasenotes/notes/pre-release-0.111.0-478149ddf5d56f80.yaml @ b'07949285eea9a1c7f0768bd8c8354d64278b0d82' -->
<!-- releasenotes/notes/pre-release-0.111.0-478149ddf5d56f80.yaml @ b'd207c416a800fdff15f570275f1e3dfe0ede4ffe' -->
* Support `image` argument for `ExportRDSSnapshotToLocation` and `RestoreRDSSnapshot` functions to override default postgres-kanister-tools image.

<!-- releasenotes/notes/pre-release-0.111.0-478149ddf5d56f80.yaml @ b'07949285eea9a1c7f0768bd8c8354d64278b0d82' -->
<!-- releasenotes/notes/pre-release-0.111.0-478149ddf5d56f80.yaml @ b'd207c416a800fdff15f570275f1e3dfe0ede4ffe' -->
* Added support to customise the labels and annotations of the temporary pods that are created by some Kanister functions.

<!-- releasenotes/notes/pre-release-0.111.0-478149ddf5d56f80.yaml @ b'07949285eea9a1c7f0768bd8c8354d64278b0d82' -->
<!-- releasenotes/notes/pre-release-0.111.0-478149ddf5d56f80.yaml @ b'd207c416a800fdff15f570275f1e3dfe0ede4ffe' -->
* Added two new fields, `podLabels` and `podAnnotations`, to the ActionSet. These fields can be used to configure the labels and annotations of the Kanister function pod run by an ActionSet.

### Security Issues

<!-- releasenotes/notes/pre-release-0.111.0-478149ddf5d56f80.yaml @ b'07949285eea9a1c7f0768bd8c8354d64278b0d82' -->
<!-- releasenotes/notes/pre-release-0.111.0-478149ddf5d56f80.yaml @ b'd207c416a800fdff15f570275f1e3dfe0ede4ffe' -->
* Update Go to 1.22.7 to pull in latest security updates.

### Other Notes

<!-- releasenotes/notes/pre-release-0.111.0-478149ddf5d56f80.yaml @ b'07949285eea9a1c7f0768bd8c8354d64278b0d82' -->
<!-- releasenotes/notes/pre-release-0.111.0-478149ddf5d56f80.yaml @ b'd207c416a800fdff15f570275f1e3dfe0ede4ffe' -->
* Update ubi-minimal base image to ubi-minimal:9.4-1227.1725849298.

<!-- releasenotes/notes/pre-release-0.111.0-478149ddf5d56f80.yaml @ b'07949285eea9a1c7f0768bd8c8354d64278b0d82' -->
<!-- releasenotes/notes/pre-release-0.111.0-478149ddf5d56f80.yaml @ b'd207c416a800fdff15f570275f1e3dfe0ede4ffe' -->
* Add `stylecheck`, `errcheck`, and `misspel` linters to test packages.

## 0.110.0
Expand Down
37 changes: 15 additions & 22 deletions CHANGELOG_CURRENT.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,29 @@
# Release Notes

## 0.111.0
## 0.112.0

## New Features

<!-- releasenotes/notes/pre-release-0.111.0-478149ddf5d56f80.yaml @ b'07949285eea9a1c7f0768bd8c8354d64278b0d82' -->
* Add support for Read-Only and Write Access Modes when connecting to the Kopia Repository Server in `kando`.
<!-- releasenotes/notes/multi-container-run-function-d488516c0f3b22c6.yaml @ b'278e79a1ab5bc54fb1aa55d13474a49b6f319836' -->
* Introduced new Kanister function `MultiContainerRun` to run pods with two containers connected by shared volume.

<!-- releasenotes/notes/pre-release-0.111.0-478149ddf5d56f80.yaml @ b'07949285eea9a1c7f0768bd8c8354d64278b0d82' -->
* Add support for Cache Size Limits to the `kopia server start` command.
<!-- releasenotes/notes/pre-release-0.112.0-78fed87c3f58d801.yaml @ b'278e79a1ab5bc54fb1aa55d13474a49b6f319836' -->
* Introduced a GRPC client/server to `kando` to run/check processes.

<!-- releasenotes/notes/pre-release-0.111.0-478149ddf5d56f80.yaml @ b'07949285eea9a1c7f0768bd8c8354d64278b0d82' -->
* Add support to pass labels and annotations to the methods that create/clone VolumeSnapshot and VolumeSnapshotContent resources.

<!-- releasenotes/notes/pre-release-0.111.0-478149ddf5d56f80.yaml @ b'07949285eea9a1c7f0768bd8c8354d64278b0d82' -->
* Support `image` argument for `ExportRDSSnapshotToLocation` and `RestoreRDSSnapshot` functions to override default postgres-kanister-tools image.

<!-- releasenotes/notes/pre-release-0.111.0-478149ddf5d56f80.yaml @ b'07949285eea9a1c7f0768bd8c8354d64278b0d82' -->
* Added support to customise the labels and annotations of the temporary pods that are created by some Kanister functions.
## Security Issues

<!-- releasenotes/notes/pre-release-0.111.0-478149ddf5d56f80.yaml @ b'07949285eea9a1c7f0768bd8c8354d64278b0d82' -->
* Added two new fields, `podLabels` and `podAnnotations`, to the ActionSet. These fields can be used to configure the labels and annotations of the Kanister function pod run by an ActionSet.
<!-- releasenotes/notes/limit-rbac-kanister-operator-3c933af021b8d48a.yaml @ b'a9edc6dc95d8772de502cb09b386f55e20baa33f' -->
* Enhanced security by removing the default `edit` `ClusterRoleBinding` assignment, minimizing the risk of excessive permissions.

## Security Issues
## Upgrade Notes

<!-- releasenotes/notes/pre-release-0.111.0-478149ddf5d56f80.yaml @ b'07949285eea9a1c7f0768bd8c8354d64278b0d82' -->
* Update Go to 1.22.7 to pull in latest security updates.
<!-- releasenotes/notes/limit-rbac-kanister-operator-3c933af021b8d48a.yaml @ b'a9edc6dc95d8772de502cb09b386f55e20baa33f' -->
* Users upgrading from previous versions should note that the `edit` `ClusterRoleBinding` is no longer included by default. They must now create their own `Role` / `RoleBinding` with appropriate permissions for Kanister's Service Account in the application's namespace.

## Other Notes

<!-- releasenotes/notes/pre-release-0.111.0-478149ddf5d56f80.yaml @ b'07949285eea9a1c7f0768bd8c8354d64278b0d82' -->
* Update ubi-minimal base image to ubi-minimal:9.4-1227.1725849298.
<!-- releasenotes/notes/pre-release-0.112.0-78fed87c3f58d801.yaml @ b'278e79a1ab5bc54fb1aa55d13474a49b6f319836' -->
* Update ubi-minimal base image to ubi-minimal:9.4-1227.1726694542.

<!-- releasenotes/notes/pre-release-0.111.0-478149ddf5d56f80.yaml @ b'07949285eea9a1c7f0768bd8c8354d64278b0d82' -->
* Add `stylecheck`, `errcheck`, and `misspel` linters to test packages.
<!-- releasenotes/notes/pre-release-0.112.0-78fed87c3f58d801.yaml @ b'278e79a1ab5bc54fb1aa55d13474a49b6f319836' -->
* Add `gci` and `unparam` linters to test packages.
2 changes: 1 addition & 1 deletion examples/aws-rds/postgresql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This example is to demonstrate how Kanister can be integrated with AWS RDS insta
## Prerequisites

- Kubernetes 1.10+
- Kanister controller version 0.111.0 installed in your cluster
- Kanister controller version 0.112.0 installed in your cluster
- Kanctl CLI installed (https://docs.kanister.io/tooling.html#kanctl)

## Create RDS instance on AWS
Expand Down
6 changes: 3 additions & 3 deletions examples/aws-rds/postgresql/rds-postgres-blueprint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ actions:
- func: KubeTask
name: backupSnapshots
args:
image: "ghcr.io/kanisterio/postgres-kanister-tools:0.111.0"
image: "ghcr.io/kanisterio/postgres-kanister-tools:0.112.0"
namespace: "{{ .Object.metadata.namespace }}"
command:
- bash
Expand Down Expand Up @@ -53,7 +53,7 @@ actions:
- func: KubeTask
name: restoreSnapshots
args:
image: "ghcr.io/kanisterio/postgres-kanister-tools:0.111.0"
image: "ghcr.io/kanisterio/postgres-kanister-tools:0.112.0"
namespace: "{{ .Object.metadata.namespace }}"
command:
- bash
Expand Down Expand Up @@ -90,7 +90,7 @@ actions:
- func: KubeTask
name: restoreSnapshots
args:
image: "ghcr.io/kanisterio/postgres-kanister-tools:0.111.0"
image: "ghcr.io/kanisterio/postgres-kanister-tools:0.112.0"
namespace: "{{ .Namespace.Name }}"
command:
- bash
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ actions:
name: deleteBackup
args:
namespace: "{{ .Namespace.Name }}"
image: ghcr.io/kanisterio/kanister-tools:0.111.0
image: ghcr.io/kanisterio/kanister-tools:0.112.0
command:
- bash
- -o
Expand Down
4 changes: 2 additions & 2 deletions examples/cassandra/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ As the official documentation of [Cassandra](http://cassandra.apache.org/) says,
* Kubernetes 1.9+
* Kubernetes beta APIs enabled only if `podDisruptionBudget` is enabled
* PV support on the underlying infrastructure
* Kanister controller version 0.111.0 installed in your cluster, let's say in namespace `<kanister-operator-namespace>`
* Kanister controller version 0.112.0 installed in your cluster, let's say in namespace `<kanister-operator-namespace>`
* Kanctl CLI installed (https://docs.kanister.io/tooling.html#kanctl)

To install kanister and related tools you can follow [this](https://docs.kanister.io/install.html#install) link.
Expand All @@ -29,7 +29,7 @@ $ helm repo add bitnami https://charts.bitnami.com/bitnami
$ helm repo update
# remove app-namespace with the namespace you want to deploy the Cassandra app in
$ kubectl create ns <app-namespace>
$ helm install cassandra bitnami/cassandra --namespace <app-namespace> --set image.repository=kanisterio/cassandra --set image.tag=0.111.0 --set cluster.replicaCount=2 --set image.registry=ghcr.io --set image.pullPolicy=Always
$ helm install cassandra bitnami/cassandra --namespace <app-namespace> --set image.repository=kanisterio/cassandra --set image.tag=0.112.0 --set cluster.replicaCount=2 --set image.registry=ghcr.io --set image.pullPolicy=Always


```
Expand Down
2 changes: 1 addition & 1 deletion examples/cassandra/cassandra-blueprint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ actions:
name: restoreFromObjectStore
args:
namespace: "{{ .StatefulSet.Namespace }}"
image: ghcr.io/kanisterio/kanister-tools:0.111.0
image: ghcr.io/kanisterio/kanister-tools:0.112.0
backupArtifactPrefix: "{{ .ArtifactsIn.params.KeyValue.backupPrefixLocation }}"
pods: "{{ range .StatefulSet.Pods }} {{.}}{{end}}"
restorePath: "{{ .ArtifactsIn.params.KeyValue.restorePathPrefix }}"
Expand Down
2 changes: 1 addition & 1 deletion examples/cockroachdb/cockroachdb-blueprint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ actions:
- func: KubeTask
name: deleteFromS3Store
args:
image: ghcr.io/kanisterio/kanister-tools:0.111.0
image: ghcr.io/kanisterio/kanister-tools:0.112.0
namespace: "{{ .Namespace.Name }}"
command:
- bash
Expand Down
6 changes: 3 additions & 3 deletions examples/couchbase/blueprint-v2/couchbase-blueprint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ actions:
namespace: "{{ .Object.metadata.namespace }}"
args:
namespace: "{{ .Object.metadata.namespace }}"
image: ghcr.io/kanisterio/couchbase-tools:0.111.0
image: ghcr.io/kanisterio/couchbase-tools:0.112.0
command:
- bash
- -o
Expand Down Expand Up @@ -58,7 +58,7 @@ actions:
namespace: "{{ .Object.metadata.namespace }}"
args:
namespace: "{{ .Object.metadata.namespace }}"
image: ghcr.io/kanisterio/couchbase-tools:0.111.0
image: ghcr.io/kanisterio/couchbase-tools:0.112.0
command:
- bash
- -o
Expand Down Expand Up @@ -89,7 +89,7 @@ actions:
name: deleteBackup
args:
namespace: "{{ .Namespace.Name }}"
image: ghcr.io/kanisterio/couchbase-tools:0.111.0
image: ghcr.io/kanisterio/couchbase-tools:0.112.0
command:
- bash
- -o
Expand Down
2 changes: 1 addition & 1 deletion examples/couchbase/couchbase-blueprint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ actions:
name: deleteBackup
args:
namespace: "{{ .Namespace.Name }}"
image: ghcr.io/kanisterio/kanister-tools:0.111.0
image: ghcr.io/kanisterio/kanister-tools:0.112.0
command:
- bash
- -o
Expand Down
2 changes: 1 addition & 1 deletion examples/csi-snapshot/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This example demonstrates Kanister's ability to protect an application called Ti

- Helm 3 installed
- Kubernetes 1.16+ with Beta APIs enabled
- Kanister controller version 0.111.0 installed in the cluster, let's assume in namespace `kanister`
- Kanister controller version 0.112.0 installed in the cluster, let's assume in namespace `kanister`
- Kanctl CLI installed (https://docs.kanister.io/tooling.html#install-the-tools)
- VolumeSnapshot CRDs, Snapshot Controller & a CSI Driver

Expand Down
4 changes: 2 additions & 2 deletions examples/elasticsearch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ moving on to Elasticsearch 6.0.

* Kubernetes 1.20+
* PV provisioner support in the underlying infrastructure
* Kanister controller version 0.111.0 installed in your cluster
* Kanister controller version 0.112.0 installed in your cluster
* Kanctl CLI installed (https://docs.kanister.io/tooling.html#install-the-tools)

## StatefulSets Details
Expand Down Expand Up @@ -74,7 +74,7 @@ Add Kanister Helm repository and install Kanister operator
```bash
$ helm repo add kanister https://charts.kanister.io
$ helm install kanister --namespace kanister --create-namespace \
kanister/kanister-operator --set image.tag=0.111.0
kanister/kanister-operator --set image.tag=0.112.0
```

### Create Profile
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ actions:
namespace: "{{ .StatefulSet.Namespace }}"
args:
namespace: "{{ .StatefulSet.Namespace }}"
image: "ghcr.io/kanisterio/es-sidecar:0.111.0"
image: "ghcr.io/kanisterio/es-sidecar:0.112.0"
command:
- bash
- -o
Expand Down Expand Up @@ -50,7 +50,7 @@ actions:
namespace: "{{ .StatefulSet.Namespace }}"
args:
namespace: "{{ .StatefulSet.Namespace }}"
image: "ghcr.io/kanisterio/es-sidecar:0.111.0"
image: "ghcr.io/kanisterio/es-sidecar:0.112.0"
command:
- bash
- -o
Expand All @@ -75,7 +75,7 @@ actions:
name: deleteFromStore
args:
namespace: "{{ .Namespace.Name }}"
image: "ghcr.io/kanisterio/es-sidecar:0.111.0"
image: "ghcr.io/kanisterio/es-sidecar:0.112.0"
command:
- bash
- -o
Expand Down
6 changes: 3 additions & 3 deletions examples/elasticsearch/elasticsearch-blueprint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ actions:
namespace: "{{ .StatefulSet.Namespace }}"
args:
namespace: "{{ .StatefulSet.Namespace }}"
image: "ghcr.io/kanisterio/es-sidecar:0.111.0"
image: "ghcr.io/kanisterio/es-sidecar:0.112.0"
command:
- bash
- -o
Expand Down Expand Up @@ -48,7 +48,7 @@ actions:
namespace: "{{ .StatefulSet.Namespace }}"
args:
namespace: "{{ .StatefulSet.Namespace }}"
image: "ghcr.io/kanisterio/es-sidecar:0.111.0"
image: "ghcr.io/kanisterio/es-sidecar:0.112.0"
command:
- bash
- -o
Expand All @@ -69,7 +69,7 @@ actions:
name: deleteFromObjectStore
args:
namespace: "{{ .Namespace.Name }}"
image: "ghcr.io/kanisterio/es-sidecar:0.111.0"
image: "ghcr.io/kanisterio/es-sidecar:0.112.0"
command:
- bash
- -o
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ actions:
- func: KubeTask
name: takeSnapshot
args:
image: ghcr.io/kanisterio/kanister-kubectl-1.18:0.111.0
image: ghcr.io/kanisterio/kanister-kubectl-1.18:0.112.0
command:
- sh
- -o
Expand All @@ -37,7 +37,7 @@ actions:
- func: KubeTask
name: uploadSnapshot
args:
image: ghcr.io/kanisterio/kanister-kubectl-1.18:0.111.0
image: ghcr.io/kanisterio/kanister-kubectl-1.18:0.112.0
command:
- sh
- -o
Expand All @@ -55,7 +55,7 @@ actions:
- func: KubeTask
name: removeSnapshot
args:
image: ghcr.io/kanisterio/kanister-kubectl-1.18:0.111.0
image: ghcr.io/kanisterio/kanister-kubectl-1.18:0.112.0
command:
- sh
- -o
Expand All @@ -74,7 +74,7 @@ actions:
name: deleteFromObjectStore
args:
namespace: "{{ .Namespace.Name }}"
image: "ghcr.io/kanisterio/kanister-tools:0.111.0"
image: "ghcr.io/kanisterio/kanister-tools:0.112.0"
command:
- bash
- -o
Expand Down
Loading