Skip to content

dial-3.0.0

Compare
Choose a tag to compare
@ai-dial-actions ai-dial-actions released this 27 Aug 15:53
2811d8b

Umbrella chart for DIAL solution

IMPORTANT: Manual Action Required

What's Changed

  • feat!: core encryption configuration changes in dial chart by @nepalevov in #74

Upgrading

To 3.0.0

In this version we have to reflect ai-dial-core application configuration parameters renaming in version 0.15.1+ by renaming several values in this chart.

  • core.configuration.encryption.password parameter is renamed to core.configuration.encryption.secret
  • core.configuration.encryption.salt parameter is changed to core.configuration.encryption.key

How to upgrade to version 3.0.0

a) If using encryption Kubernetes secret created by the chart:

  1. Update the parameters you have in your current deployment values (e.g. values.yaml file or set via --set) according to the changes below:

    • core.configuration.encryption.password --> core.configuration.encryption.secret
    • core.configuration.encryption.salt --> core.configuration.encryption.key
  2. Delete the *-encryption secret, e.g. (replace my-release with the actual release name):

    kubectl delete secret my-release-dial-core-encryption
  3. Proceed with the helm upgrade as usual, e.g.:

    helm upgrade my-release dial/dial -f values.yaml

b) If using your own managed Kubernetes secret (core.configuration.encryption.existingSecret is set):

  1. Rename keys in your existing secret:

    • aidial.encryption.password --> aidial.encryption.secret
    • aidial.encryption.salt --> aidial.encryption.key

    You can update your existing secret to rename or move the keys using the following one-liner command (replace <your-existing-secret-name> and <namespace> with the actual values):

      kubectl get secret <your-existing-secret-name> -o yaml -n <namespace> | jq '.data["aidial.encryption.secret"] = .data["aidial.encryption.password"] | .data["aidial.encryption.key"] = .data["aidial.encryption.salt"] | del(.data["aidial.encryption.password"], .data["aidial.encryption.salt"])' | kubectl replace -f -
  2. Proceed with the helm upgrade as usual, e.g.:

    helm upgrade my-release dial/dial -f values.yaml

Full Changelog: dial-core-3.0.0...dial-3.0.0