81c596c6c9d5e847e509d9639b2743290319262d
[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   readinessRepository: oomk8s
30   readinessImage: readiness-check:2.0.0
31
32   # image pull policy
33   pullPolicy: IfNotPresent
34
35   mariadbGalera: &mariadbGalera
36     #This flag allows SO to instantiate its own mariadb-galera cluster
37     localCluster: false
38     service: mariadb-galera
39     internalPort: 3306
40     nameOverride: mariadb-galera
41
42 #################################################################
43 # Secrets metaconfig
44 #################################################################
45 secrets:
46   - uid: neng-db-secret
47     name: '{{ include "common.release" . }}-neng-db-secret'
48     type: basicAuth
49     externalSecret: '{{ tpl (default "" .Values.config.db.userCredentialsExternalSecret) . }}'
50     login: '{{ .Values.config.db.userName }}'
51     password: '{{ .Values.config.db.userPassword }}'
52   - uid: pol-basic-auth-secret
53     name: '{{ include "common.release" . }}-pol-basic-auth-secret'
54     type: basicAuth
55     externalSecret: '{{ tpl (default "" .Values.config.polBasicAuthSecret) . }}'
56     login: '{{ .Values.config.polBasicAuthUser }}'
57     password: '{{ .Values.config.polBasicAuthPassword }}'
58
59 # sub-chart config
60 mariadb-galera:
61   config: &mariadbConfig
62     userCredentialsExternalSecret: '{{ include "common.release" . }}-neng-db-secret'
63     mysqlDatabase: nengdb
64   nameOverride: nengdb
65   service:
66     name: nengdb
67     portName: nengdbport
68   replicaCount: 1
69   persistence:
70     enabled: true
71     mountSubPath: network-name-gen/data
72
73 mariadb-init:
74   config: *mariadbConfig
75   nameOverride: nengdb-init
76
77 #################################################################
78 # Application configuration defaults.
79 #################################################################
80 # application image
81 repository: nexus3.onap.org:10001
82 image: onap/ccsdk-apps-ms-neng:0.7.1
83 pullPolicy: IfNotPresent
84
85 # application configuration
86 config:
87   db:
88     userName: nenguser
89     # userPassword: password
90     # userCredentialsExternalSecret: some-secret
91   springProfile: live
92   polClientAuth: cHl0aG9uOnRlc3Q=
93   polBasicAuthUser: healthcheck
94   polBasicAuthPassword: zb!XztG34
95   polUrl: https://policy-xacml-pdp:6969/policy/pdpx/v1/decision
96   polEnv: TEST
97   polReqId: xx
98   aaiCertPass: changeit
99   aaiCertPath: /opt/etc/config/aai_keystore
100   aaiAuth: QUFJOkFBSQ==
101   aaiUri: https://aai:8443/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: neng-serv-port
126   internalPort: 8080
127   externalPort: 8080
128
129 ingress:
130   enabled: false
131
132 resources: {}