Compare commits

...

1 Commits

Author SHA1 Message Date
Andrei Kvapil
2bf312260d [platform] make apps and extra applications to load hash tenant config
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
2025-04-22 19:58:59 +02:00
17 changed files with 70 additions and 13 deletions

View File

@@ -16,7 +16,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes # This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version. # to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/) # Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.0 version: 0.2.0
# This is the version number of the application being deployed. This version number should be # This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to # incremented each time you make changes to the application. Versions are not expected to

View File

@@ -1,4 +1,4 @@
include ../../../scripts/package.mk include ../../../scripts/package.mk
generate: generate:
readme-generator -v values.yaml -s values.schema.json -r README.md #readme-generator -v values.yaml -s values.schema.json -r README.md

View File

@@ -16,3 +16,9 @@ spec:
timeout: 5m0s timeout: 5m0s
values: values:
bucketName: {{ .Release.Name }} bucketName: {{ .Release.Name }}
valuesFrom:
- kind: ConfigMap
name: cozy-tenant-configuration-hash
optional: true
targetPath: cozyTenantConfigurationHash
valuesKey: cozyTenantConfigurationHash

View File

@@ -16,7 +16,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes # This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version. # to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/) # Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.5.0 version: 0.6.0
# This is the version number of the application being deployed. This version number should be # This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to # incremented each time you make changes to the application. Versions are not expected to

View File

@@ -95,3 +95,9 @@ spec:
spec: spec:
type: LoadBalancer type: LoadBalancer
{{- end }} {{- end }}
valuesFrom:
- kind: ConfigMap
name: cozy-tenant-configuration-hash
optional: true
targetPath: cozyTenantConfigurationHash
valuesKey: cozyTenantConfigurationHash

View File

@@ -4,4 +4,4 @@ description: Separated tenant namespace
icon: /logos/tenant.svg icon: /logos/tenant.svg
type: application type: application
version: 1.9.1 version: 1.10.0

View File

@@ -22,4 +22,10 @@ spec:
version: "*" version: "*"
interval: 1m0s interval: 1m0s
timeout: 5m0s timeout: 5m0s
valuesFrom:
- kind: ConfigMap
name: cozy-tenant-configuration-hash
optional: true
targetPath: cozyTenantConfigurationHash
valuesKey: cozyTenantConfigurationHash
{{- end }} {{- end }}

View File

@@ -24,4 +24,10 @@ spec:
version: "*" version: "*"
interval: 1m0s interval: 1m0s
timeout: 5m0s timeout: 5m0s
valuesFrom:
- kind: ConfigMap
name: cozy-tenant-configuration-hash
optional: true
targetPath: cozyTenantConfigurationHash
valuesKey: cozyTenantConfigurationHash
{{- end }} {{- end }}

View File

@@ -23,4 +23,10 @@ spec:
interval: 1m0s interval: 1m0s
timeout: 5m0s timeout: 5m0s
values: {} values: {}
valuesFrom:
- kind: ConfigMap
name: cozy-tenant-configuration-hash
optional: true
targetPath: cozyTenantConfigurationHash
valuesKey: cozyTenantConfigurationHash
{{- end }} {{- end }}

View File

@@ -44,6 +44,10 @@ spec:
resources: {} resources: {}
vmstorage: vmstorage:
resources: {} resources: {}
oncall: valuesFrom:
enabled: false - kind: ConfigMap
name: cozy-tenant-configuration-hash
optional: true
targetPath: cozyTenantConfigurationHash
valuesKey: cozyTenantConfigurationHash
{{- end }} {{- end }}

View File

@@ -22,4 +22,10 @@ spec:
version: "*" version: "*"
interval: 1m0s interval: 1m0s
timeout: 5m0s timeout: 5m0s
valuesFrom:
- kind: ConfigMap
name: cozy-tenant-configuration-hash
optional: true
targetPath: cozyTenantConfigurationHash
valuesKey: cozyTenantConfigurationHash
{{- end }} {{- end }}

View File

@@ -1,4 +1,5 @@
bucket 0.1.0 HEAD bucket 0.1.0 721c12a7
bucket 0.2.0 HEAD
clickhouse 0.1.0 f7eaab0a clickhouse 0.1.0 f7eaab0a
clickhouse 0.2.0 53f2365e clickhouse 0.2.0 53f2365e
clickhouse 0.2.1 dfbc210b clickhouse 0.2.1 dfbc210b
@@ -75,7 +76,8 @@ nats 0.3.0 78366f19
nats 0.3.1 c62a83a7 nats 0.3.1 c62a83a7
nats 0.4.0 898374b5 nats 0.4.0 898374b5
nats 0.4.1 8267072d nats 0.4.1 8267072d
nats 0.5.0 HEAD nats 0.5.0 721c12a7
nats 0.6.0 HEAD
postgres 0.1.0 263e47be postgres 0.1.0 263e47be
postgres 0.2.0 53f2365e postgres 0.2.0 53f2365e
postgres 0.2.1 d7cfa53c postgres 0.2.1 d7cfa53c
@@ -130,7 +132,8 @@ tenant 1.6.8 bc95159a
tenant 1.7.0 24fa7222 tenant 1.7.0 24fa7222
tenant 1.8.0 160e4e2a tenant 1.8.0 160e4e2a
tenant 1.9.0 728743db tenant 1.9.0 728743db
tenant 1.9.1 HEAD tenant 1.9.1 721c12a7
tenant 1.10.0 HEAD
virtual-machine 0.1.4 f2015d65 virtual-machine 0.1.4 f2015d65
virtual-machine 0.1.5 263e47be virtual-machine 0.1.5 263e47be
virtual-machine 0.2.0 c0685f43 virtual-machine 0.2.0 c0685f43

View File

@@ -3,4 +3,4 @@ name: ingress
description: NGINX Ingress Controller description: NGINX Ingress Controller
icon: /logos/ingress-nginx.svg icon: /logos/ingress-nginx.svg
type: application type: application
version: 1.4.0 version: 1.5.0

View File

@@ -51,3 +51,9 @@ spec:
server-snippet: "real_ip_header CF-Connecting-IP;" server-snippet: "real_ip_header CF-Connecting-IP;"
{{- end }} {{- end }}
{{- end }} {{- end }}
valuesFrom:
- kind: ConfigMap
name: cozy-tenant-configuration-hash
optional: true
targetPath: cozyTenantConfigurationHash
valuesKey: cozyTenantConfigurationHash

View File

@@ -16,7 +16,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes # This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version. # to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/) # Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.4.0 version: 0.5.0
# This is the version number of the application being deployed. This version number should be # This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to # incremented each time you make changes to the application. Versions are not expected to

View File

@@ -82,6 +82,12 @@ spec:
limits: limits:
cpu: "500m" cpu: "500m"
memory: "512Mi" memory: "512Mi"
valuesFrom:
- kind: ConfigMap
name: cozy-tenant-configuration-hash
optional: true
targetPath: cozyTenantConfigurationHash
valuesKey: cozyTenantConfigurationHash
--- ---
apiVersion: cozystack.io/v1alpha1 apiVersion: cozystack.io/v1alpha1
kind: WorkloadMonitor kind: WorkloadMonitor

View File

@@ -16,7 +16,8 @@ ingress 1.0.0 d7cfa53c
ingress 1.1.0 5bbc488e ingress 1.1.0 5bbc488e
ingress 1.2.0 28fca4ef ingress 1.2.0 28fca4ef
ingress 1.3.0 fde4bcfa ingress 1.3.0 fde4bcfa
ingress 1.4.0 HEAD ingress 1.4.0 721c12a7
ingress 1.5.0 HEAD
monitoring 1.0.0 d7cfa53c monitoring 1.0.0 d7cfa53c
monitoring 1.1.0 25221fdc monitoring 1.1.0 25221fdc
monitoring 1.2.0 f81be075 monitoring 1.2.0 f81be075
@@ -40,4 +41,5 @@ seaweedfs 0.1.0 71514249
seaweedfs 0.2.0 5fb9cfe3 seaweedfs 0.2.0 5fb9cfe3
seaweedfs 0.2.1 fde4bcfa seaweedfs 0.2.1 fde4bcfa
seaweedfs 0.3.0 45a7416c seaweedfs 0.3.0 45a7416c
seaweedfs 0.4.0 HEAD seaweedfs 0.4.0 721c12a7
seaweedfs 0.5.0 HEAD