Skip to content

Commit

Permalink
Add subpath to db
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuCesbron committed Feb 15, 2024
1 parent 4aee521 commit 79a6c17
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions charts/operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ apiVersion: v2
name: metabase-operator
description: Helm chart to deploy [unagex-metabase-operator](https://github.com/unagex/metabase-operator)
type: application
version: 0.0.6
appVersion: 0.0.6
version: 0.0.7
appVersion: 0.0.7
home: https://github.com/unagex/metabase-operator
2 changes: 1 addition & 1 deletion charts/operator/templates/crds/unagex.com_metabases.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ spec:
description: MetabaseStatus defines the observed state of Metabase
properties:
host:
description: Host to connect to the database.
description: Host to connect to the metabase.
type: string
ready:
description: Instance ready to accept connections.
Expand Down
2 changes: 1 addition & 1 deletion config/crd/bases/unagex.com_metabases.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ spec:
description: MetabaseStatus defines the observed state of Metabase
properties:
host:
description: Host to connect to the database.
description: Host to connect to the metabase.
type: string
ready:
description: Instance ready to accept connections.
Expand Down
1 change: 1 addition & 0 deletions internal/controller/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ func (r *MetabaseReconciler) GetStatefulSet(metabase *unagexcomv1.Metabase) *app
{
Name: metabase.Name + "-storage",
MountPath: "/var/lib/postgresql/data",
SubPath: "metabase",
},
},
},
Expand Down

0 comments on commit 79a6c17

Please sign in to comment.