[DCAEMOD] Uses new tpls for repos / images
[oom.git] / kubernetes / portal / components / portal-mariadb / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications Copyright © 2018 AT&T
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #       http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15
16 # Default values for mariadb.
17 # This is a YAML-formatted file.
18 # Declare variables to be passed into your templates.
19 global: # global defaults
20   nodePortPrefix: 302
21   persistence: {}
22   readinessImage: onap/oom/readiness:3.0.1
23   busyBoxImage: busybox:1.30
24   busyBoxRepository: docker.io
25
26 # application image
27 repository: nexus3.onap.org:10001
28 image: onap/portal-db:3.4.1
29 pullPolicy: Always
30
31
32 mariadbInitImage: "oomk8s/mariadb-client-init:3.0.0"
33
34 # application configuration
35 config:
36   mariadbUser: root
37   mariadbRootPassword: Aa123456
38   backendDbUser: portal
39   backendDbPassword: portal
40   #backend_portal_tables is a comma delimited string listing back-end tables
41   #that backendDbUser needs access to, such as to portal and ecomp_sdk tables
42   backend_portal_tables: portal,ecomp_sdk
43   #The directory where sql files are found in the projects gerrit repo.
44   sqlSourceDirectory: portal/deliveries
45   # sdc frontend assignment for port 9443
46   sdcFePort: "30207"
47   # application's front end hostname.  Must be resolvable on the client side environment
48   sdcFeHostName: "sdc.api.fe.simpledemo.onap.org"
49   # policy pap ui assignment for port 8443
50   papPort: "30219"
51   # application's front end hostname.  Must be resolvable on the client side environment
52   papHostName: "policy.api.simpledemo.onap.org"
53   # vid ui  assignment for port 8443
54   vidPort: "30200"
55   # application's front end hostname.  Must be resolvable on the client side environment
56   vidHostName: "vid.api.simpledemo.onap.org"
57   # aai sparky ui assignment for port 8080
58   aaiSparkyPort: "30220"
59   # application's front end hostname.  Must be resolvable on the client side environment
60   aaiSparkyHostName: "aai.ui.simpledemo.onap.org"
61   # cli ui  assignment for port 8080
62   cliPort: "30260"
63   # application's front end hostname.  Must be resolvable on the client side environment
64   cliHostName: "cli.api.simpledemo.onap.org"
65   # portal sdk (demo app) ui assignment for port 8990
66   portalSdkPort: "30212"
67   # application's front end hostname.  Must be resolvable on the client side environment
68   portalSdkHostName: "portal-sdk.simpledemo.onap.org"
69   # dmaap bus controller ui assignment for port ?
70   dmaapBcPort: "" # TODO: populate with
71   # application's front end hostname.  Must be resolvable on the client side environment
72   dmaapBcHostName: "dmaap-bc.simpledemo.onap.org"
73   # msb IAG ui assignment for port 80
74   msbPort: "30283"
75   # application's front end hostname.  Must be resolvable on the client side environment
76   msbHostName: "msb.api.simpledemo.onap.org"
77   # SO Monitoring assignment for port 30224
78   soMonitoringPort: "30224"
79   # application's front end hostname.  Must be resolvable on the client side environment
80   soMonitoringHostName: "so-monitoring"
81
82
83 # default number of instances
84 replicaCount: 1
85
86 nodeSelector: {}
87
88 affinity: {}
89
90 # probe configuration parameters
91 liveness:
92   initialDelaySeconds: 450
93   periodSeconds: 10
94   # necessary to disable liveness probe when setting breakpoints
95   # in debugger so K8s doesn't restart unresponsive container
96   enabled: true
97
98 readiness:
99   initialDelaySeconds: 450
100   periodSeconds: 10
101
102 ## Persist data to a persitent volume
103 persistence:
104   enabled: true
105
106   ## A manually managed Persistent Volume and Claim
107   ## Requires persistence.enabled: true
108   ## If defined, PVC must be created manually before volume will be bound
109   # existingClaim:
110   volumeReclaimPolicy: Retain
111
112   ## database data Persistent Volume Storage Class
113   ## If defined, storageClassName: <storageClass>
114   ## If set to "-", storageClassName: "", which disables dynamic provisioning
115   ## If undefined (the default) or set to null, no storageClassName spec is
116   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
117   ##   GKE, AWS & OpenStack)
118   ##
119   # storageClass: "-"
120   accessMode: ReadWriteOnce
121   size: 2Gi
122   mountPath: /dockerdata-nfs
123   mountSubPath: portal/mariadb/data
124
125 service:
126   type: ClusterIP
127   name: portal-db
128   portName: portal-db
129   externalPort: 3306
130   internalPort: 3306
131
132 ingress:
133   enabled: false
134
135 # Resource Limit flavor -By Default using small
136 flavor: small
137 # Segregation for Different environment (Small and Large)
138 resources:
139   small:
140     limits:
141       cpu: 460m
142       memory: 175Mi
143     requests:
144       cpu: 10m
145       memory: 100Mi
146   large:
147     limits:
148       cpu: 2
149       memory: 2Gi
150     requests:
151       cpu: 800m
152       memory: 1Gi
153   unlimited: {}