blob: 7d9b82a629df5ba0f94b34d20c4234e738e10f4a [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
20 repositorySecret: eyJuZXh1czMub25hcC5vcmc6MTAwMDEiOnsidXNlcm5hbWUiOiJkb2NrZXIiLCJwYXNzd29yZCI6ImRvY2tlciIsImVtYWlsIjoiQCIsImF1dGgiOiJaRzlqYTJWeU9tUnZZMnRsY2c9PSJ9fQ==
21 persistence: {}
Mandeep Khinda06ad9b72018-04-10 21:35:54 -040022 readinessRepository: oomk8s
Mandeep Khinda1d123882018-03-27 01:26:59 +000023
24
25# application image
26repository: nexus3.onap.org:10001
Mandeep Khinda1db773e2018-04-05 18:26:07 +000027image: onap/portal-db:2.1-STAGING-latest
Mandeep Khinda1d123882018-03-27 01:26:59 +000028pullPolicy: Always
29
BorislavG3d6f9372018-04-15 11:55:39 +000030readinessImage: "readiness-check:2.0.0"
Mandeep Khinda06ad9b72018-04-10 21:35:54 -040031mariadbInitImage: "mariadb-client-init:2.0.0"
Mandeep Khinda1db773e2018-04-05 18:26:07 +000032
Mandeep Khinda1d123882018-03-27 01:26:59 +000033# application configuration
34config:
Mandeep Khinda1db773e2018-04-05 18:26:07 +000035 mariadbUser: root
Mandeep Khinda1d123882018-03-27 01:26:59 +000036 mariadbRootPassword: Aa123456
Mandeep Khinda1db773e2018-04-05 18:26:07 +000037 #The directory where sql files are found in the projects gerrit repo.
38 sqlSourceDirectory: portal/deliveries
Mandeep Khinda789ee4a2018-04-30 20:20:45 +000039 # sdc frontend assignment for port 8181
40 sdcFePort: "30206"
41 # application's front end hostname. Must be resolvable on the client side environment
42 sdcFeHostName: "sdc.api.fe.simpledemo.onap.org"
43 # policy pap ui assignment for port 8443
44 papPort: "30219"
45 # application's front end hostname. Must be resolvable on the client side environment
46 papHostName: "policy.api.simpledemo.onap.org"
47 # vid ui assignment for port 8080
48 vidPort: "30200"
49 # application's front end hostname. Must be resolvable on the client side environment
50 vidHostName: "vid.api.simpledemo.onap.org"
51 # aai sparky ui assignment for port 8080
52 aaiSparkyPort: "" # TODO: populate with
53 # application's front end hostname. Must be resolvable on the client side environment
54 aaiSparkyHostName: "aai.api.sparky.simpledemo.onap.org"
55 # cli ui assignment for port 8080
56 cliPort: "30260"
57 # application's front end hostname. Must be resolvable on the client side environment
58 cliHostName: "cli.api.simpledemo.onap.org"
59 # portal sdk (demo app) ui assignment for port 8990
60 portalSdkPort: "" # TODO: populate with port
61 # application's front end hostname. Must be resolvable on the client side environment
62 portalSdkHostName: "portal-sdk.simpledemo.onap.org"
63 # dmaap bus controller ui assignment for port ?
64 dmaapBcPort: "" # TODO: populate with
65 # application's front end hostname. Must be resolvable on the client side environment
66 dmaapBcHostName: "dmaap-bc.simpledemo.onap.org"
67 # msb discovery ui assignment for port ?
68 msbDiscoveryPort: "30281"
69 # application's front end hostname. Must be resolvable on the client side environment
70 msbDiscoveryHostName: "msb.api.discovery.simpledemo.onap.org"
Mandeep Khinda1d123882018-03-27 01:26:59 +000071
72# default number of instances
73replicaCount: 1
74
75nodeSelector: {}
76
77affinity: {}
78
79# probe configuration parameters
80liveness:
81 initialDelaySeconds: 10
82 periodSeconds: 10
83 # necessary to disable liveness probe when setting breakpoints
84 # in debugger so K8s doesn't restart unresponsive container
85 enabled: true
86
87readiness:
88 initialDelaySeconds: 10
89 periodSeconds: 10
90
91## Persist data to a persitent volume
92persistence:
93 enabled: true
94
95 ## A manually managed Persistent Volume and Claim
96 ## Requires persistence.enabled: true
97 ## If defined, PVC must be created manually before volume will be bound
98 # existingClaim:
99 volumeReclaimPolicy: Retain
100
101 ## database data Persistent Volume Storage Class
102 ## If defined, storageClassName: <storageClass>
103 ## If set to "-", storageClassName: "", which disables dynamic provisioning
104 ## If undefined (the default) or set to null, no storageClassName spec is
105 ## set, choosing the default provisioner. (gp2 on AWS, standard on
106 ## GKE, AWS & OpenStack)
107 ##
108 # storageClass: "-"
109 accessMode: ReadWriteMany
110 size: 2Gi
111 mountPath: /dockerdata-nfs
112 mountSubPath: portal/mariadb/data
113
114service:
115 type: ClusterIP
BorislavG1ffbd992018-04-24 07:56:27 +0000116 name: portal-db
117 portName: portal-db
Mandeep Khinda1d123882018-03-27 01:26:59 +0000118 externalPort: 3306
119 internalPort: 3306
120
121ingress:
122 enabled: false
123
124resources: {}
125 # We usually recommend not to specify default resources and to leave this as a conscious
126 # choice for the user. This also increases chances charts run on environments with little
127 # resources, such as Minikube. If you do want to specify resources, uncomment the following
128 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
129 #
130 # Example:
131 # Configure resource requests and limits
132 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
133 # Minimum memory for development is 2 CPU cores and 4GB memory
134 # Minimum memory for production is 4 CPU cores and 8GB memory
135#resources:
136# limits:
137# cpu: 2
138# memory: 4Gi
139# requests:
140# cpu: 2
141# memory: 4Gi