Skip to content
This repository has been archived by the owner on Sep 15, 2022. It is now read-only.

0.3.1

Compare
Choose a tag to compare
@kyma-bot kyma-bot released this 20 Mar 10:09
· 88 commits to master since this release

Bundles

Added annotation to bundles' components to inject Istio sidecar.

Usage

To extend the Helm Broker in Kyma, use the indexes that are part of the release.

Check your current repositories URLs:

  • In the latest version of Kyma:
kubectl get configmap -n kyma-system -l helm-broker-repo=true -ojson | jq '.items[].data.URLs'
  • In Kyma version under v0.8:
kubectl get -n kyma-system deployment/helm-broker --output=jsonpath='{.spec.template.spec.containers[0].env[?(@.name=="APP_REPOSITORY_URLS")].value}'

If you want to change your repository configuration, follow these steps:

Set the repository to stable bundles from this release:

  • In the latest version of Kyma:
kubectl create configmap my-helm-repos-urls -n kyma-system --from-literal=URLs=https://github.com/kyma-project/bundles/releases/download/0.3.0/index.yaml
kubectl label configmap my-helm-repos-urls -n kyma-system helm-broker-repo=true
  • In Kyma version under v0.8:
kubectl set env -n kyma-system deployment/helm-broker -e APP_REPOSITORY_URLS="https://github.com/kyma-project/bundles/releases/download/0.3.0/index.yaml"

Add testing bundles:

  • In the latest version of Kyma:
kubectl create configmap testing-repo-url -n kyma-system --from-literal=URLs=https://github.com/kyma-project/bundles/releases/download/0.3.0/index-testing.yaml
kubectl label configmap testing-repo-url -n kyma-system helm-broker-repo=true
  • In Kyma version under v0.8:
URLS=$(kubectl get -n kyma-system deployment/helm-broker --output=jsonpath='{.spec.template.spec.containers[0].env[?(@.name=="APP_REPOSITORY_URLS")].value}')
kubectl set env -n kyma-system deployment/helm-broker -e APP_REPOSITORY_URLS="$URLS;https://github.com/kyma-project/bundles/releases/download/0.3.0/index-testing.yaml"

NOTE: The Helm Broker does not register duplicated bundles in the Service Catalog. Ensure that the registered repositories do not define the same bundles.

🚀 Enhancement

Committers: 1