Skip to content

Commit 957d59c

Browse files
committed
fixup! 76906cd
1 parent baa3c49 commit 957d59c

File tree

5 files changed

+4
-8
lines changed

5 files changed

+4
-8
lines changed

Diff for: api/v1alpha1/postgres_types.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ type PostgresSpec struct {
4141
// +kubebuilder:pruning:PreserveUnknownFields
4242
type PostgresStatus struct {
4343
Succeeded bool `json:"succeeded"`
44-
// name of the created db, including a prefix if configured
44+
// name of the created db
4545
DbName string `json:"dbname"`
4646
Roles PostgresRoles `json:"roles"`
4747
// +optional

Diff for: charts/ext-postgres-operator/crds/db.movetokube.com_postgres_crd.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ spec:
5757
description: PostgresStatus defines the observed state of Postgres
5858
properties:
5959
dbname:
60-
description: name of the created db, including a prefix if configured
60+
description: name of the created db
6161
type: string
6262
extensions:
6363
items:

Diff for: charts/ext-postgres-operator/templates/operator.yaml

-4
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,6 @@ spec:
4545
valueFrom:
4646
fieldRef:
4747
fieldPath: metadata.name
48-
{{- if .Values.prefix }}
49-
- name: POSTGRES_OBJECT_PREFIX
50-
value: {{ .Values.prefix }}
51-
{{- end }}
5248
- name: OPERATOR_NAME
5349
value: {{ include "chart.fullname" . }}
5450
{{- range $key, $value := .Values.env }}

Diff for: config/crd/bases/db.movetokube.com_postgres.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ spec:
5757
description: PostgresStatus defines the observed state of Postgres
5858
properties:
5959
dbname:
60-
description: name of the created db, including a prefix if configured
60+
description: name of the created db
6161
type: string
6262
extensions:
6363
items:

Diff for: internal/utils/config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ func GetConfig() *Cfg {
3030
PostgresDefaultDb: os.Getenv("POSTGRES_DEFAULT_DATABASE"),
3131
CloudProvider: os.Getenv("POSTGRES_CLOUD_PROVIDER"),
3232
AnnotationFilter: os.Getenv("POSTGRES_INSTANCE"),
33-
ObjectPrefix: os.Getenv("POSTGRES_OBJECT_PREFIX"),
33+
ObjectPrefix: "",
3434
}
3535
})
3636
return config

0 commit comments

Comments
 (0)