1 # Copyright © 2022 Huawei Technologies Co., Ltd. All rights reserved.
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
15 # Default values for uui intent analysis.
16 # This is a YAML-formatted file.
17 # Declare variables to be passed into your templates.
20 passwordStrength: long
24 nameOverride: uui-intent-analysis
30 name: &pgRootPassSecretName '{{ include "common.release" . }}-uui-intent-pg-root-pass'
32 externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgRootPasswordExternalSecret) .) (hasSuffix "uui-intent-pg-root-pass" .Values.postgres.config.pgRootPasswordExternalSecret) }}'
33 password: '{{ .Values.postgres.config.pgRootpassword }}'
36 name: &pgUserCredsSecretName '{{ include "common.release" . }}-uui-intent-pg-user-creds'
38 externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgUserExternalSecret) .) (hasSuffix "uui-intent-pg-user-creds" .Values.postgres.config.pgUserExternalSecret) }}'
39 login: '{{ .Values.postgres.config.pgUserName }}'
40 password: '{{ .Values.postgres.config.pgUserPassword }}'
41 passwordPolicy: generate
43 image: onap/usecase-ui-intent-analysis:5.2.4
46 # flag to enable debugging - application support required
55 name: uui-intent-analysis
61 initialDelaySeconds: 120
67 initialDelaySeconds: 60
71 # application configuration override for postgres
73 nameOverride: &postgresName uui-intent-postgres
76 name2: uui-intent-pg-primary
77 name3: uui-intent-pg-replica
80 primary: uui-intent-pg-primary
81 replica: uui-intent-pg-replica
85 pgUserExternalSecret: *pgUserCredsSecretName
86 pgRootPasswordExternalSecret: *pgRootPassSecretName
88 mountSubPath: uui/uuiintent/data
96 wait_for_job_container:
98 - '{{ include "common.name" . }}-job'
100 # We usually recommend not to specify default resources and to leave this as a conscious
101 # choice for the user. This also increases chances charts run on environments with little
102 # resources, such as Minikube. If you do want to specify resources, uncomment the following
103 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
106 # Configure resource requests and limits
107 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
108 # Minimum memory for development is 2 CPU cores and 4GB memory
109 # Minimum memory for production is 4 CPU cores and 8GB memory