Skip to content

Commit 6db8144

Browse files
release: v0.0.3
- Simplify kustomize structure: remove overlays, single kustomize/ entry point - Add make prepare-release target for automated version bumping - Fix README: kustomize remote refs require standalone kustomize binary - Bump all version references to 0.0.3 - Regenerate bundle.yaml and dist/install.yaml Made-with: Cursor
1 parent 4770069 commit 6db8144

File tree

8 files changed

+25
-55
lines changed

8 files changed

+25
-55
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# To re-generate a bundle for another specific version without changing the standard setup, you can:
44
# - use the VERSION as arg of the bundle target (e.g make bundle VERSION=0.0.2)
55
# - use environment variables to overwrite this value (e.g export VERSION=0.0.2)
6-
VERSION ?= 0.0.2
6+
VERSION ?= 0.0.3
77
GIT_COMMIT ?= $(shell git rev-parse --short HEAD 2>/dev/null || echo "unknown")
88
BUILD_DATE ?= $(shell date -u +"%Y-%m-%dT%H:%M:%SZ")
99
LDFLAGS := -X github.com/alessandrolomanto/openclaw-operator/internal/version.Version=$(VERSION) \
@@ -213,7 +213,7 @@ prepare-release: ## Bump version everywhere and regenerate manifests (usage: mak
213213
sed -i '' '6s/VERSION ?= .*/VERSION ?= $(NEW_VERSION)/' Makefile
214214
sed -i '' 's/^version: .*/version: $(NEW_VERSION)/' charts/openclaw-operator/Chart.yaml
215215
sed -i '' 's/^appVersion: .*/appVersion: "$(NEW_VERSION)"/' charts/openclaw-operator/Chart.yaml
216-
sed -i '' 's|newTag: v[0-9]*\.[0-9]*\.[0-9]*|newTag: v$(NEW_VERSION)|' kustomize/overlays/production/kustomization.yaml
216+
sed -i '' 's|newTag: v[0-9]*\.[0-9]*\.[0-9]*|newTag: v$(NEW_VERSION)|' kustomize/kustomization.yaml
217217
sed -i '' 's|ref=v[0-9]*\.[0-9]*\.[0-9]*|ref=v$(NEW_VERSION)|g' README.md
218218
sed -i '' 's|/v[0-9]*\.[0-9]*\.[0-9]*|/v$(NEW_VERSION)|g' README.md
219219
sed -i '' 's|tag=v[0-9]*\.[0-9]*\.[0-9]*|tag=v$(NEW_VERSION)|g' README.md

README.md

Lines changed: 16 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -41,45 +41,42 @@ Custom values:
4141
helm install openclaw-operator ./charts/openclaw-operator \
4242
--namespace openclaw-operator-system \
4343
--create-namespace \
44-
--set image.tag=v0.0.2 \
44+
--set image.tag=v0.0.3 \
4545
--set resources.limits.memory=512Mi
4646
```
4747

48-
### Option B: Kustomize
48+
### Option B: Kustomize
49+
50+
Using the standalone `kustomize` binary (required for remote refs — `kubectl -k` does not support them):
51+
52+
```bash
53+
kustomize build 'github.com/alessandrolomanto/openclaw-operator?ref=v0.0.3' | kubectl apply -f -
54+
```
55+
56+
Or from a local clone:
4957

5058
```bash
51-
# Using standalone kustomize (supports remote refs)
52-
kustomize build 'github.com/alessandrolomanto/openclaw-operator?ref=v0.0.2' | kubectl apply -f -
59+
kubectl apply -k kustomize/
5360
```
5461

55-
Or create a local overlay that references the repo as a remote base:
62+
You can also create your own overlay referencing the repo as a remote base:
5663

5764
```yaml
5865
apiVersion: kustomize.config.k8s.io/v1beta1
5966
kind: Kustomization
6067
namespace: my-namespace
6168
resources:
62-
- github.com/alessandrolomanto/openclaw-operator?ref=v0.0.2
69+
- github.com/alessandrolomanto/openclaw-operator?ref=v0.0.3
6370
images:
6471
- name: controller
6572
newName: ghcr.io/alessandrolomanto/openclaw-operator
66-
newTag: v0.0.2
67-
```
68-
69-
Pre-built overlays are available in the `kustomize/` directory:
70-
71-
```bash
72-
# Production
73-
kubectl apply -k kustomize/overlays/production
74-
75-
# Development (relaxed resources, latest tag)
76-
kubectl apply -k kustomize/overlays/development
73+
newTag: v0.0.3
7774
```
7875
7976
### Option C: From release manifest
8077
8178
```bash
82-
kubectl apply -f https://github.com/alessandrolomanto/openclaw-operator/releases/download/v0.0.2/install.yaml
79+
kubectl apply -f https://github.com/alessandrolomanto/openclaw-operator/releases/download/v0.0.3/install.yaml
8380
```
8481

8582
### Option D: CRD only
@@ -268,7 +265,7 @@ This updates:
268265
|---|---|
269266
| `Makefile` | `VERSION ?=` |
270267
| `charts/openclaw-operator/Chart.yaml` | `version` + `appVersion` |
271-
| `kustomize/overlays/production/kustomization.yaml` | `newTag` |
268+
| `kustomize/kustomization.yaml` | `newTag` |
272269
| `README.md` | All version references |
273270
| `config/manager/kustomization.yaml` | Image tag (via kustomize) |
274271
| `dist/install.yaml` | Regenerated install manifest |

bundle.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -882,7 +882,7 @@ spec:
882882
- --health-probe-bind-address=:8081
883883
command:
884884
- /manager
885-
image: ghcr.io/alessandrolomanto/openclaw-operator:v0.0.2
885+
image: ghcr.io/alessandrolomanto/openclaw-operator:v0.0.3
886886
livenessProbe:
887887
httpGet:
888888
path: /healthz

charts/openclaw-operator/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: v2
22
name: openclaw-operator
33
description: Kubernetes operator for deploying and managing OpenClaw AI agent instances
44
type: application
5-
version: 0.0.2
6-
appVersion: "0.0.2"
5+
version: 0.0.3
6+
appVersion: "0.0.3"
77
home: https://github.com/alessandrolomanto/openclaw-operator
88
sources:
99
- https://github.com/alessandrolomanto/openclaw-operator

config/manager/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ kind: Kustomization
55
images:
66
- name: controller
77
newName: ghcr.io/alessandrolomanto/openclaw-operator
8-
newTag: v0.0.2
8+
newTag: v0.0.3

dist/install.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -882,7 +882,7 @@ spec:
882882
- --health-probe-bind-address=:8081
883883
command:
884884
- /manager
885-
image: ghcr.io/alessandrolomanto/openclaw-operator:v0.0.2
885+
image: ghcr.io/alessandrolomanto/openclaw-operator:v0.0.3
886886
livenessProbe:
887887
httpGet:
888888
path: /healthz

kustomize/overlays/production/kustomization.yaml renamed to kustomize/kustomization.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ kind: Kustomization
44
namespace: openclaw-operator-system
55

66
resources:
7-
- ../../base
7+
- base
88

99
images:
1010
- name: controller
1111
newName: ghcr.io/alessandrolomanto/openclaw-operator
12-
newTag: v0.0.2
12+
newTag: v0.0.3

kustomize/overlays/development/kustomization.yaml

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)