40b1775ae90eaa70acef2b4bab1d4a5ca808810d
[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   readinessRepository: oomk8s
23   readinessImage: readiness-check:2.0.0
24   busyBoxImage: busybox:1.30
25   busyBoxRepository: docker.io
26
27 # application image
28 repository: nexus3.onap.org:10001
29 image: onap/portal-db:3.2.3
30 pullPolicy: Always
31
32
33 mariadbInitImage: "mariadb-client-init:3.0.0"
34
35 # application configuration
36 config:
37   mariadbUser: root
38   mariadbRootPassword: Aa123456
39   #The directory where sql files are found in the projects gerrit repo.
40   sqlSourceDirectory: portal/deliveries
41   # sdc frontend assignment for port 9443
42   sdcFePort: "30207"
43   # application's front end hostname.  Must be resolvable on the client side environment
44   sdcFeHostName: "sdc.api.fe.simpledemo.onap.org"
45   # policy pap ui assignment for port 8443
46   papPort: "30219"
47   # application's front end hostname.  Must be resolvable on the client side environment
48   papHostName: "policy.api.simpledemo.onap.org"
49   # vid ui  assignment for port 8443
50   vidPort: "30200"
51   # application's front end hostname.  Must be resolvable on the client side environment
52   vidHostName: "vid.api.simpledemo.onap.org"
53   # aai sparky ui assignment for port 8080
54   aaiSparkyPort: "30220"
55   # application's front end hostname.  Must be resolvable on the client side environment
56   aaiSparkyHostName: "aai.ui.simpledemo.onap.org"
57   # cli ui  assignment for port 8080
58   cliPort: "30260"
59   # application's front end hostname.  Must be resolvable on the client side environment
60   cliHostName: "cli.api.simpledemo.onap.org"
61   # portal sdk (demo app) ui assignment for port 8990
62   portalSdkPort: "30212"
63   # application's front end hostname.  Must be resolvable on the client side environment
64   portalSdkHostName: "portal-sdk.simpledemo.onap.org"
65   # dmaap bus controller ui assignment for port ?
66   dmaapBcPort: "" # TODO: populate with
67   # application's front end hostname.  Must be resolvable on the client side environment
68   dmaapBcHostName: "dmaap-bc.simpledemo.onap.org"
69   # msb IAG ui assignment for port 80
70   msbPort: "30283"
71   # application's front end hostname.  Must be resolvable on the client side environment
72   msbHostName: "msb.api.simpledemo.onap.org"
73   # SO Monitoring assignment for port 30224
74   soMonitoringPort: "30224"
75   # application's front end hostname.  Must be resolvable on the client side environment
76   soMonitoringHostName: "so-monitoring"
77
78
79 # default number of instances
80 replicaCount: 1
81
82 nodeSelector: {}
83
84 affinity: {}
85
86 # probe configuration parameters
87 liveness:
88   initialDelaySeconds: 450
89   periodSeconds: 10
90   # necessary to disable liveness probe when setting breakpoints
91   # in debugger so K8s doesn't restart unresponsive container
92   enabled: true
93
94 readiness:
95   initialDelaySeconds: 450
96   periodSeconds: 10
97
98 ## Persist data to a persitent volume
99 persistence:
100   enabled: true
101
102   ## A manually managed Persistent Volume and Claim
103   ## Requires persistence.enabled: true
104   ## If defined, PVC must be created manually before volume will be bound
105   # existingClaim:
106   volumeReclaimPolicy: Retain
107
108   ## database data Persistent Volume Storage Class
109   ## If defined, storageClassName: <storageClass>
110   ## If set to "-", storageClassName: "", which disables dynamic provisioning
111   ## If undefined (the default) or set to null, no storageClassName spec is
112   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
113   ##   GKE, AWS & OpenStack)
114   ##
115   # storageClass: "-"
116   accessMode: ReadWriteOnce
117   size: 2Gi
118   mountPath: /dockerdata-nfs
119   mountSubPath: portal/mariadb/data
120
121 service:
122   type: ClusterIP
123   name: portal-db
124   portName: portal-db
125   externalPort: 3306
126   internalPort: 3306
127
128 ingress:
129   enabled: false
130
131 # Resource Limit flavor -By Default using small
132 flavor: small
133 # Segregation for Different environment (Small and Large)
134 resources:
135   small:
136     limits:
137       cpu: 460m
138       memory: 175Mi
139     requests:
140       cpu: 10m
141       memory: 100Mi
142   large:
143     limits:
144       cpu: 2
145       memory: 2Gi
146     requests:
147       cpu: 800m
148       memory: 1Gi
149   unlimited: {}