Merge "[DCAEMOD] Uses new tpls for repos / images"
[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.2
20
21 #################################################################
22 # secrets metaconfig
23 #################################################################
24 secrets:
25   - uid: oof-onap-certs
26     externalSecret: '{{ tpl (default "" .Values.certSecret) . }}'
27     type: generic
28     filePaths: '{{ .Values.secretsFilePaths }}'
29
30 service:
31   type: NodePort
32   name: oof-has-api
33   externalPort: 8091
34   internalPort: 8091
35   nodePort: 75
36   portName: oof-has-api
37
38 #backend container info
39 uwsgi:
40   internalPort: 8080
41 ingress:
42   enabled: false
43 replicaCount: 1
44 nodeSelector: {}
45 affinity: {}
46 # Resource Limit flavor -By Default using small
47 flavor: small
48 # Segregation for Different environment (Small and Large)
49 resources:
50   small:
51     limits:
52       memory: 4Gi
53       cpu: 2000m
54     requests:
55       memory: 1Gi
56       cpu: 500m
57   large:
58     limits:
59       memory: 8Gi
60       cpu: 4000m
61     requests:
62       memory: 2Gi
63       cpu: 1000m
64   unlimited: {}
65 # probe configuration parameters
66 liveness:
67   initialDelaySeconds: 10
68   periodSeconds: 10
69   # necessary to disable liveness probe when setting breakpoints
70   # in debugger so K8s doesn't restart unresponsive container
71   enabled: true
72 readiness:
73   initialDelaySeconds: 10
74   periodSeconds: 10
75
76 #sub-charts configuration
77 certInitializer:
78   nameOverride: oof-has-cert-initializer
79   fqdn: "oof.onap"
80   app_ns: "org.osaaf.aaf"
81   fqi: "oof@oof.onap.org"
82   fqi_namespace: org.onap.oof
83   public_fqdn: "oof.onap.org"
84   aafDeployFqi: "deployer@people.osaaf.org"
85   aafDeployPass: demo123456!
86   cadi_latitude: "0.0"
87   cadi_longitude: "0.0"
88   credsPath: /opt/app/osaaf/local
89   appMountPath: /opt/bitnami/nginx/ssl
90   aaf_add_config: >
91     chmod 444 {{ .Values.credsPath }}/{{ .Values.fqi_namespace }}.key;
92
93
94 ingress:
95   enabled: false
96   service:
97     - baseaddr: "oof-has-api.onap"
98       name: "oof-has-api"
99       port: 8091
100   config:
101     ssl: "redirect"