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