1 # Copyright (C) 2018 AT&T Intellectual Property.
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 # Global configuration default values that can be inherited by
17 #################################################################
20 # Change to an unused port prefix range to prevent port conflicts
21 # with other instances running within the same k8s cluster
25 pullPolicy: IfNotPresent
27 mariadbGalera: &mariadbGalera
28 # flag to enable the DB creation via mariadb-operator
31 service: &dbService mariadb-galera
32 internalPort: &dbPort 3306
33 nameOverride: mariadb-galera
35 #################################################################
37 #################################################################
40 name: &dbUserSecretName '{{ include "common.release" . }}-neng-db-secret'
42 externalSecret: '{{ tpl (default "" .Values.config.db.externalSecret) . }}'
43 login: '{{ .Values.config.db.userName }}'
44 password: '{{ .Values.config.db.userPassword }}'
45 - uid: pol-basic-auth-secret
46 name: '{{ include "common.release" . }}-pol-basic-auth-secret'
48 externalSecret: '{{ tpl (default "" .Values.config.polBasicAuthSecret) . }}'
49 login: '{{ .Values.config.polBasicAuthUser }}'
50 password: '{{ .Values.config.polBasicAuthPassword }}'
54 userCredentialsExternalSecret: *dbUserSecretName
56 nameOverride: nengdb-init
58 nameOverride: *dbService
62 nameOverride: nengdb-init
64 #################################################################
65 # Application configuration defaults.
66 #################################################################
68 image: onap/ccsdk-apps-ms-neng:1.4.0
69 pullPolicy: IfNotPresent
71 # application configuration
75 # userPassword: password
76 # userCredentialsExternalSecret: some-secret
78 polClientAuth: cHl0aG9uOnRlc3Q=
79 polBasicAuthUser: healthcheck
80 polBasicAuthPassword: zb!XztG34
82 https: https://policy-xacml-pdp:6969/policy/pdpx/v1/decision
83 http: http://policy-xacml-pdp:6969/policy/pdpx/v1/decision
86 disableHostVerification: true
88 aaiCertPath: /opt/etc/config/aai_keystore
91 https: https://aai:8443/aai/v14/
92 http: http://aai:80/aai/v14/
94 # default number of instances
101 # probe configuration parameters
103 initialDelaySeconds: 10
105 # necessary to disable liveness probe when setting breakpoints
106 # in debugger so K8s doesn't restart unresponsive container
110 initialDelaySeconds: 10
126 # Workarround to exclude K8S API from istio communication
127 # as init-container (readinessCheck) does not work with the
128 # Istio CNI plugin, see:
129 # (https://istio.io/latest/docs/setup/additional-setup/cni/#compatibility-with-application-init-containers)
130 traffic.sidecar.istio.io/excludeOutboundPorts: "443"
132 #Pods Service Account
134 nameOverride: network-name-gen