blob: 459040549d572105c9072428ea5c4d4fb6d413cc [file] [log] [blame]
vaibhav_16dece04b2fe2018-03-22 09:07:12 +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
vaibhav_16decf67e4182018-03-19 05:45:47 +000015#################################################################
16# Global configuration defaults.
17#################################################################
18global: # global defaults
19 nodePortPrefix: 302
vaibhav_16decf67e4182018-03-19 05:45:47 +000020
21 persistence: {}
22
23# application image
24repository: nexus3.onap.org:10001
25image: mariadb:10.1.11
26pullPolicy: Always
27
28#################################################################
29# Application configuration defaults.
30#################################################################
31config:
32 mysqlPassword: strong_pitchou
33
34# default number of instances
35replicaCount: 1
36
37nodeSelector: {}
38
39affinity: {}
40
41# probe configuration parameters
42liveness:
43 initialDelaySeconds: 10
44 periodSeconds: 10
45 # necessary to disable liveness probe when setting breakpoints
46 # in debugger so K8s doesn't restart unresponsive container
47 enabled: true
48
49readiness:
50 initialDelaySeconds: 10
51 periodSeconds: 10
52
53## Persist data to a persitent volume
54persistence:
55 enabled: true
56
57 ## A manually managed Persistent Volume and Claim
58 ## Requires persistence.enabled: true
59 ## If defined, PVC must be created manually before volume will be bound
60 # existingClaim:
61 volumeReclaimPolicy: Retain
62
63 ## database data Persistent Volume Storage Class
64 ## If defined, storageClassName: <storageClass>
65 ## If set to "-", storageClassName: "", which disables dynamic provisioning
66 ## If undefined (the default) or set to null, no storageClassName spec is
67 ## set, choosing the default provisioner. (gp2 on AWS, standard on
68 ## GKE, AWS & OpenStack)
69 ##
70 # storageClass: "-"
71 accessMode: ReadWriteMany
72 size: 2Gi
73 mountPath: /dockerdata-nfs
74 mountSubPath: clamp/mariadb/data
75
76service:
77 type: ClusterIP
BorislavG1ffbd992018-04-24 07:56:27 +000078 name: clampdb
79 portName: clampdb
vaibhav_16decf67e4182018-03-19 05:45:47 +000080 internalPort: 3306
81 externalPort: 3306
82
83
84ingress:
85 enabled: false
86
87
Determe, Sebastien (sd378r)d600a8d2018-06-01 11:27:49 +020088#resources: {}
vaibhav_16decf67e4182018-03-19 05:45:47 +000089 # We usually recommend not to specify default resources and to leave this as a conscious
90 # choice for the user. This also increases chances charts run on environments with little
91 # resources, such as Minikube. If you do want to specify resources, uncomment the following
92 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
93 #
94 # Example:
95 # Configure resource requests and limits
96 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
97 # Minimum memory for development is 2 CPU cores and 4GB memory
98 # Minimum memory for production is 4 CPU cores and 8GB memory
Determe, Sebastien (sd378r)d600a8d2018-06-01 11:27:49 +020099resources:
100 limits:
101 cpu: 1
102 memory: 500Mi
103 requests:
104 cpu: 10m
105 memory: 200Mi