clusters
Merge a particular secret with an existing one with optional remapping
Merge a particular secret with an existing one
patch/api/v1/orgs/{orgId}/clusters/{id}/secrets/{secretName}
Path parameters
orgIdinteger required
Organization identifier
idinteger required
Cluster identifier
secretNamestring required
Secret name as it will be seen in the cluster
Request body
Example request
{
"namespace": "default",
"sourceSecretName": "my-secret",
"spec": {
"key": {
"sourceMap": {
"key": "sourceMap"
},
"source": "source",
"value": "value"
}
}
}Response
secret is installed into the cluster
Example response
{
"name": "my-aws-secret"
}