diff --git a/charts/dial-core/Chart.yaml b/charts/dial-core/Chart.yaml index 003139d..69b34d1 100644 --- a/charts/dial-core/Chart.yaml +++ b/charts/dial-core/Chart.yaml @@ -26,4 +26,4 @@ maintainers: name: dial-core sources: - https://github.com/epam/ai-dial-helm/tree/main/charts/dial-core -version: 2.0.2 +version: 2.0.3 diff --git a/charts/dial-core/README.md b/charts/dial-core/README.md index 7820c21..3230808 100644 --- a/charts/dial-core/README.md +++ b/charts/dial-core/README.md @@ -1,6 +1,6 @@ # dial-core -![Version: 2.0.2](https://img.shields.io/badge/Version-2.0.2-informational?style=flat-square) ![AppVersion: 1.0](https://img.shields.io/badge/AppVersion-1.0-informational?style=flat-square) +![Version: 2.0.3](https://img.shields.io/badge/Version-2.0.3-informational?style=flat-square) ![AppVersion: 1.0](https://img.shields.io/badge/AppVersion-1.0-informational?style=flat-square) Helm chart for dial core diff --git a/charts/dial-core/templates/secret-encryption.yaml b/charts/dial-core/templates/secret-encryption.yaml index 7d328b5..3ca5c00 100644 --- a/charts/dial-core/templates/secret-encryption.yaml +++ b/charts/dial-core/templates/secret-encryption.yaml @@ -1,3 +1,4 @@ +{{- if not .Values.configuration.encryption.existingSecret }} apiVersion: v1 kind: Secret metadata: @@ -23,3 +24,4 @@ type: Opaque data: aidial.encryption.password: {{ include "common.secrets.passwords.manage" (dict "secret" (include "dialCore.encryptionSecretName" .) "key" "aidial.encryption.password" "providedValues" (list "configuration.encryption.password") "length" 32 "strong" false "context" $) }} aidial.encryption.salt: {{ include "common.secrets.passwords.manage" (dict "secret" (include "dialCore.encryptionSecretName" .) "key" "aidial.encryption.salt" "providedValues" (list "configuration.encryption.salt") "length" 32 "strong" false "context" $) }} +{{- end }}