[DMAAP] DMaaP 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: https://policy-xacml-pdp:6969/policy/pdpx/v1/decision
91   polEnv: TEST
92   polReqId: xx
93   disableHostVerification: true
94   aaiCertPass: changeit
95   aaiCertPath: /opt/etc/config/aai_keystore
96   aaiAuth: QUFJOkFBSQ==
97   aaiUri: https://aai:8443/aai/v14/
98
99 # default number of instances
100 replicaCount: 1
101
102 nodeSelector: {}
103
104 affinity: {}
105
106 # probe configuration parameters
107 liveness:
108   initialDelaySeconds: 10
109   periodSeconds: 10
110   # necessary to disable liveness probe when setting breakpoints
111   # in debugger so K8s doesn't restart unresponsive container
112   enabled: false
113
114 readiness:
115   initialDelaySeconds: 10
116   periodSeconds: 10
117
118 service:
119   type: ClusterIP
120   name: neng-serv
121   portName: neng-serv-port
122   internalPort: 8080
123   externalPort: 8080
124
125 ingress:
126   enabled: false
127
128 resources: {}