Skip to content

Commit

Permalink
Prepare for 1.0.0
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Scholz <[email protected]>
  • Loading branch information
scholzj committed Sep 27, 2023
1 parent 8bc66cd commit 4704274
Show file tree
Hide file tree
Showing 12 changed files with 22 additions and 28 deletions.
12 changes: 6 additions & 6 deletions helm-charts/helm3/strimzi-drain-cleaner/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
apiVersion: v2
appVersion: 0.5.0
description: Utility which helps with moving the Apache Kafka pods deployed by Strimzi
from Kubernetes nodes which are being drained.
home: https://strimzi.io/
appVersion: 1.0.0
description: Utility which helps with moving the Apache Kafka pods deployed by Strimzi from Kubernetes nodes which are being drained.
name: strimzi-drain-cleaner
icon: https://raw.githubusercontent.com/strimzi/strimzi-kafka-operator/main/documentation/logo/strimzi_logo.png
type: application
version: 0.1.0
home: https://strimzi.io/
sources:
- https://github.com/strimzi/drain-cleaner
type: application
version: 0.5.0
18 changes: 6 additions & 12 deletions helm-charts/helm3/strimzi-drain-cleaner/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,16 +101,10 @@ Strimzi is licensed under the [Apache License](https://github.com/strimzi/drain-

## Installing the Chart

Add the Strimzi Helm Chart repository:
To install the chart with the release name `my-strimzi-drain-cleaner`:

```bash
$ helm repo add strimzi https://strimzi.io/charts/
```

To install the chart with the release name `my-release`:

```bash
$ helm install drain-cleaner strimzi/strimzi-drain-cleaner
$ helm install my-strimzi-drain-cleaner oci://quay.io/strimzi-helm/strimzi-drain-cleaner
```

The command deploys the Strimzi Drain Cleaner on the Kubernetes cluster with the default configuration.
Expand All @@ -119,10 +113,10 @@ The [configuration](#configuration) section lists the parameters that can be con

## Uninstalling the Chart

To uninstall/delete the `drain-cleaner` deployment:
To uninstall/delete the `my-strimzi-drain-cleaner` deployment:

```bash
$ helm delete drain-cleaner
$ helm delete my-strimzi-drain-cleaner
```

The command removes all the Kubernetes components associated with the Drain Cleaner utility and deletes the release.
Expand All @@ -138,7 +132,7 @@ For a full list of supported options, check the [`values.yaml` file](./values.ya
| `image.registry` | Override default Drain Cleaner image registry | `quay.io` |
| `image.repository` | Override default Drain Cleaner image repository | `strimzi` |
| `image.name` | Drain Cleaner image name | `drain-cleaner` |
| `image.tag` | Override default Drain Cleaner image tag | `0.5.0` |
| `image.tag` | Override default Drain Cleaner image tag | `1.0.0` |
| `image.imagePullPolicy` | Image pull policy for all pods deployed by Drain Cleaner | `nil` |
| `resources` | Configures resources for the Drain Cleaner Pod | `[]` |
| `tolerations` | Add tolerations to Drain Cleaner Pod | `[]` |
Expand All @@ -148,5 +142,5 @@ For a full list of supported options, check the [`values.yaml` file](./values.ya
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,

```bash
$ helm install --name drain-cleaner --set replicas=2 strimzi/strimzi-drain-cleaner
$ helm install my-strimzi-drain-cleaner --set replicaCount=2 oci://quay.io/strimzi-helm/strimzi-drain-cleaner
```
2 changes: 1 addition & 1 deletion helm-charts/helm3/strimzi-drain-cleaner/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ image:
registry: quay.io
repository: strimzi
name: drain-cleaner
tag: 0.5.0
tag: 1.0.0
pullPolicy: ""

serviceAccount:
Expand Down
2 changes: 1 addition & 1 deletion install/certmanager/060-Deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
serviceAccountName: strimzi-drain-cleaner
containers:
- name: strimzi-drain-cleaner
image: quay.io/strimzi/drain-cleaner:0.5.0
image: quay.io/strimzi/drain-cleaner:1.0.0
ports:
- containerPort: 8080
name: http
Expand Down
2 changes: 1 addition & 1 deletion install/kubernetes/060-Deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
serviceAccountName: strimzi-drain-cleaner
containers:
- name: strimzi-drain-cleaner
image: quay.io/strimzi/drain-cleaner:0.5.0
image: quay.io/strimzi/drain-cleaner:1.0.0
ports:
- containerPort: 8080
name: http
Expand Down
2 changes: 1 addition & 1 deletion install/openshift/060-Deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
serviceAccountName: strimzi-drain-cleaner
containers:
- name: strimzi-drain-cleaner
image: quay.io/strimzi/drain-cleaner:0.5.0
image: quay.io/strimzi/drain-cleaner:1.0.0
ports:
- containerPort: 8080
name: http
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ For a full list of supported options, check the [`values.yaml` file](./values.ya
| `image.registry` | Override default Drain Cleaner image registry | `quay.io` |
| `image.repository` | Override default Drain Cleaner image repository | `strimzi` |
| `image.name` | Drain Cleaner image name | `drain-cleaner` |
| `image.tag` | Override default Drain Cleaner image tag | `latest` |
| `image.tag` | Override default Drain Cleaner image tag | `1.0.0` |
| `image.imagePullPolicy` | Image pull policy for all pods deployed by Drain Cleaner | `nil` |
| `resources` | Configures resources for the Drain Cleaner Pod | `[]` |
| `tolerations` | Add tolerations to Drain Cleaner Pod | `[]` |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ image:
registry: quay.io
repository: strimzi
name: drain-cleaner
tag: latest
tag: 1.0.0
pullPolicy: ""

serviceAccount:
Expand Down
2 changes: 1 addition & 1 deletion packaging/install/certmanager/060-Deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
serviceAccountName: strimzi-drain-cleaner
containers:
- name: strimzi-drain-cleaner
image: quay.io/strimzi/drain-cleaner:latest
image: quay.io/strimzi/drain-cleaner:1.0.0
ports:
- containerPort: 8080
name: http
Expand Down
2 changes: 1 addition & 1 deletion packaging/install/kubernetes/060-Deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
serviceAccountName: strimzi-drain-cleaner
containers:
- name: strimzi-drain-cleaner
image: quay.io/strimzi/drain-cleaner:latest
image: quay.io/strimzi/drain-cleaner:1.0.0
ports:
- containerPort: 8080
name: http
Expand Down
2 changes: 1 addition & 1 deletion packaging/install/openshift/060-Deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
serviceAccountName: strimzi-drain-cleaner
containers:
- name: strimzi-drain-cleaner
image: quay.io/strimzi/drain-cleaner:latest
image: quay.io/strimzi/drain-cleaner:1.0.0
ports:
- containerPort: 8080
name: http
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>io.strimzi</groupId>
<artifactId>strimzi-drain-cleaner</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0</version>
<properties>
<!-- Maven plugins -->
<compiler-plugin.version>3.10.1</compiler-plugin.version>
Expand Down

0 comments on commit 4704274

Please sign in to comment.