Merge "[AAI] Add model-loader tracing config"
[oom.git] / kubernetes / sdnc / components / network-name-gen / values.yaml
1 # Copyright (C) 2018  AT&T Intellectual Property.
2 #
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
6 #
7 #       http://www.apache.org/licenses/LICENSE-2.0
8 #
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.
14 #
15 # Global configuration default values that can be inherited by
16 # all subcharts.
17 #################################################################
18 global:
19
20   # Change to an unused port prefix range to prevent port conflicts
21   # with other instances running within the same k8s cluster
22   nodePortPrefix: 302
23
24   # image pull policy
25   pullPolicy: IfNotPresent
26
27   mariadbGalera: &mariadbGalera
28     # flag to enable the DB creation via mariadb-operator
29     useOperator: true
30     localCluster: false
31     service: &dbService mariadb-galera
32     internalPort: &dbPort 3306
33     nameOverride: mariadb-galera
34
35 #################################################################
36 # Secrets metaconfig
37 #################################################################
38 secrets:
39   - uid: neng-db-secret
40     name: &dbUserSecretName '{{ include "common.release" . }}-neng-db-secret'
41     type: basicAuth
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'
47     type: basicAuth
48     externalSecret: '{{ tpl (default "" .Values.config.polBasicAuthSecret) . }}'
49     login: '{{ .Values.config.polBasicAuthUser }}'
50     password: '{{ .Values.config.polBasicAuthPassword }}'
51
52 mariadb-init:
53   config:
54     userCredentialsExternalSecret: *dbUserSecretName
55     mysqlDatabase: nengdb
56   nameOverride: nengdb-init
57   mariadb-galera:
58     nameOverride: *dbService
59     service:
60       internalPort: *dbPort
61   serviceAccount:
62     nameOverride: nengdb-init
63
64 #################################################################
65 # Application configuration defaults.
66 #################################################################
67 # application image
68 image: onap/ccsdk-apps-ms-neng:1.4.0
69 pullPolicy: IfNotPresent
70
71 # application configuration
72 config:
73   db:
74     userName: nenguser
75     # userPassword: password
76     # userCredentialsExternalSecret: some-secret
77   springProfile: live
78   polClientAuth: cHl0aG9uOnRlc3Q=
79   polBasicAuthUser: healthcheck
80   polBasicAuthPassword: zb!XztG34
81   polUrl:
82     https: https://policy-xacml-pdp:6969/policy/pdpx/v1/decision
83     http: http://policy-xacml-pdp:6969/policy/pdpx/v1/decision
84   polEnv: TEST
85   polReqId: xx
86   disableHostVerification: true
87   aaiCertPass: changeit
88   aaiCertPath: /opt/etc/config/aai_keystore
89   aaiAuth: QUFJOkFBSQ==
90   aaiUri:
91     https: https://aai:8443/aai/v14/
92     http: http://aai:80/aai/v14/
93
94 # default number of instances
95 replicaCount: 1
96
97 nodeSelector: {}
98
99 affinity: {}
100
101 # probe configuration parameters
102 liveness:
103   initialDelaySeconds: 10
104   periodSeconds: 10
105   # necessary to disable liveness probe when setting breakpoints
106   # in debugger so K8s doesn't restart unresponsive container
107   enabled: false
108
109 readiness:
110   initialDelaySeconds: 10
111   periodSeconds: 10
112
113 service:
114   type: ClusterIP
115   name: neng-serv
116   portName: http
117   internalPort: 8080
118   externalPort: 8080
119
120 ingress:
121   enabled: false
122
123 resources: {}
124
125 podAnnotations:
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"
131
132 #Pods Service Account
133 serviceAccount:
134   nameOverride: network-name-gen
135   roles:
136     - read