1 # Copyright © 2017 Amdocs, Bell Canada
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
7 # http://www.apache.org/licenses/LICENSE-2.0
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.
15 # Default values for mariadb.
16 # This is a YAML-formatted file.
17 # Declare variables to be passed into your templates.
18 global: # global defaults
21 readinessRepository: oomk8s
25 repository: nexus3.onap.org:10001
26 image: onap/portal-db:v2.2.0
29 readinessImage: "readiness-check:2.0.0"
30 mariadbInitImage: "mariadb-client-init:2.0.0"
32 # application configuration
35 mariadbRootPassword: Aa123456
36 #The directory where sql files are found in the projects gerrit repo.
37 sqlSourceDirectory: portal/deliveries
38 # sdc frontend assignment for port 8181
40 # application's front end hostname. Must be resolvable on the client side environment
41 sdcFeHostName: "sdc.api.fe.simpledemo.onap.org"
42 # policy pap ui assignment for port 8443
44 # application's front end hostname. Must be resolvable on the client side environment
45 papHostName: "policy.api.simpledemo.onap.org"
46 # vid ui assignment for port 8080
48 # application's front end hostname. Must be resolvable on the client side environment
49 vidHostName: "vid.api.simpledemo.onap.org"
50 # aai sparky ui assignment for port 8080
51 aaiSparkyPort: "" # TODO: populate with
52 # application's front end hostname. Must be resolvable on the client side environment
53 aaiSparkyHostName: "aai.api.sparky.simpledemo.onap.org"
54 # cli ui assignment for port 8080
56 # application's front end hostname. Must be resolvable on the client side environment
57 cliHostName: "cli.api.simpledemo.onap.org"
58 # portal sdk (demo app) ui assignment for port 8990
59 portalSdkPort: "" # TODO: populate with port
60 # application's front end hostname. Must be resolvable on the client side environment
61 portalSdkHostName: "portal-sdk.simpledemo.onap.org"
62 # dmaap bus controller ui assignment for port ?
63 dmaapBcPort: "" # TODO: populate with
64 # application's front end hostname. Must be resolvable on the client side environment
65 dmaapBcHostName: "dmaap-bc.simpledemo.onap.org"
66 # msb discovery ui assignment for port ?
67 msbDiscoveryPort: "30281"
68 # application's front end hostname. Must be resolvable on the client side environment
69 msbDiscoveryHostName: "msb.api.discovery.simpledemo.onap.org"
71 # default number of instances
78 # probe configuration parameters
80 initialDelaySeconds: 10
82 # necessary to disable liveness probe when setting breakpoints
83 # in debugger so K8s doesn't restart unresponsive container
87 initialDelaySeconds: 10
90 ## Persist data to a persitent volume
94 ## A manually managed Persistent Volume and Claim
95 ## Requires persistence.enabled: true
96 ## If defined, PVC must be created manually before volume will be bound
98 volumeReclaimPolicy: Retain
100 ## database data Persistent Volume Storage Class
101 ## If defined, storageClassName: <storageClass>
102 ## If set to "-", storageClassName: "", which disables dynamic provisioning
103 ## If undefined (the default) or set to null, no storageClassName spec is
104 ## set, choosing the default provisioner. (gp2 on AWS, standard on
105 ## GKE, AWS & OpenStack)
108 accessMode: ReadWriteMany
110 mountPath: /dockerdata-nfs
111 mountSubPath: portal/mariadb/data
124 # We usually recommend not to specify default resources and to leave this as a conscious
125 # choice for the user. This also increases chances charts run on environments with little
126 # resources, such as Minikube. If you do want to specify resources, uncomment the following
127 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
130 # Configure resource requests and limits
131 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
132 # Minimum memory for development is 2 CPU cores and 4GB memory
133 # Minimum memory for production is 4 CPU cores and 8GB memory