[CONSUL] Add limits to consul chart.
[oom.git] / kubernetes / oof / components / oof-has / components / oof-has-api / values.yaml
1 # Copyright © 2017 Amdocs, AT&T, Bell Canada, VMware
2 # Copyright (C) 2020 Wipro Limited.
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 global: # global defaults
17   nodePortPrefix: 302
18   image:
19     optf_has: onap/optf-has:2.1.1
20
21 service:
22   type: NodePort
23   name: oof-has-api
24   externalPort: 8091
25   internalPort: 8091
26   nodePort: 75
27   portName: oof-has-api
28
29 #sidecar container image
30 nginx:
31   image: bitnami/nginx:1.18-debian-10
32 #backend container info
33 uwsgi:
34   internalPort: 8080
35 ingress:
36   enabled: false
37 replicaCount: 1
38 nodeSelector: {}
39 affinity: {}
40 # Resource Limit flavor -By Default using small
41 flavor: small
42 # Segregation for Different environment (Small and Large)
43 resources:
44   small:
45     limits:
46       memory: 4Gi
47       cpu: 2000m
48     requests:
49       memory: 1Gi
50       cpu: 500m
51   large:
52     limits:
53       memory: 8Gi
54       cpu: 4000m
55     requests:
56       memory: 2Gi
57       cpu: 1000m
58   unlimited: {}
59 # probe configuration parameters
60 liveness:
61   initialDelaySeconds: 10
62   periodSeconds: 10
63   # necessary to disable liveness probe when setting breakpoints
64   # in debugger so K8s doesn't restart unresponsive container
65   enabled: true
66 readiness:
67   initialDelaySeconds: 10
68   periodSeconds: 10
69
70 #sub-charts configuration
71 certInitializer:
72   nameOverride: oof-has-cert-initializer
73   fqdn: "oof.onap"
74   app_ns: "org.osaaf.aaf"
75   fqi: "oof@oof.onap.org"
76   fqi_namespace: org.onap.oof
77   public_fqdn: "oof.onap.org"
78   aafDeployFqi: "deployer@people.osaaf.org"
79   aafDeployPass: demo123456!
80   cadi_latitude: "0.0"
81   cadi_longitude: "0.0"
82   credsPath: /opt/app/osaaf/local
83   appMountPath: /opt/bitnami/nginx/ssl
84   aaf_add_config: >
85     chmod 444 {{ .Values.credsPath }}/{{ .Values.fqi_namespace }}.key;
86
87
88 ingress:
89   enabled: false
90   service:
91     - baseaddr: "oof-has-api.onap"
92       name: "oof-has-api"
93       port: 8091
94   config:
95     ssl: "redirect"