Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kizuna-lek committed Oct 9, 2024
1 parent 567a44d commit 5ae51ee
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 13 deletions.
2 changes: 1 addition & 1 deletion addons-cluster/vanilla-postgresql/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## @param version Postgresql cluster version
##
version: "14.7"
version: 14.7.0

## @param mode postgresql cluster topology mode, standalone, replication
##
Expand Down
3 changes: 3 additions & 0 deletions addons/vanilla-postgresql/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -280,4 +280,7 @@ env:
value: $(POSTGRES_USER)
- name: PGPASSWORD
value: $(POSTGRES_PASSWORD)
# fixme: only used for lorry in 0.9
- name: KB_SERVICE_CHARACTER_TYPE
value: postgresql
{{- end -}}
2 changes: 1 addition & 1 deletion addons/vanilla-postgresql/templates/clusterdefinition.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: apps.kubeblocks.io/v1
apiVersion: apps.kubeblocks.io/v1alpha1
kind: ClusterDefinition
metadata:
name: {{ include "vanilla-postgresql.clusterDefinition" . }}
Expand Down
2 changes: 1 addition & 1 deletion addons/vanilla-postgresql/templates/cmpd-12.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: apps.kubeblocks.io/v1
apiVersion: apps.kubeblocks.io/v1alpha1
kind: ComponentDefinition
metadata:
name: {{ include "vanilla-postgresql12.compDefName" . }}
Expand Down
2 changes: 1 addition & 1 deletion addons/vanilla-postgresql/templates/cmpd-14.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: apps.kubeblocks.io/v1
apiVersion: apps.kubeblocks.io/v1alpha1
kind: ComponentDefinition
metadata:
name: {{ include "vanilla-postgresql14.compDefName" . }}
Expand Down
14 changes: 7 additions & 7 deletions addons/vanilla-postgresql/templates/cmpv.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: apps.kubeblocks.io/v1
apiVersion: apps.kubeblocks.io/v1alpha1
kind: ComponentVersion
metadata:
name: {{ include "vanilla-postgresql.componentVersion" . }}
Expand All @@ -9,19 +9,19 @@ spec:
- compDefs:
- {{ include "vanilla-postgresql12.componentDefNamePrefix" . }}
releases:
- 12.15
- 12.15.0
- compDefs:
- {{ include "vanilla-postgresql14.componentDefNamePrefix" . }}
releases:
- 14.7
- 14.7.0
releases:
- name: 12.15
- name: 12.15.0
changes:
serviceVersion: 12.15 # {{ .Values.componentServiceVersion.vanillaPostgresql12 }}
serviceVersion: 12.15.0 # {{ .Values.componentServiceVersion.vanillaPostgresql12 }}
images:
postgresql: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.repository }}:{{ .Values.image.tags.major12.minor15 }}
- name: 14.7
- name: 14.7.0
changes:
serviceVersion: 14.7
serviceVersion: 14.7.0
images:
postgresql: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.repository }}:{{ .Values.image.tags.major14.minor07 }}
4 changes: 2 additions & 2 deletions addons/vanilla-postgresql/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ cmpdVersionPrefix:

## @param componentServiceVersion define default serviceVersion of each Component
componentServiceVersion:
vanillaPostgresql12: "12.15"
vanillaPostgresql14: "14.7"
vanillaPostgresql12: 12.15.0
vanillaPostgresql14: 14.7.0

shmVolume:
## @param shmVolume.enabled Enable emptyDir volume for /dev/shm for PostgreSQL pod(s)
Expand Down

0 comments on commit 5ae51ee

Please sign in to comment.