blob: d0864117040c0ee0ceb5c2e35873c424d1a7d70c [file] [log] [blame]
Jerry Floode1759a12019-04-09 11:07:12 -04001# Copyright © 2018-2019 AT&T
krishnaa962849ae52020-07-28 19:22:50 +05302# Copyright (C) 2020 Wipro Limited.
Jerry Floodf406ab82018-10-23 07:10:48 -04003#
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#################################################################
19global: # global defaults
20 nodePortPrefix: 302
Sylvain Desbureaux1694e1d2020-08-21 09:58:25 +020021 readinessImage: onap/oom/readiness:3.0.1
Jerry Floodf406ab82018-10-23 07:10:48 -040022
23subChartsOnly:
24 enabled: true
25
26# application image
27repository: nexus3.onap.org:10001
vrvarma0c8dbdb2020-04-02 13:10:05 -040028image: onap/optf-cmso-service:2.2.0
29robotimage: onap/optf-cmso-robot:2.2.0
Jerry Floodf406ab82018-10-23 07:10:48 -040030pullPolicy: Always
31
32#init container image
33dbinit:
vrvarma0c8dbdb2020-04-02 13:10:05 -040034 image: onap/optf-cmso-dbinit:2.2.0
Jerry Floodf406ab82018-10-23 07:10:48 -040035
36# flag to enable debugging - application support required
37debugEnabled: false
38
39#################################################################
Krzysztof Opasiakd74a6592020-02-07 21:06:58 +010040# Secrets metaconfig
41#################################################################
42secrets:
Krzysztof Opasiakd74a6592020-02-07 21:06:58 +010043 - 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 Floodf406ab82018-10-23 07:10:48 -040051# Application configuration defaults.
52#################################################################
53# default number of instances
54replicaCount: 1
55
56nodeSelector: {}
57
58affinity: {}
59
60# probe configuration parameters
61liveness:
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
68readiness:
Jerry Floodeadd44f2019-09-30 06:15:33 -040069 initialDelaySeconds: 120
Jerry Floodf406ab82018-10-23 07:10:48 -040070 periodSeconds: 10
71
72
73service:
74 type: ClusterIP
75 name: oof-cmso
76 portName: cmso
77 internalPort: 8080
78 externalPort: 8080
79 #nodePort: 23
Sylvain Desbureauxc6487512018-11-23 14:52:32 +010080 # as of 20181022 port 23 is reserved for cmso
Jerry Floodf406ab82018-10-23 07:10:48 -040081 # see https://wiki.onap.org/display/DW/OOM+NodePort+List
82
83
84config:
Krzysztof Opasiakd74a6592020-02-07 21:06:58 +010085 db:
86 port: 3306
Krzysztof Opasiakd74a6592020-02-07 21:06:58 +010087# 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 Floode1759a12019-04-09 11:07:12 -040095 optimizer_host: oof-cmso-optimizer
96 optimizer_port: 7997
Jerry Floodf406ab82018-10-23 07:10:48 -040097
Jerry Floodf406ab82018-10-23 07:10:48 -040098ingress:
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 Flood58ec23c2019-05-13 10:35:37 -0400112flavor: small
Jerry Floodf406ab82018-10-23 07:10:48 -0400113resources:
Sylvain Desbureauxc6487512018-11-23 14:52:32 +0100114 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: {}