[MODELING]Modify the owner of static directory to onap instead of root
[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 initImage: busybox:latest
67 pullPolicy: Always
68
69 #Istio sidecar injection policy
70 istioSidecar: true
71
72 # flag to enable debugging - application support required
73 debugEnabled: false
74
75 # default number of instances
76 replicaCount: 1
77
78 nodeSelector: {}
79
80 affinity: {}
81
82 # probe configuration parameters
83 liveness:
84   initialDelaySeconds: 120
85   periodSeconds: 10
86   # necessary to disable liveness probe when setting breakpoints
87   # in debugger so K8s doesn't restart unresponsive container
88   enabled: true
89
90 readiness:
91   initialDelaySeconds: 10
92   periodSeconds: 10
93
94 ## Persist data to a persitent volume
95 persistence:
96   enabled: true
97   ## A manually managed Persistent Volume and Claim
98   ## Requires persistence.enabled: true
99   ## If defined, PVC must be created manually before volume will be bound
100   # existingClaim:
101   volumeReclaimPolicy: Retain
102   ## database data Persistent Volume Storage Class
103   ## If defined, storageClassName: <storageClass>
104   ## If set to "-", storageClassName: "", which disables dynamic provisioning
105   ## If undefined (the default) or set to null, no storageClassName spec is
106   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
107   ##   GKE, AWS & OpenStack)
108   ##
109   # storageClass: "-"
110   accessMode: ReadWriteOnce
111   size: 2Gi
112   mountPath: /dockerdata-nfs
113   mountSubPath: modeling/etsicatalog
114
115 service:
116   type: ClusterIP
117   name: modeling-etsicatalog
118   portName: modeling-etsicatalog
119   externalPort: 8806
120   internalPort: 8806
121 #  nodePort: 30806
122
123 ingress:
124   enabled: false
125
126 # Configure resource requests and limits
127 resources:
128   small:
129     limits:
130       cpu: 200m
131       memory: 500Mi
132     requests:
133       cpu: 100m
134       memory: 250Mi
135   large:
136     limits:
137       cpu: 400m
138       memory: 1000Mi
139     requests:
140       cpu: 200m
141       memory: 500Mi
142   unlimited: {}