mirror of
https://github.com/vhaudiquet/homeprod.git
synced 2026-09-25 10:23:31 +00:00
Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d81ee1b65b | ||
|
|
f2d7fe7bcc | ||
|
|
807d764bdf
|
@@ -31,6 +31,11 @@ l2announcements:
|
|||||||
enabled: true
|
enabled: true
|
||||||
externalIPs:
|
externalIPs:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
# Single-node cluster: the operator defaults to 2 replicas, but both
|
||||||
|
# bind the same host ports, so the second replica can never schedule ("node(s)
|
||||||
|
# didn't have free ports for the requested pod ports") and sits Pending forever.
|
||||||
|
operator:
|
||||||
|
replicas: 1
|
||||||
ingressController:
|
ingressController:
|
||||||
enabled: false
|
enabled: false
|
||||||
loadbalancerMode: shared
|
loadbalancerMode: shared
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ spec:
|
|||||||
name: stalwart-helm
|
name: stalwart-helm
|
||||||
namespace: stalwart
|
namespace: stalwart
|
||||||
chart: stalwart
|
chart: stalwart
|
||||||
version: "0.7.16"
|
version: "0.7.18"
|
||||||
interval: 1m
|
interval: 1m
|
||||||
valuesFrom:
|
valuesFrom:
|
||||||
- kind: Secret
|
- kind: Secret
|
||||||
|
|||||||
@@ -3,6 +3,35 @@ kind: OpenClawInstance
|
|||||||
metadata:
|
metadata:
|
||||||
name: openclaw
|
name: openclaw
|
||||||
spec:
|
spec:
|
||||||
|
# Pin the gateway image to an immutable version tag. Running `latest` with
|
||||||
|
# pullPolicy=IfNotPresent let a stale node-cached image (old build, state
|
||||||
|
# schema v1) fight the PVC's DB migrated by a newer build (schema v15),
|
||||||
|
# crash-looping the container. Bump this tag alongside upstream releases.
|
||||||
|
image:
|
||||||
|
repository: ghcr.io/openclaw/openclaw
|
||||||
|
tag: "2026.9.3"
|
||||||
|
# Workaround for paperclipinc/openclaw-operator#607: the operator mounts the
|
||||||
|
# PVC root directly at /home/openclaw/.openclaw and only fsGroup is applied,
|
||||||
|
# so the mount root stays owned by root. OpenClaw >= 2026.9 fchmods its config
|
||||||
|
# dir when writing openclaw.json, which fails with EPERM for a non-owner.
|
||||||
|
# This one-shot init container chowns the mount root to the pod UID.
|
||||||
|
initContainers:
|
||||||
|
- name: fix-data-owner
|
||||||
|
image: docker.io/library/busybox:1.37
|
||||||
|
command: ["sh", "-c", "chown 1000:1000 /data && ls -ld /data"]
|
||||||
|
securityContext:
|
||||||
|
runAsUser: 0
|
||||||
|
runAsNonRoot: false
|
||||||
|
allowPrivilegeEscalation: false
|
||||||
|
readOnlyRootFilesystem: true
|
||||||
|
capabilities:
|
||||||
|
drop: ["ALL"]
|
||||||
|
add: ["CHOWN"]
|
||||||
|
seccompProfile:
|
||||||
|
type: RuntimeDefault
|
||||||
|
volumeMounts:
|
||||||
|
- name: data
|
||||||
|
mountPath: /data
|
||||||
# Provider API keys come from the SOPS-encrypted Secret below.
|
# Provider API keys come from the SOPS-encrypted Secret below.
|
||||||
# The gateway token is auto-generated by the operator (no mDNS pairing in k8s).
|
# The gateway token is auto-generated by the operator (no mDNS pairing in k8s).
|
||||||
envFrom:
|
envFrom:
|
||||||
|
|||||||
Reference in New Issue
Block a user