blob: bb5a76b0ee5797d88a7add9323fde6ee6207a8ef [file] [log] [blame]
yangyanyjb6ad3cb2019-05-05 23:54:08 +08001# 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#################################################################
18global:
19 nodePortPrefix: 302
20 readinessRepository: oomk8s
21 readinessImage: readiness-check:2.0.0
22 loggingRepository: docker.elastic.co
23 loggingImage: beats/filebeat:5.5.0
24
Krzysztof Opasiak43893f52020-01-31 14:26:54 +010025 config:
26 msbServiceName: msb-iag
27 msbPort: 80
28 redisServiceName: vfc-redis
29 redisPort: 6379
30
31 persistence:
32 mountPath: /dockerdata-nfs
33
34#################################################################
Krzysztof Opasiak894aafb2020-01-31 23:28:25 +010035# Secrets metaconfig
36#################################################################
37secrets:
38 - uid: "db-root-pass"
39 externalSecret: '{{- include "common.mariadb.secret.rootPassSecretName" (dict "dot" . "chartName" (index .Values "mariadb-galera" "nameOverride")) }}'
40 type: password
41
42#################################################################
Krzysztof Opasiak43893f52020-01-31 14:26:54 +010043# Dependencies configuration
44#################################################################
45
46mariadb-galera:
Krzysztof Opasiak43893f52020-01-31 14:26:54 +010047 nameOverride: modeling-mariadb
48 service:
49 name: modeling-db
50 portName: modeling-db
Krzysztof Opasiak894aafb2020-01-31 23:28:25 +010051 internalPort: 3306
Krzysztof Opasiak43893f52020-01-31 14:26:54 +010052 nfsprovisionerPrefix: modeling
53 persistence:
54 mountSubPath: modeling/data
55 enabled: true
56 disableNfsProvisioner: true
57
yangyanyjb6ad3cb2019-05-05 23:54:08 +080058#################################################################
59# Application configuration defaults.
60#################################################################
61# application image
62flavor: small
63
64repository: nexus3.onap.org:10001
dyh7d604452019-09-23 15:54:48 +080065image: onap/modeling/etsicatalog:1.0.4
yangyanyjb6ad3cb2019-05-05 23:54:08 +080066pullPolicy: Always
67
68#Istio sidecar injection policy
69istioSidecar: true
70
71# flag to enable debugging - application support required
72debugEnabled: false
73
yangyanyjb6ad3cb2019-05-05 23:54:08 +080074# default number of instances
75replicaCount: 1
76
77nodeSelector: {}
78
79affinity: {}
80
81# probe configuration parameters
82liveness:
83 initialDelaySeconds: 120
84 periodSeconds: 10
85 # necessary to disable liveness probe when setting breakpoints
86 # in debugger so K8s doesn't restart unresponsive container
87 enabled: true
88
89readiness:
90 initialDelaySeconds: 10
91 periodSeconds: 10
92
93## Persist data to a persitent volume
94persistence:
95 enabled: true
96 ## A manually managed Persistent Volume and Claim
97 ## Requires persistence.enabled: true
98 ## If defined, PVC must be created manually before volume will be bound
99 # existingClaim:
100 volumeReclaimPolicy: Retain
101 ## database data Persistent Volume Storage Class
102 ## If defined, storageClassName: <storageClass>
103 ## If set to "-", storageClassName: "", which disables dynamic provisioning
104 ## If undefined (the default) or set to null, no storageClassName spec is
105 ## set, choosing the default provisioner. (gp2 on AWS, standard on
106 ## GKE, AWS & OpenStack)
107 ##
108 # storageClass: "-"
Sylvain Desbureaux3bcc5102019-09-02 15:03:59 +0200109 accessMode: ReadWriteOnce
yangyanyjb6ad3cb2019-05-05 23:54:08 +0800110 size: 2Gi
111 mountPath: /dockerdata-nfs
dyh7d604452019-09-23 15:54:48 +0800112 mountSubPath: modeling/etsicatalog
yangyanyjb6ad3cb2019-05-05 23:54:08 +0800113
114service:
115 type: ClusterIP
dyh7d604452019-09-23 15:54:48 +0800116 name: modeling-etsicatalog
117 portName: modeling-etsicatalog
yangyanyjb6ad3cb2019-05-05 23:54:08 +0800118 externalPort: 8806
119 internalPort: 8806
120# nodePort: 30806
121
122ingress:
123 enabled: false
124
125# Configure resource requests and limits
126resources:
127 small:
128 limits:
129 cpu: 200m
130 memory: 500Mi
131 requests:
132 cpu: 100m
133 memory: 250Mi
134 large:
135 limits:
136 cpu: 400m
137 memory: 1000Mi
138 requests:
139 cpu: 200m
140 memory: 500Mi
141 unlimited: {}