Every app chart rendered a <release>-dashboard-resources Role and a RoleBinding to the tenant's groups and ServiceAccounts. The Roles began in 2024 as a resource map that the kubeapps dashboard read to list an application's objects, and had no bindings. When the tenant roles lost the core wildcard, the maps were bound so kubeapps kept working, and they became real grants. The console that replaced kubeapps reads Secrets through core.cozystack.io/tenantsecrets, which cozystack-api serves with its own identity and only for what the ApplicationDefinition admits, yet the bindings stayed. So any tenant subject at the bound level could read the named Secrets directly through the API server, bypassing the -rd allowlist: database credentials, the kubernetes admin kubeconfig, Grafana's admin password. A bucket with no users rendered an empty resourceNames list, which RBAC reads as every Secret in the namespace. Nothing reads these Roles' Secret rules any more. Services, ingresses and workloadmonitors are already granted namespace-wide by the cozy:tenant ClusterRoles, and the Secrets tenants need are all in secrets.include. Remove the Roles and RoleBindings from every chart except foundationdb. The qdrant and vm-instance WorkloadMonitors that shared the file move to workloadmonitor.yaml. foundationdb keeps its resource map and Role: they are the only way a tenant reads <release>-config, the ConfigMap with the cluster file, since no cozy:tenant role grants ConfigMaps and tenantsecrets serves only Secrets. They grant ConfigMaps and no Secrets, and the map now lists only that ConfigMap, the one entry the console reads. They go once Cozystack can serve application ConfigMaps to tenants. The new kubernetes chart ignores computeplane's withholdAdminKubeconfig pin, but it stays for one more release: until the ExternalArtifact catches up, the previous kubernetes chart would otherwise render its admin kubeconfig rule again. None of these objects carries helm.sh/resource-policy: keep, so Helm deletes them on upgrade and no migration is needed. A new bats check renders every chart under packages/apps and packages/extra and fails if any binds a tenant subject to a Role that grants core Secrets. The suites and e2e steps that pinned the Roles' rules are removed with them. The charts that needed cluster state only to render the Roles now render offline, so they leave the release-size check's NO_OFFLINE_RENDER list. Assisted-by: LLM Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
Managed Valkey Service
Valkey is a highly versatile and blazing-fast in-memory data store and cache that can significantly boost the performance of your applications. It is the BSD-3-Clause licensed, Linux Foundation-governed fork of Redis 7.2 and a drop-in replacement for it. Managed Valkey Service offers a hassle-free solution for deploying and managing Valkey clusters, ensuring that your data is always available and responsive.
Deployment Details
Service runs Valkey on the freshworks-oss redis-operator, which manages Sentinel-based HA and selects the Valkey engine natively via spec.engine: Valkey — so the official valkey/valkey image is used directly, with no Redis-compatibility shim.
- Docs: https://valkey.io/docs/
- Valkey: https://github.com/valkey-io/valkey
- Operator: https://github.com/freshworks-oss/redis-operator
storageClassis annotated as immutable in the chart schema — see storageClass immutability for the contract and which consumers enforce it.
Parameters
Common parameters
| Name | Description | Type | Value |
|---|---|---|---|
replicas |
Number of Valkey replicas. | int |
2 |
resources |
Explicit CPU and memory configuration for each Valkey replica. When omitted, the preset defined in resourcesPreset is applied. |
object |
{} |
resources.cpu |
CPU available to each replica. | quantity |
"" |
resources.memory |
Memory (RAM) available to each replica. | quantity |
"" |
resourcesPreset |
Default sizing preset used when resources is omitted. |
string |
t1.nano |
size |
Persistent Volume Claim size available for application data. | quantity |
1Gi |
storageClass |
StorageClass used to store the data. | string |
"" |
external |
Enable external access from outside the cluster. | bool |
false |
version |
Valkey major version to deploy | string |
v8 |
Application-specific parameters
| Name | Description | Type | Value |
|---|---|---|---|
authEnabled |
Enable password generation. | bool |
true |
schedulingClass |
Name of a SchedulingClass CR (cluster-scoped, group cozystack.io) used in place of the tenant's for this application's pods. A pod gets its class when it is created, so running pods keep theirs until they are recreated. Must be the tenant's own class or one listed in the tenant's allowedSchedulingClasses. Setting any other value is refused, and the pods of an application whose class is not, or no longer, in that list get the tenant's class. Empty means inherit from the tenant. |
string |
"" |
Parameter examples and reference
resources and resourcesPreset
resources sets explicit CPU and memory configurations for each replica.
Every resource it leaves unset is taken from the preset defined in resourcesPreset.
resources:
cpu: 4000m
memory: 4Gi
resourcesPreset sets named CPU and memory configurations for each replica.
This setting is ignored if the corresponding resources value is set.
Presets follow a cloud-style <series>.<size> naming convention. Five series cover the full CPU-to-memory ratio range (t1 1:0.5, c1 1:1, s1 1:2, u1 1:4, m1 1:8) and each series ships eight sizes (nano through 4xlarge). The legacy flat names (nano, micro, small, medium, large, xlarge, 2xlarge) remain accepted as deprecated aliases and keep their original sizes, which do not follow one series: nano through small equal the t1 sizes of the same name, while medium equals c1.small rather than c1.medium.
See Resource management for the full size matrix and the legacy-to-instance-type mapping.