diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2020-09-25 09:10:57 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-09-25 09:10:57 +0000 |
commit | 600b979eca5e1fe811fded36ab0a8ca0bf213878 (patch) | |
tree | f5ce0388f0f682b4ef91bdaef2afbc92781d6859 /kubernetes/portal/components/portal-app/values.yaml | |
parent | 322d6c775b57d6561574aa1ff29d6f5950a04a4f (diff) | |
parent | 2ffb1ba25a2a797fe781009adcc4766fbf44fe38 (diff) |
Merge "[Portal] Remove hardcoded cassandra password"
Diffstat (limited to 'kubernetes/portal/components/portal-app/values.yaml')
-rw-r--r-- | kubernetes/portal/components/portal-app/values.yaml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/kubernetes/portal/components/portal-app/values.yaml b/kubernetes/portal/components/portal-app/values.yaml index 73306ba773..55a7ccca38 100644 --- a/kubernetes/portal/components/portal-app/values.yaml +++ b/kubernetes/portal/components/portal-app/values.yaml @@ -23,9 +23,27 @@ global: readinessImage: onap/oom/readiness:3.0.1 loggingRepository: docker.elastic.co loggingImage: beats/filebeat:5.5.0 + envsubstImage: dibi/envsubst #AAF service aafEnabled: true +################################################################ +# Secrets metaconfig +################################################################# + +secrets: + - uid: portal-cass + type: basicAuth + externalSecret: '{{ tpl (default "" .Values.cassandra.config.cassandraExternalSecret) . }}' + login: '{{ .Values.cassandra.config.cassandraUsername }}' + password: '{{ .Values.cassandra.config.cassandraPassword }}' + passwordPolicy: required + - uid: cipher-enc-key + type: password + externalSecret: '{{ .Values.config.cipherEncKeyExternalSecret}}' + password: '{{ .Values.config.cipherEncKey }}' + passwordPolicy: required + ################################################################# # Application configuration defaults. ################################################################# @@ -35,6 +53,11 @@ repository: nexus3.onap.org:10001 image: onap/portal-app:3.2.3 pullPolicy: Always +# application configuration +config: + # cipherEncKeyExternalSecret: some secret + cipherEncKey: AGLDdG4D04BKm2IxIWEr8o==! + #AAF local config aafURL: https://aaf-service:8100/authz/ @@ -104,6 +127,7 @@ cassandra: service: name: portal-cassandra config: + # cassandraExternalSecret: some secret cassandraUsername: root cassandraPassword: Aa123456 messageRouter: |