Skip to content

Commit

Permalink
Test this...
Browse files Browse the repository at this point in the history
  • Loading branch information
philippemnoel committed Sep 25, 2024
1 parent 596760d commit 8ce6d0d
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion charts/paradedb/templates/_bootstrap.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ bootstrap:
- CREATE EXTENSION IF NOT EXISTS pg_ivm;
- CREATE EXTENSION IF NOT EXISTS vector;
- CREATE EXTENSION IF NOT EXISTS vectorscale;
- ALTER DATABASE "{{ default "paradedb" .Values.cluster.initdb.database }}" SET search_path TO public,paradedb;
- ALTER DATABASE "{{ default "paradedb1" .Values.cluster.initdb.database }}" SET search_path TO public,paradedb;
{{- end }}
{{- with .Values.cluster.initdb }}
{{- range .postInitApplicationSQL }}
Expand Down
4 changes: 2 additions & 2 deletions charts/paradedb/templates/tests/ping.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ spec:
- name: PGUSER
valueFrom:
secretKeyRef:
name: {{ include "cluster.fullname" . }}
name: {{ include "cluster.fullname" . }}-paradedb1
key: username
- name: PGPASS
valueFrom:
secretKeyRef:
name: {{ include "cluster.fullname" . }}
name: {{ include "cluster.fullname" . }}-paradedb1
key: password
args:
- "-c"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ spec:
- name: DB_URI
valueFrom:
secretKeyRef:
name: paradedb
name: paradedb-paradedb1
key: uri
image: alpine:3.19
command: ['sh', '-c']
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ spec:
- name: DB_URI
valueFrom:
secretKeyRef:
name: paradedb
name: paradedb-paradedb1
key: uri
image: alpine:3.19
command: ['sh', '-c']
Expand Down
4 changes: 2 additions & 2 deletions charts/paradedb/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ recovery:
# See https://cloudnative-pg.io/documentation/1.22/bootstrap/#bootstrap-from-a-live-cluster-pg_basebackup
pgBaseBackup:
# -- Name of the database used by the application. Default: `paradedb`.
database: paradedb
database: paradedb1
# -- Name of the owner of the database in the instance to be used by applications. Defaults to the value of the `database` key.
secret: ""
# -- Name of the secret containing the initial credentials for the owner of the user database. If empty a new secret will be created from scratch
Expand All @@ -99,7 +99,7 @@ recovery:
host: ""
port: 5432
username: ""
database: "paradedb"
database: "paradedb1"
sslMode: "verify-full"
passwordSecret:
# -- Whether to create a secret for the password
Expand Down

0 comments on commit 8ce6d0d

Please sign in to comment.