Mike Elliott | 6ba69cd | 2018-04-03 16:37:06 -0400 | [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 | |
| 15 | ################################################################# |
| 16 | # Global configuration defaults. |
| 17 | ################################################################# |
| 18 | global: |
| 19 | nodePortPrefix: 302 |
Mike Elliott | 6ba69cd | 2018-04-03 16:37:06 -0400 | [diff] [blame] | 20 | readinessRepository: oomk8s |
BorislavG | 3d6f937 | 2018-04-15 11:55:39 +0000 | [diff] [blame] | 21 | readinessImage: readiness-check:2.0.0 |
Mike Elliott | 6ba69cd | 2018-04-03 16:37:06 -0400 | [diff] [blame] | 22 | loggingRepository: docker.elastic.co |
| 23 | loggingImage: beats/filebeat:5.5.0 |
| 24 | |
| 25 | ################################################################# |
Krzysztof Opasiak | a9010db | 2020-02-26 23:36:22 +0100 | [diff] [blame] | 26 | # Secrets metaconfig |
| 27 | ################################################################# |
| 28 | secrets: |
| 29 | - uid: "db-root-pass" |
| 30 | externalSecret: '{{ tpl (default "" .Values.config.mariadbRootPasswordExternalSecret) . }}' |
| 31 | type: password |
| 32 | password: '{{ .Values.config.mariadbRootPassword }}' |
| 33 | policy: required |
| 34 | |
| 35 | ################################################################# |
Mike Elliott | 6ba69cd | 2018-04-03 16:37:06 -0400 | [diff] [blame] | 36 | # Application configuration defaults. |
| 37 | ################################################################# |
| 38 | # application image |
GregSulek | 5fb3bc6 | 2018-09-20 08:51:37 -0400 | [diff] [blame] | 39 | flavor: small |
| 40 | |
Mike Elliott | 6ba69cd | 2018-04-03 16:37:06 -0400 | [diff] [blame] | 41 | repository: nexus3.onap.org:10001 |
yangyan | a62fb84 | 2019-08-22 17:46:25 +0800 | [diff] [blame] | 42 | image: onap/vfc/catalog:1.3.4 |
Mike Elliott | 6ba69cd | 2018-04-03 16:37:06 -0400 | [diff] [blame] | 43 | pullPolicy: Always |
| 44 | |
Huabing Zhao | c171ac2 | 2018-07-31 06:49:03 +0000 | [diff] [blame] | 45 | #Istio sidecar injection policy |
| 46 | istioSidecar: true |
| 47 | |
Mike Elliott | 6ba69cd | 2018-04-03 16:37:06 -0400 | [diff] [blame] | 48 | # flag to enable debugging - application support required |
| 49 | debugEnabled: false |
| 50 | |
| 51 | # application configuration |
Krzysztof Opasiak | a9010db | 2020-02-26 23:36:22 +0100 | [diff] [blame] | 52 | config: |
| 53 | mariadbService: vfc-mariadb |
| 54 | mariadbPort: 3306 |
| 55 | # mariadbRootPassword: secretpassword |
| 56 | # mariadbRootPasswordExternalSecret: some secret |
Mike Elliott | 6ba69cd | 2018-04-03 16:37:06 -0400 | [diff] [blame] | 57 | |
| 58 | # default number of instances |
| 59 | replicaCount: 1 |
| 60 | |
| 61 | nodeSelector: {} |
| 62 | |
| 63 | affinity: {} |
| 64 | |
| 65 | # probe configuration parameters |
| 66 | liveness: |
yangyan | d08e6dc | 2018-08-17 13:28:00 +0800 | [diff] [blame] | 67 | initialDelaySeconds: 120 |
Mike Elliott | 6ba69cd | 2018-04-03 16:37:06 -0400 | [diff] [blame] | 68 | periodSeconds: 10 |
| 69 | # necessary to disable liveness probe when setting breakpoints |
| 70 | # in debugger so K8s doesn't restart unresponsive container |
| 71 | enabled: true |
| 72 | |
| 73 | readiness: |
| 74 | initialDelaySeconds: 10 |
| 75 | periodSeconds: 10 |
| 76 | |
yangyanyj | 9e05b26 | 2019-02-01 17:31:40 +0800 | [diff] [blame] | 77 | ## Persist data to a persitent volume |
| 78 | persistence: |
| 79 | enabled: true |
| 80 | ## A manually managed Persistent Volume and Claim |
| 81 | ## Requires persistence.enabled: true |
| 82 | ## If defined, PVC must be created manually before volume will be bound |
| 83 | # existingClaim: |
| 84 | volumeReclaimPolicy: Retain |
| 85 | ## database data Persistent Volume Storage Class |
| 86 | ## If defined, storageClassName: <storageClass> |
| 87 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 88 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 89 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 90 | ## GKE, AWS & OpenStack) |
| 91 | ## |
| 92 | # storageClass: "-" |
yangyan | 3b21e10 | 2019-09-24 10:13:06 +0800 | [diff] [blame] | 93 | accessMode: ReadWriteOnce |
yangyanyj | 9e05b26 | 2019-02-01 17:31:40 +0800 | [diff] [blame] | 94 | size: 2Gi |
| 95 | mountPath: /dockerdata-nfs |
| 96 | mountSubPath: vfc/catalog |
| 97 | |
Mike Elliott | 6ba69cd | 2018-04-03 16:37:06 -0400 | [diff] [blame] | 98 | service: |
| 99 | type: ClusterIP |
| 100 | name: vfc-catalog |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 101 | portName: vfc-catalog |
Mike Elliott | 6ba69cd | 2018-04-03 16:37:06 -0400 | [diff] [blame] | 102 | externalPort: 8806 |
| 103 | internalPort: 8806 |
| 104 | # nodePort: 30806 |
| 105 | |
| 106 | ingress: |
| 107 | enabled: false |
| 108 | |
GregSulek | 5fb3bc6 | 2018-09-20 08:51:37 -0400 | [diff] [blame] | 109 | # Configure resource requests and limits |
| 110 | resources: |
| 111 | small: |
| 112 | limits: |
| 113 | cpu: 200m |
| 114 | memory: 500Mi |
| 115 | requests: |
| 116 | cpu: 100m |
| 117 | memory: 250Mi |
| 118 | large: |
| 119 | limits: |
| 120 | cpu: 400m |
| 121 | memory: 1000Mi |
| 122 | requests: |
| 123 | cpu: 200m |
| 124 | memory: 500Mi |
Krzysztof Opasiak | a9010db | 2020-02-26 23:36:22 +0100 | [diff] [blame] | 125 | unlimited: {} |