How to get YAML file using APIs? #3966
Answered
by
antgamdia
sehrishnaseer
asked this question in
Q&A
-
How to get YAML file using APIs while creatingInstalledPackage or creatingRelease, where we can set resources and get all other info, which is shown in Installation values, after deploying the app? Any help would be appreciated! |
Beta Was this translation helpful? Give feedback.
Answered by
antgamdia
Dec 16, 2021
Replies: 1 comment 1 reply
-
You need to query the curl -X 'GET' \
'https://kubeapps.20.67.191.243.sslip.io/apis/core/packages/v1alpha1/availablepackages/plugin/helm.packages/v1alpha1/c/default/ns/kubeapps/bitnami%2Fairflow?pkgVersion=11.1.10' \
-H 'accept: application/json' Similarly, if interesting in getting the values of an already installed application, you'll need to query the |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
antgamdia
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to query the
GetAvailablePackageDetail
operation and retrieve thedefaultValues
field.If using the REST API, your API call will be similar to:
Similarly, if interesting in getting the values of an already installed application, you'll need to query the
GetInstalledPackageDetail
operation instead.