openclaw: reinstall limpio con Claude API y ArgoCD
- Manifiestos limpios: namespace, rbac, pvc (5Gi local-path), deployment, service, ingress - nodeSelector chemavx-k8 en deployment para fijar PVC en el nodo correcto - Imagen fijada a ghcr.io/openclaw/openclaw:2026.4.12 - Sin initContainers ni secrets en el deployment (config post-arranque via exec) - Elimina artefactos: configmap-kube-root-ca.crt.yaml, serviceaccount-default.yaml, pvc-openclaw-pvc.yaml, rbac-openclaw-agent.yaml - Añade argocd/application-openclaw.yaml para gestión GitOps Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: openclaw-agent
|
||||
namespace: openclaw
|
||||
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
name: openclaw-agent-readonly
|
||||
rules:
|
||||
- apiGroups: [""]
|
||||
resources: [pods, pods/log, services, nodes, namespaces, events]
|
||||
verbs: [get, list, watch]
|
||||
- apiGroups: [apps]
|
||||
resources: [deployments, replicasets, statefulsets, daemonsets]
|
||||
verbs: [get, list, watch]
|
||||
- apiGroups: [networking.k8s.io]
|
||||
resources: [ingresses]
|
||||
verbs: [get, list, watch]
|
||||
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: openclaw-agent-readonly-binding
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
name: openclaw-agent-readonly
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: openclaw-agent
|
||||
namespace: openclaw
|
||||
Reference in New Issue
Block a user