vaibhav_16dec | e04b2fe | 2018-03-22 09:07:12 +0000 | [diff] [blame] | 1 | # 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 | |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 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 |
| 19 | nodePortPrefix: 302 |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 20 | persistence: {} |
Mandeep Khinda | 0fe4eb7 | 2018-04-20 21:02:45 +0000 | [diff] [blame] | 21 | readinessRepository: oomk8s |
| 22 | ubuntuInitRepository: registry.hub.docker.com |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 23 | |
| 24 | |
| 25 | # application image |
| 26 | repository: nexus3.onap.org:10001 |
| 27 | image: mariadb:10.1.11 |
| 28 | pullPolicy: Always |
Mandeep Khinda | 0fe4eb7 | 2018-04-20 21:02:45 +0000 | [diff] [blame] | 29 | ubuntuInitImage: oomk8s/ubuntu-init:2.0.0 |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 30 | |
| 31 | # application configuration |
| 32 | config: |
| 33 | mariadbRootPassword: password |
Mandeep Khinda | 0fe4eb7 | 2018-04-20 21:02:45 +0000 | [diff] [blame] | 34 | # gerrit branch where the latest heat code is checked in |
| 35 | gerritBranch: master |
| 36 | # gerrit project where the latest heat code is checked in |
| 37 | gerritProject: http://gerrit.onap.org/r/so/docker-config.git |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 38 | |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 39 | |
| 40 | # default number of instances |
| 41 | replicaCount: 1 |
| 42 | |
| 43 | nodeSelector: {} |
| 44 | |
| 45 | affinity: {} |
| 46 | |
| 47 | # probe configuration parameters |
| 48 | liveness: |
Mike Elliott | 2499fcc | 2018-05-07 11:55:15 -0400 | [diff] [blame] | 49 | initialDelaySeconds: 90 |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 50 | periodSeconds: 10 |
| 51 | # necessary to disable liveness probe when setting breakpoints |
| 52 | # in debugger so K8s doesn't restart unresponsive container |
| 53 | enabled: true |
| 54 | |
| 55 | readiness: |
Mike Elliott | 2499fcc | 2018-05-07 11:55:15 -0400 | [diff] [blame] | 56 | initialDelaySeconds: 90 |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 57 | periodSeconds: 10 |
| 58 | |
| 59 | ## Persist data to a persitent volume |
| 60 | persistence: |
| 61 | enabled: true |
| 62 | |
| 63 | ## A manually managed Persistent Volume and Claim |
| 64 | ## Requires persistence.enabled: true |
| 65 | ## If defined, PVC must be created manually before volume will be bound |
| 66 | # existingClaim: |
| 67 | volumeReclaimPolicy: Retain |
| 68 | |
| 69 | ## database data Persistent Volume Storage Class |
| 70 | ## If defined, storageClassName: <storageClass> |
| 71 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 72 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 73 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 74 | ## GKE, AWS & OpenStack) |
| 75 | ## |
| 76 | # storageClass: "-" |
| 77 | accessMode: ReadWriteMany |
| 78 | size: 2Gi |
| 79 | mountPath: /dockerdata-nfs |
| 80 | mountSubPath: mso/mariadb/data |
| 81 | |
| 82 | service: |
| 83 | type: NodePort |
Mike Elliott | 282751f | 2018-04-19 17:24:08 -0400 | [diff] [blame] | 84 | portName: mariadb |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 85 | internalPort: 3306 |
Mike Elliott | 282751f | 2018-04-19 17:24:08 -0400 | [diff] [blame] | 86 | nodePort: 52 |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 87 | |
| 88 | ingress: |
| 89 | enabled: false |
| 90 | |
| 91 | resources: {} |
| 92 | # We usually recommend not to specify default resources and to leave this as a conscious |
| 93 | # choice for the user. This also increases chances charts run on environments with little |
| 94 | # resources, such as Minikube. If you do want to specify resources, uncomment the following |
| 95 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
| 96 | # |
| 97 | # Example: |
| 98 | # Configure resource requests and limits |
| 99 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
| 100 | # Minimum memory for development is 2 CPU cores and 4GB memory |
| 101 | # Minimum memory for production is 4 CPU cores and 8GB memory |
| 102 | #resources: |
| 103 | # limits: |
| 104 | # cpu: 2 |
| 105 | # memory: 4Gi |
| 106 | # requests: |
| 107 | # cpu: 2 |
| 108 | # memory: 4Gi |