Jerry Flood | e1759a1 | 2019-04-09 11:07:12 -0400 | [diff] [blame] | 1 | # Copyright © 2018-2019 AT&T |
krishnaa96 | 2849ae5 | 2020-07-28 19:22:50 +0530 | [diff] [blame] | 2 | # Copyright (C) 2020 Wipro Limited. |
Jerry Flood | f406ab8 | 2018-10-23 07:10:48 -0400 | [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 | |
| 16 | ################################################################# |
| 17 | # Global configuration defaults. |
| 18 | ################################################################# |
| 19 | global: # global defaults |
| 20 | nodePortPrefix: 302 |
Sylvain Desbureaux | 1694e1d | 2020-08-21 09:58:25 +0200 | [diff] [blame] | 21 | readinessImage: onap/oom/readiness:3.0.1 |
Jerry Flood | f406ab8 | 2018-10-23 07:10:48 -0400 | [diff] [blame] | 22 | |
| 23 | subChartsOnly: |
| 24 | enabled: true |
| 25 | |
| 26 | # application image |
| 27 | repository: nexus3.onap.org:10001 |
vrvarma | 0c8dbdb | 2020-04-02 13:10:05 -0400 | [diff] [blame] | 28 | image: onap/optf-cmso-service:2.2.0 |
| 29 | robotimage: onap/optf-cmso-robot:2.2.0 |
Jerry Flood | f406ab8 | 2018-10-23 07:10:48 -0400 | [diff] [blame] | 30 | pullPolicy: Always |
| 31 | |
| 32 | #init container image |
| 33 | dbinit: |
vrvarma | 0c8dbdb | 2020-04-02 13:10:05 -0400 | [diff] [blame] | 34 | image: onap/optf-cmso-dbinit:2.2.0 |
Jerry Flood | f406ab8 | 2018-10-23 07:10:48 -0400 | [diff] [blame] | 35 | |
| 36 | # flag to enable debugging - application support required |
| 37 | debugEnabled: false |
| 38 | |
| 39 | ################################################################# |
Krzysztof Opasiak | d74a659 | 2020-02-07 21:06:58 +0100 | [diff] [blame] | 40 | # Secrets metaconfig |
| 41 | ################################################################# |
| 42 | secrets: |
Krzysztof Opasiak | d74a659 | 2020-02-07 21:06:58 +0100 | [diff] [blame] | 43 | - uid: cmso-db-user-secret |
| 44 | type: basicAuth |
| 45 | externalSecret: '{{ tpl (default "" .Values.config.db.userCredentialsExternalSecret) . }}' |
| 46 | login: '{{ .Values.config.db.user }}' |
| 47 | password: '{{ .Values.config.db.password }}' |
| 48 | passwordPolicy: required |
| 49 | |
| 50 | ################################################################# |
Jerry Flood | f406ab8 | 2018-10-23 07:10:48 -0400 | [diff] [blame] | 51 | # Application configuration defaults. |
| 52 | ################################################################# |
| 53 | # default number of instances |
| 54 | replicaCount: 1 |
| 55 | |
| 56 | nodeSelector: {} |
| 57 | |
| 58 | affinity: {} |
| 59 | |
| 60 | # probe configuration parameters |
| 61 | liveness: |
| 62 | initialDelaySeconds: 120 |
| 63 | periodSeconds: 10 |
| 64 | # necessary to disable liveness probe when setting breakpoints |
| 65 | # in debugger so K8s doesn't restart unresponsive container |
| 66 | enabled: true |
| 67 | |
| 68 | readiness: |
Jerry Flood | eadd44f | 2019-09-30 06:15:33 -0400 | [diff] [blame] | 69 | initialDelaySeconds: 120 |
Jerry Flood | f406ab8 | 2018-10-23 07:10:48 -0400 | [diff] [blame] | 70 | periodSeconds: 10 |
| 71 | |
| 72 | |
| 73 | service: |
| 74 | type: ClusterIP |
| 75 | name: oof-cmso |
| 76 | portName: cmso |
| 77 | internalPort: 8080 |
| 78 | externalPort: 8080 |
| 79 | #nodePort: 23 |
Sylvain Desbureaux | c648751 | 2018-11-23 14:52:32 +0100 | [diff] [blame] | 80 | # as of 20181022 port 23 is reserved for cmso |
Jerry Flood | f406ab8 | 2018-10-23 07:10:48 -0400 | [diff] [blame] | 81 | # see https://wiki.onap.org/display/DW/OOM+NodePort+List |
| 82 | |
| 83 | |
| 84 | config: |
Krzysztof Opasiak | d74a659 | 2020-02-07 21:06:58 +0100 | [diff] [blame] | 85 | db: |
| 86 | port: 3306 |
Krzysztof Opasiak | d74a659 | 2020-02-07 21:06:58 +0100 | [diff] [blame] | 87 | # rootPassword: pass |
| 88 | # rootPasswordExternalSecret: some secret |
| 89 | # user: cmso-admin |
| 90 | # password: pass |
| 91 | # userCredentialsExternalSecret: some-secret |
| 92 | # host: host |
| 93 | # container: container |
| 94 | # mysqlDatabase: cmso |
Jerry Flood | e1759a1 | 2019-04-09 11:07:12 -0400 | [diff] [blame] | 95 | optimizer_host: oof-cmso-optimizer |
| 96 | optimizer_port: 7997 |
Jerry Flood | f406ab8 | 2018-10-23 07:10:48 -0400 | [diff] [blame] | 97 | |
Jerry Flood | f406ab8 | 2018-10-23 07:10:48 -0400 | [diff] [blame] | 98 | ingress: |
| 99 | enabled: false |
| 100 | |
| 101 | #resources: {} |
| 102 | # We usually recommend not to specify default resources and to leave this as a conscious |
| 103 | # choice for the user. This also increases chances charts run on environments with little |
| 104 | # resources, such as Minikube. If you do want to specify resources, uncomment the following |
| 105 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
| 106 | # |
| 107 | # Example: |
| 108 | # Configure resource requests and limits |
| 109 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
| 110 | # Minimum memory for development is 2 CPU cores and 4GB memory |
| 111 | # Minimum memory for production is 4 CPU cores and 8GB memory |
Jerry Flood | 58ec23c | 2019-05-13 10:35:37 -0400 | [diff] [blame] | 112 | flavor: small |
Jerry Flood | f406ab8 | 2018-10-23 07:10:48 -0400 | [diff] [blame] | 113 | resources: |
Sylvain Desbureaux | c648751 | 2018-11-23 14:52:32 +0100 | [diff] [blame] | 114 | small: |
| 115 | limits: |
| 116 | cpu: 1 |
| 117 | memory: 1.2Gi |
| 118 | requests: |
| 119 | cpu: 10m |
| 120 | memory: 800Mi |
| 121 | large: |
| 122 | limits: |
| 123 | cpu: 1 |
| 124 | memory: 1.2Gi |
| 125 | requests: |
| 126 | cpu: 10m |
| 127 | memory: 800Mi |
| 128 | unlimited: {} |