Skip to content

Commit 8a79c28

Browse files
committed
Release 0.28.0-adobe-20250923
1 parent 273d3a4 commit 8a79c28

File tree

5 files changed

+27
-18
lines changed

5 files changed

+27
-18
lines changed

.github/workflows/operator-release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ jobs:
9797
with:
9898
context: .
9999
file: ./Dockerfile
100+
platforms: linux/amd64,linux/arm64
100101
build-args: |
101102
VERSION=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}
102103
BUILT_AT=${{ needs.prepare.outputs.built_at }}
@@ -115,13 +116,16 @@ jobs:
115116
steps:
116117
- name: Checkout code
117118
uses: actions/checkout@v5
118-
- name: Update Chart.yaml version and values.yaml image tag
119+
- name: Update Chart.yaml version, values.yaml image tag, and README.md
119120
run: |
120121
sed -i "s/^version:.*/version: \"${{ needs.prepare.outputs.tag }}\"/" charts/kafka-operator/Chart.yaml
121122
sed -i "s/^appVersion:.*/appVersion: \"${{ needs.prepare.outputs.tag }}\"/" charts/kafka-operator/Chart.yaml
122123
# Ensure consistent space-based indentation and update tag
123124
sed -i 's/\t/ /g' charts/kafka-operator/values.yaml
124125
sed -i "/^operator:/,/^[^[:space:]]/ { /^[[:space:]]*image:/,/^[[:space:]]*[^[:space:]]/ s/^[[:space:]]*tag:.*/ tag: \"${{ needs.prepare.outputs.tag }}\"/; }" charts/kafka-operator/values.yaml
126+
# Update README.md version references
127+
sed -i "s/--version [0-9]\+\.[0-9]\+\.[0-9]\+-[a-zA-Z0-9-]\+/--version ${{ needs.prepare.outputs.tag }}/g" charts/kafka-operator/README.md
128+
sed -i "s/\`[0-9]\+\.[0-9]\+\.[0-9]\+-[a-zA-Z0-9-]\+\`/\`${{ needs.prepare.outputs.tag }}\`/g" charts/kafka-operator/README.md
125129
- name: Push Helm Chart to GHCR
126130
uses: appany/[email protected]
127131
with:

Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH:-amd64} GO111MODUL
3636
# Refer to https://github.com/GoogleContainerTools/distroless for more details
3737
FROM gcr.io/distroless/static-debian11:nonroot
3838

39+
# Redeclare ARG variables for the second stage
40+
ARG VERSION
41+
ARG BUILT_AT
42+
ARG GIT_SHA
43+
3944
# Add metadata labels
4045
LABEL org.opencontainers.image.title="Kafka Operator"
4146
LABEL org.opencontainers.image.description="Kafka Operator for Kubernetes"

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
![Koperator](https://img.shields.io/github/v/release/adobe/koperator?label=Koperator)
44
![Released](https://img.shields.io/github/release-date/adobe/koperator?label=Released)
55
![License](https://img.shields.io/github/license/adobe/koperator?label=License)
6-
![Go version (latest release)](https://img.shields.io/github/go-mod/go-version/adobe/koperator/0.28.0-adobe-20250911)
6+
![Go version (latest release)](https://img.shields.io/github/go-mod/go-version/adobe/koperator/0.28.0-adobe-20250923)
77

88
</p>
99

@@ -114,28 +114,28 @@ kubectl apply -f https://raw.githubusercontent.com/adobe/koperator/refs/heads/ma
114114

115115
2. Install Koperator into the `kafka` namespace using the OCI Helm chart from GitHub Container Registry:
116116

117-
> 📦 **View available versions**: [ghcr.io/adobe/koperator/chart](https://github.com/adobe/koperator/pkgs/container/koperator/chart)
117+
> 📦 **View available versions**: [ghcr.io/adobe/koperator/kafka-operator](https://github.com/adobe/koperator/pkgs/container/koperator%2Fkafka-operator/versions)
118118
119119
```sh
120120
# Install the latest release
121-
helm install kafka-operator oci://ghcr.io/adobe/koperator/chart --namespace=kafka --create-namespace
121+
helm install kafka-operator oci://ghcr.io/adobe/helm-charts/kafka-operator --namespace=kafka --create-namespace
122122

123123
# Or install a specific version (replace with desired version)
124-
helm install kafka-operator oci://ghcr.io/adobe/koperator/chart --version 0.28.0-adobe-20250911 --namespace=kafka --create-namespace
124+
helm install kafka-operator oci://ghcr.io/adobe/helm-charts/kafka-operator --version 0.28.0-adobe-20250923 --namespace=kafka --create-namespace
125125
```
126126

127127
#### Pull and inspect the chart before installation
128128

129129
```sh
130130
# Pull the chart locally
131-
helm pull oci://ghcr.io/adobe/koperator/chart --version 0.28.0-adobe-20250911
131+
helm pull oci://ghcr.io/adobe/koperator/kafka-operator --version 0.28.0-adobe-20250923
132132

133133
# Extract and inspect
134-
tar -xzf chart-0.28.0-adobe-20250911.tgz
135-
helm template kafka-operator ./chart/
134+
tar -xzf kafka-operator-0.28.0-adobe-20250923.tgz
135+
helm template kafka-operator ./kafka-operator/
136136

137137
# Install from local chart
138-
helm install kafka-operator ./chart/ --namespace=kafka --create-namespace
138+
helm install kafka-operator ./kafka-operator/ --namespace=kafka --create-namespace
139139
```
140140

141141
1. Create the Kafka cluster using the `KafkaCluster` custom resource. The quick start uses a minimal custom resource, but there are other examples in the same directory.

charts/kafka-operator/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v1
22
name: kafka-operator
3-
version: 0.26.0-dev.0
3+
version: 0.28.0-dev.0
44
description: kafka-operator manages Kafka deployments on Kubernetes
55
sources:
66
- https://github.com/adobe/koperator
7-
appVersion: v0.26.0-dev.0
7+
appVersion: v0.28.0-dev.0

charts/kafka-operator/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,19 @@ kubectl apply -f https://raw.githubusercontent.com/adobe/koperator/refs/heads/ma
2121

2222
To install the chart from the OCI registry:
2323

24-
> 📦 **View available versions**: [ghcr.io/adobe/koperator/chart](https://github.com/adobe/koperator/pkgs/container/koperator/chart)
24+
> 📦 **View available versions**: [ghcr.io/adobe/koperator/kafka-operator](https://github.com/adobe/koperator/pkgs/container/koperator%2Fkafka-operator/versions)
2525
2626
```bash
2727
# Install the latest release
28-
helm install kafka-operator oci://ghcr.io/adobe/koperator/chart --namespace=kafka --create-namespace
28+
helm install kafka-operator oci://ghcr.io/adobe/helm-charts/kafka-operator --namespace=kafka --create-namespace
2929

3030
# Or install a specific version
31-
helm install kafka-operator oci://ghcr.io/adobe/koperator/chart --version 0.28.0-adobe-20250911 --namespace=kafka --create-namespace
31+
helm install kafka-operator oci://ghcr.io/adobe/helm-charts/kafka-operator --version 0.28.0-adobe-20250923 --namespace=kafka --create-namespace
3232
```
3333

3434
To install the operator using an already installed cert-manager:
3535
```bash
36-
helm install kafka-operator oci://ghcr.io/adobe/koperator/chart --set certManager.namespace=<your cert manager namespace> --namespace=kafka --create-namespace
36+
helm install kafka-operator oci://ghcr.io/adobe/helm-charts/kafka-operator --set certManager.namespace=<your cert manager namespace> --namespace=kafka --create-namespace
3737
```
3838

3939
## Upgrading the chart
@@ -43,10 +43,10 @@ If this value is not set your CRDs might be deleted.
4343

4444
```bash
4545
# Upgrade to latest version
46-
helm upgrade kafka-operator oci://ghcr.io/adobe/koperator/chart --namespace=kafka
46+
helm upgrade kafka-operator oci://ghcr.io/adobe/koperator/kafka-operator --namespace=kafka
4747

4848
# Upgrade to specific version
49-
helm upgrade kafka-operator oci://ghcr.io/adobe/koperator/chart --version 0.28.0-adobe-20250911 --namespace=kafka
49+
helm upgrade kafka-operator oci://ghcr.io/adobe/koperator/kafka-operator --version 0.28.0-adobe-20250923 --namespace=kafka
5050
```
5151

5252
## Uninstalling the Chart
@@ -66,7 +66,7 @@ The following table lists the configurable parameters of the Banzaicloud Kafka O
6666
Parameter | Description | Default
6767
--------- | ----------- | -------
6868
`operator.image.repository` | Operator container image repository | `ghcr.io/adobe/koperator`
69-
`operator.image.tag` | Operator container image tag | `0.28.0-adobe-20250911`
69+
`operator.image.tag` | Operator container image tag | `0.28.0-adobe-20250923`
7070
`operator.image.pullPolicy` | Operator container image pull policy | `IfNotPresent`
7171
`operator.serviceAccount.name` | ServiceAccount used by the operator pod | `kafka-operator`
7272
`operator.serviceAccount.create` | If true, create the `operator.serviceAccount.name` service account | `true`

0 commit comments

Comments
 (0)