openclaw: deploy openclaw on kube

This commit is contained in:
2026-08-23 10:43:07 +02:00
parent 9c2f4de590
commit 34660b1231
13 changed files with 173 additions and 0 deletions
@@ -0,0 +1,7 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- namespace.yaml
- openclaw-namespace.yaml
- repository.yaml
- release.yaml
@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: openclaw-operator-system
@@ -0,0 +1,7 @@
# Namespace watched by the operator for OpenClawInstance resources.
# Must exist before the operator deploys: watchNamespaces renders namespaced
# Role/RoleBinding into it and the chart does not create namespaces.
apiVersion: v1
kind: Namespace
metadata:
name: openclaw
@@ -0,0 +1,25 @@
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: openclaw-operator
namespace: openclaw-operator-system
spec:
interval: 1m
chart:
spec:
chart: openclaw-operator
version: "0.39.0"
sourceRef:
kind: HelmRepository
name: openclaw-operator
namespace: openclaw-operator-system
interval: 1m
values:
# Scope the operator's watches and RBAC to the openclaw namespace only
# (renders Role/RoleBinding instead of cluster-wide ClusterRole).
watchNamespaces:
- openclaw
metrics:
serviceMonitor:
# No Prometheus Operator CRDs in this cluster (VictoriaMetrics stack).
enabled: false
@@ -0,0 +1,9 @@
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: openclaw-operator
namespace: openclaw-operator-system
spec:
type: oci
interval: 1h
url: oci://ghcr.io/paperclipinc/charts