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