mirror of
https://github.com/kubevela/kubevela.git
synced 2026-05-19 15:56:54 +00:00
* chore: fixes the breaking tests with older helm chart address Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com> Co-authored-by: Amit Singh <singhamitch@outlook.com> Co-authored-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com> Signed-off-by: semmet95 <singhamitch@outlook.com> * tests: update the registery url Signed-off-by: semmet95 <singhamitch@outlook.com> * updates the default url Signed-off-by: semmet95 <singhamitch@outlook.com> * test: reverts the changes Signed-off-by: semmet95 <singhamitch@outlook.com> * fix: sets github repo directory as the default definition registry Signed-off-by: Amit Singh <singhamitch@outlook.com> Signed-off-by: semmet95 <singhamitch@outlook.com> * chore: reverts the default definition registry url Signed-off-by: Amit Singh <singhamitch@outlook.com> * test: overwrites custom definition registry url Signed-off-by: Amit Singh <singhamitch@outlook.com> * debugging test failure Signed-off-by: Amit Singh <singhamitch@outlook.com> --------- Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com> Signed-off-by: semmet95 <singhamitch@outlook.com> Signed-off-by: Amit Singh <singhamitch@outlook.com> Co-authored-by: Amit Singh <singhamitch@outlook.com> Co-authored-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com>
How to config a helm repository
- Step 1: Make sure there is a helm-repository template
$ vela config-template list -A
NAMESPACE NAME ALIAS SCOPE SENSITIVE CREATED-TIME
vela-system dex-connector Dex Connector system false 2022-10-12 23:48:05 +0800 CST
vela-system helm-repository Helm Repository project false 2022-10-14 12:04:58 +0800 CST
vela-system image-registry Image Registry project false 2022-10-13 15:39:37 +0800 CST
# View the document of the properties
$ vela config-template show helm-repository
If not exist, please enable the flux addon firstly.
- Step 2: Create a config and distribute to the developer namespace
# Create a developer environment(namespace)
$ vela env init developer --namespace developer
# Create a registry config for the chart repository hosted by KubeVela team
$ vela config create kubevela-core --template helm-repository --target developer url=https://charts.kubevela.net/core
- Step 3: Create a application to use the helm repository
apiVersion: core.oam.dev/v1beta1
kind: Application
metadata:
name: helm-app
namespace: developer
spec:
components:
- name: helm
properties:
chart: vela-rollout
repoType: helm
retries: 3
secretRef: kubevela-core
url: "https://kubevela.github.io/charts"
type: helm