mirror of
https://github.com/kubevela/kubevela.git
synced 2026-08-18 03:56:36 +00:00
Fix: change catlog helm repo path to https://charts.kubevela.net/example (#2942)
Signed-off-by: yangsoon <yangsoonlx@gmail.com>
This commit is contained in:
@@ -18,4 +18,4 @@ spec:
|
||||
chart: "podinfo"
|
||||
version: "5.1.4"
|
||||
repository:
|
||||
url: "http://oam.dev/catalog/"
|
||||
url: "https://charts.kubevela.net/example/"
|
||||
|
||||
@@ -415,7 +415,7 @@ spec:
|
||||
chart: "podinfo"
|
||||
version: "5.1.4"
|
||||
repository:
|
||||
url: "http://oam.dev/catalog/"
|
||||
url: "https://charts.kubevela.net/example/"
|
||||
`
|
||||
|
||||
var componentDefWithKube = `
|
||||
|
||||
@@ -112,7 +112,7 @@ var _ = Describe("Test Helm schematic appfile", func() {
|
||||
},
|
||||
}),
|
||||
Repository: *util.Object2RawExtension(map[string]interface{}{
|
||||
"url": "http://oam.dev/catalog/",
|
||||
"url": "https://charts.kubevela.net/example/",
|
||||
}),
|
||||
},
|
||||
},
|
||||
@@ -191,7 +191,7 @@ var _ = Describe("Test Helm schematic appfile", func() {
|
||||
"namespace": "default",
|
||||
},
|
||||
"spec": map[string]interface{}{
|
||||
"url": "http://oam.dev/catalog/",
|
||||
"url": "https://charts.kubevela.net/example/",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
@@ -53,7 +53,7 @@ func TestGenerateSchemaFromValues(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestGetChartValuesJSONSchema(t *testing.T) {
|
||||
testHelm := testData("podinfo", "5.1.4", "http://oam.dev/catalog", "testSecret")
|
||||
testHelm := testData("podinfo", "5.1.4", "https://charts.kubevela.net/example", "testSecret")
|
||||
wantSchema, err := os.ReadFile("./testdata/podinfo.values.schema.json")
|
||||
if err != nil {
|
||||
t.Error(err, "cannot load expected data")
|
||||
|
||||
+1
-1
@@ -338,7 +338,7 @@ spec:
|
||||
},
|
||||
}),
|
||||
Repository: *util.Object2RawExtension(map[string]interface{}{
|
||||
"url": "http://oam.dev/catalog/",
|
||||
"url": "https://charts.kubevela.net/example/",
|
||||
}),
|
||||
},
|
||||
}
|
||||
|
||||
@@ -75,7 +75,7 @@ var _ = Describe("Test application containing helm module", func() {
|
||||
},
|
||||
}),
|
||||
Repository: *util.Object2RawExtension(map[string]interface{}{
|
||||
"url": "http://oam.dev/catalog/",
|
||||
"url": "https://charts.kubevela.net/example/",
|
||||
}),
|
||||
},
|
||||
}
|
||||
@@ -275,7 +275,7 @@ var _ = Describe("Test application containing helm module", func() {
|
||||
},
|
||||
}),
|
||||
Repository: *util.Object2RawExtension(map[string]interface{}{
|
||||
"url": "http://oam.dev/catalog/",
|
||||
"url": "https://charts.kubevela.net/example/",
|
||||
}),
|
||||
},
|
||||
}
|
||||
@@ -330,7 +330,7 @@ var _ = Describe("Test application containing helm module", func() {
|
||||
},
|
||||
}),
|
||||
Repository: *util.Object2RawExtension(map[string]interface{}{
|
||||
"url": "http://oam.dev/catalog/",
|
||||
"url": "https://charts.kubevela.net/example/",
|
||||
}),
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user