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