blob: ae5849eb278b4be5cc83dde9d4c37af2ceedd2cb [file] [log] [blame]
Mandeep Khinda1d123882018-03-27 01:26:59 +00001# Copyright © 2017 Amdocs, Bell Canada
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# Default values for mariadb.
16# This is a YAML-formatted file.
17# Declare variables to be passed into your templates.
18global: # global defaults
19 nodePortPrefix: 302
Mandeep Khinda1d123882018-03-27 01:26:59 +000020 persistence: {}
Mandeep Khinda06ad9b72018-04-10 21:35:54 -040021 readinessRepository: oomk8s
Mandeep Khinda1d123882018-03-27 01:26:59 +000022
23
24# application image
25repository: nexus3.onap.org:10001
Gary Wua2e73f22018-05-09 14:19:02 -070026image: onap/portal-db:v2.2.0
Mandeep Khinda1d123882018-03-27 01:26:59 +000027pullPolicy: Always
28
Gary Wubf4b4d82018-05-11 13:26:30 -070029readinessImage: readiness-check:2.0.0
Mandeep Khinda06ad9b72018-04-10 21:35:54 -040030mariadbInitImage: "mariadb-client-init:2.0.0"
Mandeep Khinda1db773e2018-04-05 18:26:07 +000031
Mandeep Khinda1d123882018-03-27 01:26:59 +000032# application configuration
33config:
Mandeep Khinda1db773e2018-04-05 18:26:07 +000034 mariadbUser: root
Mandeep Khinda1d123882018-03-27 01:26:59 +000035 mariadbRootPassword: Aa123456
Mandeep Khinda1db773e2018-04-05 18:26:07 +000036 #The directory where sql files are found in the projects gerrit repo.
37 sqlSourceDirectory: portal/deliveries
Mandeep Khinda789ee4a2018-04-30 20:20:45 +000038 # sdc frontend assignment for port 8181
39 sdcFePort: "30206"
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
43 papPort: "30219"
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
47 vidPort: "30200"
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
55 cliPort: "30260"
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"
Mandeep Khinda1d123882018-03-27 01:26:59 +000070
71# default number of instances
72replicaCount: 1
73
74nodeSelector: {}
75
76affinity: {}
77
78# probe configuration parameters
79liveness:
Gary Wufeac15e2018-05-15 14:57:36 -070080 initialDelaySeconds: 300
Mandeep Khinda1d123882018-03-27 01:26:59 +000081 periodSeconds: 10
82 # necessary to disable liveness probe when setting breakpoints
83 # in debugger so K8s doesn't restart unresponsive container
84 enabled: true
85
86readiness:
Gary Wufeac15e2018-05-15 14:57:36 -070087 initialDelaySeconds: 300
Mandeep Khinda1d123882018-03-27 01:26:59 +000088 periodSeconds: 10
89
90## Persist data to a persitent volume
91persistence:
92 enabled: true
93
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
97 # existingClaim:
98 volumeReclaimPolicy: Retain
99
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)
106 ##
107 # storageClass: "-"
108 accessMode: ReadWriteMany
109 size: 2Gi
110 mountPath: /dockerdata-nfs
111 mountSubPath: portal/mariadb/data
112
113service:
114 type: ClusterIP
BorislavG1ffbd992018-04-24 07:56:27 +0000115 name: portal-db
116 portName: portal-db
Mandeep Khinda1d123882018-03-27 01:26:59 +0000117 externalPort: 3306
118 internalPort: 3306
119
120ingress:
121 enabled: false
122
123resources: {}
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:'.
128 #
129 # Example:
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
134#resources:
135# limits:
136# cpu: 2
137# memory: 4Gi
138# requests:
139# cpu: 2
140# memory: 4Gi