fix: add csi stage & pin git repo version

This commit is contained in:
unteem 2023-04-14 16:03:02 +02:00
parent 30e2ed02f0
commit f42e21a889

View file

@ -22,6 +22,7 @@ import (
"k8s.io/client-go/rest"
"libre.sh/cli/pkg/component"
"libre.sh/cli/pkg/component/crds"
"libre.sh/cli/pkg/component/csi"
"libre.sh/cli/pkg/component/databases"
"libre.sh/cli/pkg/component/general"
"libre.sh/cli/pkg/component/minio"
@ -91,9 +92,9 @@ func NewLibreshModel(manager *ssa.ResourceManager) LibreshModel {
&crds.Model{
ScopeModel: &component.ScopeModel{},
},
/* &csi.Model{
&csi.Model{
ScopeModel: &component.ScopeModel{},
}, */
},
&networking.Model{
ScopeModel: &component.ScopeModel{},
},
@ -181,8 +182,7 @@ func initStage(cmd *cobra.Command, args []string) {
gitRepo.Spec = sourcev1.GitRepositorySpec{
URL: "https://forge.liiib.re/libre.sh/libre.sh",
Reference: &sourcev1.GitRepositoryRef{
// TODO fix when we are prod ready
Branch: "runtime",
Tag: "v0.1.0",
},
Ignore: &ignore,
Interval: metav1.Duration{