Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: pick apecloud mysql support rerender after vscale to release-0.9 #997

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions addons/apecloud-mysql/templates/clusterdefinition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,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" . }}
Expand Down
6 changes: 4 additions & 2 deletions addons/postgresql/templates/componentdefinition-12.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ spec:
- postgresql.conf
namespace: {{ .Release.Namespace }}
volumeName: postgresql-config
defaultMode: 0777
defaultMode: 0444
reRenderResourceTypes:
- vscale
- name: pgbouncer-configuration
templateRef: pgbouncer-configuration
keys:
Expand Down Expand Up @@ -344,4 +346,4 @@ spec:
compDef: postgresql-12
name: postgres
optional: false
password: Required
password: Required
6 changes: 4 additions & 2 deletions addons/postgresql/templates/componentdefinition-14.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ spec:
- postgresql.conf
namespace: {{ .Release.Namespace }}
volumeName: postgresql-config
defaultMode: 0777
defaultMode: 0444
reRenderResourceTypes:
- vscale
- name: pgbouncer-configuration
templateRef: pgbouncer-configuration
keys:
Expand Down Expand Up @@ -344,4 +346,4 @@ spec:
compDef: postgresql-14
name: postgres
optional: false
password: Required
password: Required
6 changes: 4 additions & 2 deletions addons/postgresql/templates/componentdefinition-15.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ spec:
- postgresql.conf
namespace: {{ .Release.Namespace }}
volumeName: postgresql-config
defaultMode: 0777
defaultMode: 0444
reRenderResourceTypes:
- vscale
- name: pgbouncer-configuration
templateRef: pgbouncer-configuration
keys:
Expand Down Expand Up @@ -344,4 +346,4 @@ spec:
compDef: postgresql-15
name: postgres
optional: false
password: Required
password: Required
4 changes: 3 additions & 1 deletion addons/postgresql/templates/componentdefinition-16.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ spec:
- postgresql.conf
namespace: {{ .Release.Namespace }}
volumeName: postgresql-config
defaultMode: 0777
defaultMode: 0444
reRenderResourceTypes:
- vscale
- name: pgbouncer-configuration
templateRef: pgbouncer-configuration
keys:
Expand Down
2 changes: 2 additions & 0 deletions addons/pulsar/templates/componentdef-bkrecovery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ spec:
- bookies-recovery
- check-bookies
volumeName: recovery-config-env
reRenderResourceTypes:
- vscale
scripts:
- name: pulsar-scripts
templateRef: {{ include "pulsar.name" . }}-scripts
Expand Down
4 changes: 4 additions & 0 deletions addons/pulsar/templates/componentdef-bookkeeper.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions addons/pulsar/templates/componentdef-broker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 2 additions & 0 deletions addons/pulsar/templates/componentdef-proxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
Loading