Skip to content

Commit 36ee753

Browse files
Shikachuualexellis
authored andcommitted
Update the mongodb app to use the bitnami chart
Signed-off-by: Czékus Máté <[email protected]>
1 parent 0b6263b commit 36ee753

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cmd/apps/mongodb_app.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,12 @@ func MakeInstallMongoDB() *cobra.Command {
7070
}
7171

7272
updateRepo, _ := command.Flags().GetBool("update-repo")
73-
err = helm.AddHelmRepo("stable", "https://charts.helm.sh/stable/", updateRepo)
73+
err = helm.AddHelmRepo("bitnami", "https://charts.bitnami.com/bitnami", updateRepo)
7474
if err != nil {
7575
return fmt.Errorf("unable to add repo %s", err)
7676
}
7777

78-
err = helm.FetchChart("stable/mongodb", defaultVersion)
78+
err = helm.FetchChart("bitnami/mongodb", defaultVersion)
7979

8080
if err != nil {
8181
return fmt.Errorf("unable fetch chart %s", err)
@@ -94,7 +94,7 @@ func MakeInstallMongoDB() *cobra.Command {
9494
return err
9595
}
9696

97-
err = helm.Helm3Upgrade("stable/mongodb",
97+
err = helm.Helm3Upgrade("bitnami/mongodb",
9898
namespace, "values.yaml", defaultVersion, overrides, wait)
9999
if err != nil {
100100
return fmt.Errorf("unable to mongodb chart with helm %s", err)

0 commit comments

Comments
 (0)