Red Hat Openshift Developer EX288 Practice Exam

Session length

1 / 20

Which snippet correctly declares a MySQL dependency on version 5.6 from the MySQL charts repository in chart.yaml?

- name: mysql version: 5.6 repository: https://mysql.helm.com/charts

In Helm, dependencies are declared by specifying the dependent chart’s name, the chart version, and the repository where that chart is hosted. To bring in MySQL as a dependency with a specific chart version from MySQL’s own charts repo, you set the repository field to the MySQL charts URL and use the mysql chart name with version 5.6. That repository URL is the source that actually hosts the MySQL chart version you want, so pointing to https://mysql.helm.com/charts ensures Helm looks in the correct place for the mysql chart version 5.6. Using the stable repository would reference charts that are not guaranteed to include the MySQL chart version you’re aiming for, or might not host it at all. In Chart.yaml, this appears as a dependencies entry containing name, version, and repository for the mysql chart sourced from the MySQL charts repository.

- name: mysql version: 5.6 repository: https://charts.helm.sh/stable

dependencies: - name: mysql version: 5.6 repository: https://mysql.helm.com/charts

dependencies: - name: mysql version: 5.6 repository: https://charts.helm.sh/stable

Next Question
Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy