Compare commits

...

4 Commits

4 changed files with 15 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
apiVersion: v2
name: pieced-operator
description: PieCed IT tenant lifecycle operator
version: 0.1.35
appVersion: "0.1.35"
version: 0.1.39
appVersion: "0.1.39"
type: application

View File

@@ -123,6 +123,9 @@ spec:
type: array
items:
type: string
suspendedAt:
type: string
format: date-time
warnings:
type: array
items:

View File

@@ -8,9 +8,17 @@ metadata:
app.kubernetes.io/name: pieced-operator
rules:
# --- PiecedTenant CRD ---
# `delete` is required so the operator can self-initiate the post-
# 60-day cleanup of suspended tenants (Bug 37b). Without it, the
# `r.Delete(ctx, tenant)` call in the suspend block fails with a
# 403 every reconcile cycle while the tenant sits past its
# retention window. Until then this verb wasn't strictly needed —
# the customer/portal initiated CR deletes, and the operator's
# finalizer ran cleanup; only with operator-initiated deletion did
# the missing verb become a problem.
- apiGroups: ["pieced.ch"]
resources: ["piecedtenants"]
verbs: ["get", "list", "watch", "update", "patch"]
verbs: ["get", "list", "watch", "update", "patch", "delete"]
- apiGroups: ["pieced.ch"]
resources: ["piecedtenants/status"]
verbs: ["get", "update", "patch"]

View File

@@ -1,6 +1,6 @@
image:
repository: registry.c5ai.ch/pieced/pieced-operator
tag: "0.1.35"
tag: "0.1.39"
pullPolicy: IfNotPresent
imagePullSecrets: