[COMMON] Network-name-gen and dgbuilder ServiceMesh compatibility
[oom.git] / kubernetes / common / 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     #This flag allows SO to instantiate its own mariadb-galera cluster
29     localCluster: false
30     service: mariadb-galera
31     internalPort: 3306
32     nameOverride: mariadb-galera
33
34 #################################################################
35 # Secrets metaconfig
36 #################################################################
37 secrets:
38   - uid: neng-db-secret
39     name: &dbUserSecretName '{{ include "common.release" . }}-neng-db-secret'
40     type: basicAuth
41     externalSecret: '{{ tpl (default "" .Values.config.db.externalSecret) . }}'
42     login: '{{ .Values.config.db.userName }}'
43     password: '{{ .Values.config.db.userPassword }}'
44   - uid: pol-basic-auth-secret
45     name: '{{ include "common.release" . }}-pol-basic-auth-secret'
46     type: basicAuth
47     externalSecret: '{{ tpl (default "" .Values.config.polBasicAuthSecret) . }}'
48     login: '{{ .Values.config.polBasicAuthUser }}'
49     password: '{{ .Values.config.polBasicAuthPassword }}'
50
51 # sub-chart config
52 mariadb-galera:
53   db:
54     user: sdnctl
55     # password:
56     externalSecret: *dbUserSecretName
57     name: &mysqlDbName nengdb
58   nameOverride: nengdb
59   service:
60     name: nengdb
61     portName: nengdbport
62   replicaCount: 1
63   persistence:
64     enabled: true
65     mountSubPath: network-name-gen/data
66
67 mariadb-init:
68   config:
69     userCredentialsExternalSecret: *dbUserSecretName
70     mysqlDatabase: *mysqlDbName
71   nameOverride: nengdb-init
72
73 #################################################################
74 # Application configuration defaults.
75 #################################################################
76 # application image
77 image: onap/ccsdk-apps-ms-neng:1.3.0
78 pullPolicy: IfNotPresent
79
80 # application configuration
81 config:
82   db:
83     userName: nenguser
84     # userPassword: password
85     # userCredentialsExternalSecret: some-secret
86   springProfile: live
87   polClientAuth: cHl0aG9uOnRlc3Q=
88   polBasicAuthUser: healthcheck
89   polBasicAuthPassword: zb!XztG34
90   polUrl:
91     https: https://policy-xacml-pdp:6969/policy/pdpx/v1/decision
92     http: http://policy-xacml-pdp:8080/policy/pdpx/v1/decision
93   polEnv: TEST
94   polReqId: xx
95   disableHostVerification: true
96   aaiCertPass: changeit
97   aaiCertPath: /opt/etc/config/aai_keystore
98   aaiAuth: QUFJOkFBSQ==
99   aaiUri:
100     https: https://aai:8443/aai/v14/
101     http: http://aai:8080/aai/v14/
102
103 # default number of instances
104 replicaCount: 1
105
106 nodeSelector: {}
107
108 affinity: {}
109
110 # probe configuration parameters
111 liveness:
112   initialDelaySeconds: 10
113   periodSeconds: 10
114   # necessary to disable liveness probe when setting breakpoints
115   # in debugger so K8s doesn't restart unresponsive container
116   enabled: false
117
118 readiness:
119   initialDelaySeconds: 10
120   periodSeconds: 10
121
122 service:
123   type: ClusterIP
124   name: neng-serv
125   portName: http
126   internalPort: 8080
127   externalPort: 8080
128
129 ingress:
130   enabled: false
131
132 resources: {}