Skip to content

Commit 4770069

Browse files
fix: use kustomize build for remote refs (kubectl -k doesn't support them)
Made-with: Cursor
1 parent 9a01344 commit 4770069

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ helm install openclaw-operator ./charts/openclaw-operator \
4848
### Option B: Kustomize
4949

5050
```bash
51-
# Direct install (quote the URL for zsh compatibility)
52-
kubectl apply -k 'github.com/alessandrolomanto/openclaw-operator?ref=v0.0.2'
51+
# Using standalone kustomize (supports remote refs)
52+
kustomize build 'github.com/alessandrolomanto/openclaw-operator?ref=v0.0.2' | kubectl apply -f -
5353
```
5454

55-
Or with a custom overlay — create your own `kustomization.yaml`:
55+
Or create a local overlay that references the repo as a remote base:
5656

5757
```yaml
5858
apiVersion: kustomize.config.k8s.io/v1beta1

0 commit comments

Comments
 (0)