mirror of
https://github.com/vhaudiquet/homeprod.git
synced 2026-09-21 16:36:05 +00:00
openclaw: deploy openclaw on kube
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user