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