diff --git a/addons/mysql/templates/cmpv-mysql-orc.yaml b/addons/mysql/templates/cmpv-mysql-orc.yaml new file mode 100644 index 000000000..a6acb76d1 --- /dev/null +++ b/addons/mysql/templates/cmpv-mysql-orc.yaml @@ -0,0 +1,72 @@ +apiVersion: apps.kubeblocks.io/v1alpha1 +kind: ComponentVersion +metadata: + name: mysql-orc + labels: + {{- include "mysql.labels" . | nindent 4 }} +spec: + compatibilityRules: + - compDefs: + - {{ include "mysql.componentDefName" . }}-8.0.33-orc + releases: + - 8.0.30 + - 8.0.31 + - 8.0.32 + - 8.0.33 + - 8.0.34 + - 8.0.35 + - 8.0.36 + - 8.0.37 + - 8.0.38 + - 8.0.39 + releases: + - name: 8.0.30 + changes: + serviceVersion: 8.0.30 + images: + mysql: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.repository }}:8.0.30 + - name: 8.0.31 + changes: + serviceVersion: 8.0.31 + images: + mysql: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.repository }}:8.0.31 + - name: 8.0.32 + changes: + serviceVersion: 8.0.32 + images: + mysql: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.repository }}:8.0.32 + - name: 8.0.33 + changes: + serviceVersion: 8.0.33 + images: + mysql: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.repository }}:8.0.33 + - name: 8.0.34 + changes: + serviceVersion: 8.0.34 + images: + mysql: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.repository }}:8.0.34 + - name: 8.0.35 + changes: + serviceVersion: 8.0.35 + images: + mysql: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.repository }}:8.0.35 + - name: 8.0.36 + changes: + serviceVersion: 8.0.36 + images: + mysql: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.repository }}:8.0.36 + - name: 8.0.37 + changes: + serviceVersion: 8.0.37 + images: + mysql: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.repository }}:8.0.37 + - name: 8.0.38 + changes: + serviceVersion: 8.0.38 + images: + mysql: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.repository }}:8.0.38 + - name: 8.0.39 + changes: + serviceVersion: 8.0.39 + images: + mysql: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.repository }}:8.0.39 \ No newline at end of file diff --git a/addons/mysql/templates/cmpv-mysql.yaml b/addons/mysql/templates/cmpv-mysql.yaml new file mode 100644 index 000000000..f45f5a195 --- /dev/null +++ b/addons/mysql/templates/cmpv-mysql.yaml @@ -0,0 +1,102 @@ +apiVersion: apps.kubeblocks.io/v1alpha1 +kind: ComponentVersion +metadata: + name: mysql + labels: + {{- include "mysql.labels" . | nindent 4 }} +spec: + compatibilityRules: + - compDefs: + - {{ include "mysql.componentDefName" . }}-8.0.33 + releases: + - 8.0.30 + - 8.0.31 + - 8.0.32 + - 8.0.33 + - 8.0.34 + - 8.0.35 + - 8.0.36 + - 8.0.37 + - 8.0.38 + - 8.0.39 + releases: + - name: 8.0.30 + changes: + serviceVersion: 8.0.30 + images: + mysql: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.repository }}:8.0.30 + init-data: {{ .Values.image.registry | default "docker.io" }}/apecloud/mysql_audit_log:8.0.33 + init-xtrabackup: {{ .Values.image.registry | default "docker.io" }}/apecloud/xtrabackup:8.0 + init-syncer: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.syncer.repository }}:{{ .Values.image.syncer.tag }} + - name: 8.0.31 + changes: + serviceVersion: 8.0.31 + images: + mysql: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.repository }}:8.0.31 + init-data: {{ .Values.image.registry | default "docker.io" }}/apecloud/mysql_audit_log:8.0.33 + init-xtrabackup: {{ .Values.image.registry | default "docker.io" }}/apecloud/xtrabackup:8.0 + init-syncer: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.syncer.repository }}:{{ .Values.image.syncer.tag }} + - name: 8.0.32 + changes: + serviceVersion: 8.0.32 + images: + mysql: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.repository }}:8.0.32 + init-data: {{ .Values.image.registry | default "docker.io" }}/apecloud/mysql_audit_log:8.0.33 + init-xtrabackup: {{ .Values.image.registry | default "docker.io" }}/apecloud/xtrabackup:8.0 + init-syncer: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.syncer.repository }}:{{ .Values.image.syncer.tag }} + - name: 8.0.33 + changes: + serviceVersion: 8.0.33 + images: + mysql: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.repository }}:8.0.33 + init-data: {{ .Values.image.registry | default "docker.io" }}/apecloud/mysql_audit_log:8.0.33 + init-xtrabackup: {{ .Values.image.registry | default "docker.io" }}/apecloud/xtrabackup:8.0 + init-syncer: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.syncer.repository }}:{{ .Values.image.syncer.tag }} + - name: 8.0.34 + changes: + serviceVersion: 8.0.34 + images: + mysql: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.repository }}:8.0.34 + init-data: {{ .Values.image.registry | default "docker.io" }}/apecloud/mysql_audit_log:8.0.33 + init-xtrabackup: {{ .Values.image.registry | default "docker.io" }}/apecloud/xtrabackup:8.0 + init-syncer: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.syncer.repository }}:{{ .Values.image.syncer.tag }} + - name: 8.0.35 + changes: + serviceVersion: 8.0.35 + images: + mysql: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.repository }}:8.0.35 + init-data: {{ .Values.image.registry | default "docker.io" }}/apecloud/mysql_audit_log:8.0.33 + init-xtrabackup: {{ .Values.image.registry | default "docker.io" }}/apecloud/xtrabackup:8.0 + init-syncer: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.syncer.repository }}:{{ .Values.image.syncer.tag }} + - name: 8.0.36 + changes: + serviceVersion: 8.0.36 + images: + mysql: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.repository }}:8.0.36 + init-data: {{ .Values.image.registry | default "docker.io" }}/apecloud/mysql_audit_log:8.0.33 + init-xtrabackup: {{ .Values.image.registry | default "docker.io" }}/apecloud/xtrabackup:8.0 + init-syncer: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.syncer.repository }}:{{ .Values.image.syncer.tag }} + - name: 8.0.37 + changes: + serviceVersion: 8.0.37 + images: + mysql: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.repository }}:8.0.37 + init-data: {{ .Values.image.registry | default "docker.io" }}/apecloud/mysql_audit_log:8.0.33 + init-xtrabackup: {{ .Values.image.registry | default "docker.io" }}/apecloud/xtrabackup:8.0 + init-syncer: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.syncer.repository }}:{{ .Values.image.syncer.tag }} + - name: 8.0.38 + changes: + serviceVersion: 8.0.38 + images: + mysql: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.repository }}:8.0.38 + init-data: {{ .Values.image.registry | default "docker.io" }}/apecloud/mysql_audit_log:8.0.33 + init-xtrabackup: {{ .Values.image.registry | default "docker.io" }}/apecloud/xtrabackup:8.0 + init-syncer: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.syncer.repository }}:{{ .Values.image.syncer.tag }} + - name: 8.0.39 + changes: + serviceVersion: 8.0.39 + images: + mysql: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.repository }}:8.0.39 + init-data: {{ .Values.image.registry | default "docker.io" }}/apecloud/mysql_audit_log:8.0.33 + init-xtrabackup: {{ .Values.image.registry | default "docker.io" }}/apecloud/xtrabackup:8.0 + init-syncer: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.syncer.repository }}:{{ .Values.image.syncer.tag }} \ No newline at end of file