[COMMON][NAMEGEN] Uses new tpls for repos / images
[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: '{{ include "common.release" . }}-neng-db-secret'
40     type: basicAuth
41     externalSecret: '{{ tpl (default "" .Values.config.db.userCredentialsExternalSecret) . }}'
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   config: &mariadbConfig
54     userCredentialsExternalSecret: '{{ include "common.release" . }}-neng-db-secret'
55     mysqlDatabase: nengdb
56   nameOverride: nengdb
57   service:
58     name: nengdb
59     portName: nengdbport
60   replicaCount: 1
61   persistence:
62     enabled: true
63     mountSubPath: network-name-gen/data
64
65 mariadb-init:
66   config: *mariadbConfig
67   nameOverride: nengdb-init
68
69 #################################################################
70 # Application configuration defaults.
71 #################################################################
72 # application image
73 image: onap/ccsdk-apps-ms-neng:1.0.2
74 pullPolicy: IfNotPresent
75
76 # application configuration
77 config:
78   db:
79     userName: nenguser
80     # userPassword: password
81     # userCredentialsExternalSecret: some-secret
82   springProfile: live
83   polClientAuth: cHl0aG9uOnRlc3Q=
84   polBasicAuthUser: healthcheck
85   polBasicAuthPassword: zb!XztG34
86   polUrl: https://policy-xacml-pdp:6969/policy/pdpx/v1/decision
87   polEnv: TEST
88   polReqId: xx
89   aaiCertPass: changeit
90   aaiCertPath: /opt/etc/config/aai_keystore
91   aaiAuth: QUFJOkFBSQ==
92   aaiUri: https://aai:8443/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: neng-serv-port
117   internalPort: 8080
118   externalPort: 8080
119
120 ingress:
121   enabled: false
122
123 resources: {}