30ca4937755c6fb0baf330b80c9229af57b06afb
[oom.git] / kubernetes / modeling / charts / modeling-etsicatalog / values.yaml
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
20   readinessRepository: oomk8s
21   readinessImage: readiness-check:2.0.0
22   loggingRepository: docker.elastic.co
23   loggingImage: beats/filebeat:5.5.0
24
25   config:
26     ssl_enabled: false
27     msbProtocol: https
28     msbServiceName: msb-iag
29     msbPort: 443
30
31   persistence:
32     mountPath: /dockerdata-nfs
33
34 #################################################################
35 # Secrets metaconfig
36 #################################################################
37 secrets:
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 #################################################################
43 # Dependencies configuration
44 #################################################################
45
46 mariadb-galera:
47   nameOverride: modeling-mariadb
48   service:
49     name: modeling-db
50     portName: modeling-db
51     internalPort: 3306
52   nfsprovisionerPrefix: modeling
53   persistence:
54     mountSubPath: modeling/data
55     enabled: true
56   disableNfsProvisioner: true
57
58 #################################################################
59 # Application configuration defaults.
60 #################################################################
61 # application image
62 flavor: small
63
64 repository: nexus3.onap.org:10001
65 image: onap/modeling/etsicatalog:1.0.6
66 pullPolicy: Always
67
68 #Istio sidecar injection policy
69 istioSidecar: true
70
71 # flag to enable debugging - application support required
72 debugEnabled: false
73
74 # default number of instances
75 replicaCount: 1
76
77 nodeSelector: {}
78
79 affinity: {}
80
81 # probe configuration parameters
82 liveness:
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
89 readiness:
90   initialDelaySeconds: 10
91   periodSeconds: 10
92
93 ## Persist data to a persitent volume
94 persistence:
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: "-"
109   accessMode: ReadWriteOnce
110   size: 2Gi
111   mountPath: /dockerdata-nfs
112   mountSubPath: modeling/etsicatalog
113
114 service:
115   type: ClusterIP
116   name: modeling-etsicatalog
117   portName: modeling-etsicatalog
118   externalPort: 8806
119   internalPort: 8806
120 #  nodePort: 30806
121
122 ingress:
123   enabled: false
124
125 # Configure resource requests and limits
126 resources:
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: {}