create_chart_service_profile
Make one Helm chart into a stack profile a managed-service package can be published over (the twin of ankra services packages init --addon), and publish the profile's first version. Name the chart, its version and the Helm registry it is registered under in Ankra (the organisation's own registry of that name, or the shared catalogue's); values_yaml is the chart's values. The profile is one stack holding the chart in each service's own namespace. With generated_secret (a Secret name and 1 to 16 keys, each random of 16 to 64 characters with length, default 32, or a fixed value such as a user or database name), the profile also generates that Secret in each service's namespace on its first install and keeps it unchanged across upgrades; Ankra never sees or stores the values. Point the chart at the Secret through its own existing-secret values in values_yaml, then name it as connection.secret_name in the package. Use get_service_profile_pin on the returned profile and version before publish_service_package. A refused request answers with the field that failed. A published profile version cannot change. Requires profiles.write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The profile's name, a Kubernetes name (lowercase letters, digits and hyphens). | |
| chart_name | Yes | The Helm chart's name, which is also its release name: lowercase letters, digits and hyphens, at most 53. | |
| description | No | Optional description of the profile. | |
| values_yaml | No | Optional values for the chart, as YAML, at most 256 KiB. | |
| chart_version | Yes | The chart version to pin. | |
| registry_name | Yes | The Helm registry the chart comes from, as named in Ankra. | |
| generated_secret | No | Optional Secret the profile generates for each service. |