diff --git a/addons/apecloud-mysql/templates/cmpd-apecloudmysql.yaml b/addons/apecloud-mysql/templates/cmpd-apecloudmysql.yaml index e8a551173..e284b410a 100644 --- a/addons/apecloud-mysql/templates/cmpd-apecloudmysql.yaml +++ b/addons/apecloud-mysql/templates/cmpd-apecloudmysql.yaml @@ -14,6 +14,8 @@ spec: constraintRef: {{ include "apecloud-mysql.configConstraintName" . }} volumeName: mysql-config namespace: {{ .Release.Namespace }} + reRenderResourceTypes: + - vscale - name: vttablet-config templateRef: {{ include "apecloud-mysql.configTplVttabletName" . }} constraintRef: {{ include "apecloud-mysql.configConstraintVttabletName" . }} diff --git a/addons/mysql/templates/cmpd-mysql57-orc.yaml b/addons/mysql/templates/cmpd-mysql57-orc.yaml index a279a02cb..30cffe22f 100644 --- a/addons/mysql/templates/cmpd-mysql57-orc.yaml +++ b/addons/mysql/templates/cmpd-mysql57-orc.yaml @@ -32,6 +32,8 @@ spec: constraintRef: mysql-config-constraints volumeName: mysql-config namespace: {{ .Release.Namespace }} + reRenderResourceTypes: + - vscale runtime: initContainers: - image: {{ .Values.image.registry | default "docker.io" }}/apecloud/mysql_audit_log:5.7.44 diff --git a/addons/mysql/templates/cmpd-mysql57.yaml b/addons/mysql/templates/cmpd-mysql57.yaml index 42e3ca6e1..fde7346b0 100644 --- a/addons/mysql/templates/cmpd-mysql57.yaml +++ b/addons/mysql/templates/cmpd-mysql57.yaml @@ -14,6 +14,8 @@ spec: constraintRef: mysql-config-constraints volumeName: mysql-config namespace: {{ .Release.Namespace }} + reRenderResourceTypes: + - vscale runtime: initContainers: - image: {{ .Values.image.registry | default "docker.io" }}/apecloud/mysql_audit_log:5.7.44 diff --git a/addons/mysql/templates/cmpd-mysql80-orc.yaml b/addons/mysql/templates/cmpd-mysql80-orc.yaml index 58c6a70d6..1e7a7b31e 100644 --- a/addons/mysql/templates/cmpd-mysql80-orc.yaml +++ b/addons/mysql/templates/cmpd-mysql80-orc.yaml @@ -32,6 +32,8 @@ spec: constraintRef: mysql-config-constraints volumeName: mysql-config namespace: {{ .Release.Namespace }} + reRenderResourceTypes: + - vscale runtime: initContainers: - image: {{ .Values.image.registry | default "docker.io" }}/apecloud/mysql_audit_log:8.0.33 diff --git a/addons/mysql/templates/cmpd-mysql80.yaml b/addons/mysql/templates/cmpd-mysql80.yaml index c6efef2ba..02d4096c8 100644 --- a/addons/mysql/templates/cmpd-mysql80.yaml +++ b/addons/mysql/templates/cmpd-mysql80.yaml @@ -14,6 +14,8 @@ spec: constraintRef: mysql-config-constraints volumeName: mysql-config namespace: {{ .Release.Namespace }} + reRenderResourceTypes: + - vscale runtime: initContainers: - image: {{ .Values.image.registry | default "docker.io" }}/apecloud/mysql_audit_log:8.0.33 diff --git a/addons/postgresql/templates/componentdefinition-12.yaml b/addons/postgresql/templates/componentdefinition-12.yaml index 83739b18d..3adbb0b1d 100644 --- a/addons/postgresql/templates/componentdefinition-12.yaml +++ b/addons/postgresql/templates/componentdefinition-12.yaml @@ -56,6 +56,8 @@ spec: namespace: {{ .Release.Namespace }} volumeName: postgresql-config defaultMode: 0444 + reRenderResourceTypes: + - vscale - name: pgbouncer-configuration templateRef: pgbouncer-configuration keys: diff --git a/addons/postgresql/templates/componentdefinition-14.yaml b/addons/postgresql/templates/componentdefinition-14.yaml index 07d6ccbeb..c1ff06397 100644 --- a/addons/postgresql/templates/componentdefinition-14.yaml +++ b/addons/postgresql/templates/componentdefinition-14.yaml @@ -56,6 +56,8 @@ spec: namespace: {{ .Release.Namespace }} volumeName: postgresql-config defaultMode: 0444 + reRenderResourceTypes: + - vscale - name: pgbouncer-configuration templateRef: pgbouncer-configuration keys: diff --git a/addons/postgresql/templates/componentdefinition-15.yaml b/addons/postgresql/templates/componentdefinition-15.yaml index 55dedc3f4..b1cf40c58 100644 --- a/addons/postgresql/templates/componentdefinition-15.yaml +++ b/addons/postgresql/templates/componentdefinition-15.yaml @@ -57,6 +57,8 @@ spec: namespace: {{ .Release.Namespace }} volumeName: postgresql-config defaultMode: 0444 + reRenderResourceTypes: + - vscale - name: pgbouncer-configuration templateRef: pgbouncer-configuration keys: diff --git a/addons/pulsar/templates/componentdef-bkrecovery.yaml b/addons/pulsar/templates/componentdef-bkrecovery.yaml index bd9ac4ac8..76f8790ca 100644 --- a/addons/pulsar/templates/componentdef-bkrecovery.yaml +++ b/addons/pulsar/templates/componentdef-bkrecovery.yaml @@ -27,6 +27,8 @@ spec: - bookies-recovery - check-bookies volumeName: recovery-config-env + reRenderResourceTypes: + - vscale scripts: - name: pulsar-scripts templateRef: {{ include "pulsar.name" . }}-scripts diff --git a/addons/pulsar/templates/componentdef-bookkeeper.yaml b/addons/pulsar/templates/componentdef-bookkeeper.yaml index bc46b0947..807554c3e 100644 --- a/addons/pulsar/templates/componentdef-bookkeeper.yaml +++ b/addons/pulsar/templates/componentdef-bookkeeper.yaml @@ -27,11 +27,15 @@ spec: injectEnvTo: - init-bookies - bookies + reRenderResourceTypes: + - vscale - name: bookies-config templateRef: {{ include "pulsar.name" . }}{{include "pulsar.major.version" .}}-bookies-config-tpl namespace: {{ .Release.Namespace }} volumeName: pulsar-bookies-config constraintRef: pulsar{{include "pulsar.major.version" .}}-bookies-cc + reRenderResourceTypes: + - vscale scripts: - name: pulsar-scripts templateRef: {{ include "pulsar.name" . }}-scripts diff --git a/addons/pulsar/templates/componentdef-broker.yaml b/addons/pulsar/templates/componentdef-broker.yaml index f7e31f657..75b2ef107 100644 --- a/addons/pulsar/templates/componentdef-broker.yaml +++ b/addons/pulsar/templates/componentdef-broker.yaml @@ -61,6 +61,8 @@ spec: - broker - init-pulsar-client-config volumeName: broker-env + reRenderResourceTypes: + - vscale - name: broker-config templateRef: {{ include "pulsar.name" . }}{{include "pulsar.major.version" .}}-broker-config-tpl namespace: {{ .Release.Namespace }} diff --git a/addons/pulsar/templates/componentdef-proxy.yaml b/addons/pulsar/templates/componentdef-proxy.yaml index 79c10e6da..b8c3373a6 100644 --- a/addons/pulsar/templates/componentdef-proxy.yaml +++ b/addons/pulsar/templates/componentdef-proxy.yaml @@ -27,6 +27,8 @@ spec: injectEnvTo: - proxy - check-broker + reRenderResourceTypes: + - vscale - name: proxy-config templateRef: {{ include "pulsar.name" . }}{{include "pulsar.major.version" .}}-proxy-config-tpl namespace: {{ .Release.Namespace }} diff --git a/addons/redis/templates/componentdefinition-redis-cluster.yaml b/addons/redis/templates/componentdefinition-redis-cluster.yaml index 3ab2c3495..41d227f42 100644 --- a/addons/redis/templates/componentdefinition-redis-cluster.yaml +++ b/addons/redis/templates/componentdefinition-redis-cluster.yaml @@ -46,6 +46,8 @@ spec: constraintRef: redis-cluster7-config-constraints namespace: {{ .Release.Namespace }} volumeName: redis-cluster-config + reRenderResourceTypes: + - vscale - name: redis-metrics-config templateRef: redis-metrics-config namespace: {{ .Release.Namespace }}