26 lines
889 B
YAML
26 lines
889 B
YAML
{{/*
|
|
Platform-wide default OpenClaw image tag. Used by the operator when a
|
|
PiecedTenant has no explicit `spec.openClawImage.tag` override.
|
|
|
|
Tag-only by design — see internal/openclawconfig/loader.go for
|
|
rationale (single image-selector field avoids SSA field-ownership
|
|
ambiguity). For reproducibility-critical deployments, pin by using
|
|
an immutable release tag.
|
|
|
|
If `defaultTag` is empty (or this ConfigMap doesn't exist), the
|
|
operator falls back to a hardcoded built-in version.
|
|
|
|
Tenants without an `openClawImage` override automatically follow
|
|
changes to this ConfigMap on the next reconcile — the operator
|
|
watches it and re-enqueues affected tenants.
|
|
*/}}
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: pieced-openclaw-config
|
|
namespace: {{ .Release.Namespace }}
|
|
labels:
|
|
app.kubernetes.io/name: pieced-operator
|
|
data:
|
|
defaultTag: {{ .Values.openClaw.defaultTag | quote }}
|