Update samples for "vela show xxx --web" (#1616)

* Update samples for "vela show xxx --web"

Also stop generating components/traits docs under
docs/en/end-user and remove the command from Makefile

Fix #1602

* fix doc build issue

* Update references/plugins/references.go

Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com>

* Enhance --web feature for "vela show"

- Find the capability in "vela-system" if notfound in the current ns
- Don't depend on local capabilities

* add ut for GetCapabilityByName in references/plugins/cluster.go

* add ut for GetNamespacedCapabilitiesFromCluster in references/plugins/cluster.go

* add ut for GenerateTerraformCapabilityProperties in references/plugins/references.go

* fix import issue

Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com>
This commit is contained in:
Zheng Xi Zhou
2021-05-17 11:04:06 +08:00
committed by yangsoon
co-authored by Jianbo Sun
parent 2fdd33a80a
commit e01ff21d30
10 changed files with 637 additions and 296 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ module.exports = {
'Traits': [
'end-user/traits/ingress',
'end-user/traits/scaler',
'end-user/traits/labels',
'end-user/traits/annotations-and-labels',
'end-user/traits/sidecar',
'end-user/traits/volumes',
'end-user/traits/more',