|
|
|
@@ -34,29 +34,34 @@ rules:
|
|
|
|
verbs: ["create", "patch"]
|
|
|
|
verbs: ["create", "patch"]
|
|
|
|
|
|
|
|
|
|
|
|
# --- Capsule Tenant ---
|
|
|
|
# --- Capsule Tenant ---
|
|
|
|
|
|
|
|
# `patch` is required for server-side apply (SSA) — controller-runtime's
|
|
|
|
|
|
|
|
# `client.Apply` uses HTTP PATCH with content-type application/apply-patch+yaml.
|
|
|
|
|
|
|
|
# We keep `update` for backwards-compat in case any code path still does
|
|
|
|
|
|
|
|
# replace-style writes (currently none). Same applies to all unstructured
|
|
|
|
|
|
|
|
# resources below.
|
|
|
|
- apiGroups: ["capsule.clastix.io"]
|
|
|
|
- apiGroups: ["capsule.clastix.io"]
|
|
|
|
resources: ["tenants"]
|
|
|
|
resources: ["tenants"]
|
|
|
|
verbs: ["get", "list", "watch", "create", "update", "delete"]
|
|
|
|
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]
|
|
|
|
|
|
|
|
|
|
|
|
# --- ESO SecretStore ---
|
|
|
|
# --- ESO SecretStore ---
|
|
|
|
- apiGroups: ["external-secrets.io"]
|
|
|
|
- apiGroups: ["external-secrets.io"]
|
|
|
|
resources: ["secretstores"]
|
|
|
|
resources: ["secretstores"]
|
|
|
|
verbs: ["get", "list", "watch", "create", "update", "delete"]
|
|
|
|
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]
|
|
|
|
|
|
|
|
|
|
|
|
# --- ESO ExternalSecret ---
|
|
|
|
# --- ESO ExternalSecret ---
|
|
|
|
- apiGroups: ["external-secrets.io"]
|
|
|
|
- apiGroups: ["external-secrets.io"]
|
|
|
|
resources: ["externalsecrets"]
|
|
|
|
resources: ["externalsecrets"]
|
|
|
|
verbs: ["get", "list", "watch", "create", "update", "delete"]
|
|
|
|
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]
|
|
|
|
|
|
|
|
|
|
|
|
# --- Cilium CiliumNetworkPolicy ---
|
|
|
|
# --- Cilium CiliumNetworkPolicy ---
|
|
|
|
- apiGroups: ["cilium.io"]
|
|
|
|
- apiGroups: ["cilium.io"]
|
|
|
|
resources: ["ciliumnetworkpolicies"]
|
|
|
|
resources: ["ciliumnetworkpolicies"]
|
|
|
|
verbs: ["get", "list", "watch", "create", "update", "delete"]
|
|
|
|
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]
|
|
|
|
|
|
|
|
|
|
|
|
# --- OpenClaw OpenClawInstance ---
|
|
|
|
# --- OpenClaw OpenClawInstance ---
|
|
|
|
- apiGroups: ["openclaw.rocks"]
|
|
|
|
- apiGroups: ["openclaw.rocks"]
|
|
|
|
resources: ["openclawinstances"]
|
|
|
|
resources: ["openclawinstances"]
|
|
|
|
verbs: ["get", "list", "watch", "create", "update", "delete"]
|
|
|
|
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]
|
|
|
|
|
|
|
|
|
|
|
|
# --- Leader election (coordination) ---
|
|
|
|
# --- Leader election (coordination) ---
|
|
|
|
- apiGroups: ["coordination.k8s.io"]
|
|
|
|
- apiGroups: ["coordination.k8s.io"]
|
|
|
|
|