Deze pagina is nog niet beschikbaar in uw eigen taal. We werken er hard aan om meer taalversies toe te voegen. Bedankt voor uw steun.

Obtaining Chart Values

Updated on 2024-03-22 GMT+08:00

Function

This API is used to obtain chart values.

URI

GET /v2/charts/{chart_id}/values

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

chart_id

Yes

String

Chart ID

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

Content-Type

Yes

String

Message body type (format).

X-Auth-Token

Yes

String

Requests for calling an API can be authenticated using either a token or AK/SK. If token-based authentication is used, this parameter is mandatory and must be set to a user token. For details, see Obtaining a User Token.

Response Parameters

Status code: 200

Table 3 Response body parameters

Parameter

Type

Description

values

Map<String,Object>

Data in values.yaml. The data structure depends on the chart.

Example Requests

None

Example Responses

Status code: 200

OK

{
  "values" : {
    "basic" : {
      "admin_password" : "******",
      "admin_username" : "username"
    },
    "global" : {
      "magento_EIP" : "127.0.0.1",
      "magento_EPORT" : 32080,
      "namespace" : "demo"
    },
    "image" : {
      "magento_image" : "example.com/demo/magento:latest",
      "mysql_image" : "example.com/demo/mysql:5.7.14"
    }
  }
}

Status Codes

Status Code

Description

200

OK

Error Codes

See Error Codes.

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback