Deploying components using Helm charts
Helm charts can be used as components of an OAM Application by means of using the
helm component definition. This feature enables the creation of mixed application using both standard component that are associated with single microservices, and artifacts created by Helm charts. Notice that support for Helm components is still experimental and some advance diagnosis such as component status may not have the usual accuracy. The following snippets shows an application that launches Redis using a public Helm chart. For more information about tweaks and configuration of the rendered Helm charts, check the Helm component documentation.
apiVersion: core.oam.dev/v1beta1 kind: Application metadata: name: app-delivering-chart spec: components: - name: redis-comp type: helm properties: repoType: "helm" url: "https://charts.bitnami.com/bitnami" chart: "redis" version: "16.8.5" values: master: persistence: size: 2Gi replica: persistence: size: 2Gi replicaCount: 1
In the meantime, check the Application and Helm component definition.