Skip to content

Commit 79a6c17

Browse files
Add subpath to db
1 parent 4aee521 commit 79a6c17

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

charts/operator/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ apiVersion: v2
22
name: metabase-operator
33
description: Helm chart to deploy [unagex-metabase-operator](https://github.com/unagex/metabase-operator)
44
type: application
5-
version: 0.0.6
6-
appVersion: 0.0.6
5+
version: 0.0.7
6+
appVersion: 0.0.7
77
home: https://github.com/unagex/metabase-operator

charts/operator/templates/crds/unagex.com_metabases.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ spec:
206206
description: MetabaseStatus defines the observed state of Metabase
207207
properties:
208208
host:
209-
description: Host to connect to the database.
209+
description: Host to connect to the metabase.
210210
type: string
211211
ready:
212212
description: Instance ready to accept connections.

config/crd/bases/unagex.com_metabases.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ spec:
206206
description: MetabaseStatus defines the observed state of Metabase
207207
properties:
208208
host:
209-
description: Host to connect to the database.
209+
description: Host to connect to the metabase.
210210
type: string
211211
ready:
212212
description: Instance ready to accept connections.

internal/controller/database.go

+1
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ func (r *MetabaseReconciler) GetStatefulSet(metabase *unagexcomv1.Metabase) *app
136136
{
137137
Name: metabase.Name + "-storage",
138138
MountPath: "/var/lib/postgresql/data",
139+
SubPath: "metabase",
139140
},
140141
},
141142
},

0 commit comments

Comments
 (0)