From e5c1cf97bd3b7788ce0509eefa1dfe8925060394 Mon Sep 17 00:00:00 2001 From: Andrei Kvapil Date: Thu, 25 Sep 2025 16:37:01 +0200 Subject: [PATCH] [cozystack-api] Specify tenantmodules labels Signed-off-by: Andrei Kvapil --- packages/apps/tenant/templates/etcd.yaml | 1 + packages/apps/tenant/templates/info.yaml | 1 + packages/apps/tenant/templates/ingress.yaml | 1 + packages/apps/tenant/templates/monitoring.yaml | 1 + packages/apps/tenant/templates/seaweedfs.yaml | 1 + .../templates/cozystack-resource-definitions/etcd.yaml | 1 + .../templates/cozystack-resource-definitions/info.yaml | 1 + .../templates/cozystack-resource-definitions/ingress.yaml | 1 + .../templates/cozystack-resource-definitions/monitoring.yaml | 1 + .../templates/cozystack-resource-definitions/seaweedfs.yaml | 1 + 10 files changed, 10 insertions(+) diff --git a/packages/apps/tenant/templates/etcd.yaml b/packages/apps/tenant/templates/etcd.yaml index 6c679534..9db6ff6c 100644 --- a/packages/apps/tenant/templates/etcd.yaml +++ b/packages/apps/tenant/templates/etcd.yaml @@ -6,6 +6,7 @@ metadata: namespace: {{ include "tenant.name" . }} labels: cozystack.io/ui: "true" + internal.cozystack.io/tenantmodule: "true" app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/managed-by: {{ .Release.Service }} spec: diff --git a/packages/apps/tenant/templates/info.yaml b/packages/apps/tenant/templates/info.yaml index f7871180..8787c400 100644 --- a/packages/apps/tenant/templates/info.yaml +++ b/packages/apps/tenant/templates/info.yaml @@ -8,6 +8,7 @@ metadata: namespace: {{ include "tenant.name" . }} labels: cozystack.io/ui: "true" + internal.cozystack.io/tenantmodule: "true" app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/managed-by: {{ .Release.Service }} spec: diff --git a/packages/apps/tenant/templates/ingress.yaml b/packages/apps/tenant/templates/ingress.yaml index b0c1196f..b866300f 100644 --- a/packages/apps/tenant/templates/ingress.yaml +++ b/packages/apps/tenant/templates/ingress.yaml @@ -6,6 +6,7 @@ metadata: namespace: {{ include "tenant.name" . }} labels: cozystack.io/ui: "true" + internal.cozystack.io/tenantmodule: "true" app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/managed-by: {{ .Release.Service }} spec: diff --git a/packages/apps/tenant/templates/monitoring.yaml b/packages/apps/tenant/templates/monitoring.yaml index aad08bd9..edcc66d9 100644 --- a/packages/apps/tenant/templates/monitoring.yaml +++ b/packages/apps/tenant/templates/monitoring.yaml @@ -6,6 +6,7 @@ metadata: namespace: {{ include "tenant.name" . }} labels: cozystack.io/ui: "true" + internal.cozystack.io/tenantmodule: "true" app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/managed-by: {{ .Release.Service }} spec: diff --git a/packages/apps/tenant/templates/seaweedfs.yaml b/packages/apps/tenant/templates/seaweedfs.yaml index 9df890d0..936e294b 100644 --- a/packages/apps/tenant/templates/seaweedfs.yaml +++ b/packages/apps/tenant/templates/seaweedfs.yaml @@ -6,6 +6,7 @@ metadata: namespace: {{ include "tenant.name" . }} labels: cozystack.io/ui: "true" + internal.cozystack.io/tenantmodule: "true" app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/managed-by: {{ .Release.Service }} spec: diff --git a/packages/system/cozystack-api/templates/cozystack-resource-definitions/etcd.yaml b/packages/system/cozystack-api/templates/cozystack-resource-definitions/etcd.yaml index b9d191f0..c70e0290 100644 --- a/packages/system/cozystack-api/templates/cozystack-resource-definitions/etcd.yaml +++ b/packages/system/cozystack-api/templates/cozystack-resource-definitions/etcd.yaml @@ -13,6 +13,7 @@ spec: prefix: "" labels: cozystack.io/ui: "true" + internal.cozystack.io/tenantmodule: "true" chart: name: etcd sourceRef: diff --git a/packages/system/cozystack-api/templates/cozystack-resource-definitions/info.yaml b/packages/system/cozystack-api/templates/cozystack-resource-definitions/info.yaml index 3fb3843f..1abbb833 100644 --- a/packages/system/cozystack-api/templates/cozystack-resource-definitions/info.yaml +++ b/packages/system/cozystack-api/templates/cozystack-resource-definitions/info.yaml @@ -13,6 +13,7 @@ spec: prefix: "" labels: cozystack.io/ui: "true" + internal.cozystack.io/tenantmodule: "true" chart: name: info sourceRef: diff --git a/packages/system/cozystack-api/templates/cozystack-resource-definitions/ingress.yaml b/packages/system/cozystack-api/templates/cozystack-resource-definitions/ingress.yaml index 1f2ff132..48142dcf 100644 --- a/packages/system/cozystack-api/templates/cozystack-resource-definitions/ingress.yaml +++ b/packages/system/cozystack-api/templates/cozystack-resource-definitions/ingress.yaml @@ -13,6 +13,7 @@ spec: prefix: "" labels: cozystack.io/ui: "true" + internal.cozystack.io/tenantmodule: "true" chart: name: ingress sourceRef: diff --git a/packages/system/cozystack-api/templates/cozystack-resource-definitions/monitoring.yaml b/packages/system/cozystack-api/templates/cozystack-resource-definitions/monitoring.yaml index aca8cbba..a891adba 100644 --- a/packages/system/cozystack-api/templates/cozystack-resource-definitions/monitoring.yaml +++ b/packages/system/cozystack-api/templates/cozystack-resource-definitions/monitoring.yaml @@ -13,6 +13,7 @@ spec: prefix: "" labels: cozystack.io/ui: "true" + internal.cozystack.io/tenantmodule: "true" chart: name: monitoring sourceRef: diff --git a/packages/system/cozystack-api/templates/cozystack-resource-definitions/seaweedfs.yaml b/packages/system/cozystack-api/templates/cozystack-resource-definitions/seaweedfs.yaml index 098eb434..97156a3c 100644 --- a/packages/system/cozystack-api/templates/cozystack-resource-definitions/seaweedfs.yaml +++ b/packages/system/cozystack-api/templates/cozystack-resource-definitions/seaweedfs.yaml @@ -13,6 +13,7 @@ spec: prefix: "" labels: cozystack.io/ui: "true" + internal.cozystack.io/tenantmodule: "true" chart: name: seaweedfs sourceRef: