github.com/oam-dev/kubevela@v1.9.11/docs/examples/config/helm-repository/README.md (about) 1 # How to config a helm repository 2 3 * Step 1: Make sure there is a helm-repository template 4 5 ```bash 6 $ vela config-template list -A 7 NAMESPACE NAME ALIAS SCOPE SENSITIVE CREATED-TIME 8 vela-system dex-connector Dex Connector system false 2022-10-12 23:48:05 +0800 CST 9 vela-system helm-repository Helm Repository project false 2022-10-14 12:04:58 +0800 CST 10 vela-system image-registry Image Registry project false 2022-10-13 15:39:37 +0800 CST 11 12 # View the document of the properties 13 $ vela config-template show helm-repository 14 15 ``` 16 17 If not exist, please enable the flux addon firstly. 18 19 * Step 2: Create a config and distribute to the developer namespace 20 21 ```bash 22 # Create a developer environment(namespace) 23 $ vela env init developer --namespace developer 24 25 # Create a registry config for the chart repository hosted by KubeVela team 26 $ vela config create kubevela-core --template helm-repository --target developer url=https://charts.kubevela.net/core 27 ``` 28 29 * Step 3: Create a application to use the helm repository 30 31 ```bash 32 apiVersion: core.oam.dev/v1beta1 33 kind: Application 34 metadata: 35 name: helm-app 36 namespace: developer 37 spec: 38 components: 39 - name: helm 40 properties: 41 chart: vela-rollout 42 repoType: helm 43 retries: 3 44 secretRef: kubevela-core 45 url: https://charts.kubevela.net/core 46 type: helm 47 ```