[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 #sidecar container image
39 nginx:
40   image: bitnami/nginx:1.18-debian-10
41 #backend container info
42 uwsgi:
43   internalPort: 8080
44 ingress:
45   enabled: false
46 replicaCount: 1
47 nodeSelector: {}
48 affinity: {}
49 # Resource Limit flavor -By Default using small
50 flavor: small
51 # Segregation for Different environment (Small and Large)
52 resources:
53   small:
54     limits:
55       memory: 4Gi
56       cpu: 2000m
57     requests:
58       memory: 1Gi
59       cpu: 500m
60   large:
61     limits:
62       memory: 8Gi
63       cpu: 4000m
64     requests:
65       memory: 2Gi
66       cpu: 1000m
67   unlimited: {}
68 # probe configuration parameters
69 liveness:
70   initialDelaySeconds: 10
71   periodSeconds: 10
72   # necessary to disable liveness probe when setting breakpoints
73   # in debugger so K8s doesn't restart unresponsive container
74   enabled: true
75 readiness:
76   initialDelaySeconds: 10
77   periodSeconds: 10
78
79 #sub-charts configuration
80 certInitializer:
81   nameOverride: oof-has-cert-initializer
82   fqdn: "oof.onap"
83   app_ns: "org.osaaf.aaf"
84   fqi: "oof@oof.onap.org"
85   fqi_namespace: org.onap.oof
86   public_fqdn: "oof.onap.org"
87   aafDeployFqi: "deployer@people.osaaf.org"
88   aafDeployPass: demo123456!
89   cadi_latitude: "0.0"
90   cadi_longitude: "0.0"
91   credsPath: /opt/app/osaaf/local
92   appMountPath: /opt/bitnami/nginx/ssl
93   aaf_add_config: >
94     chmod 444 {{ .Values.credsPath }}/{{ .Values.fqi_namespace }}.key;
95
96
97 ingress:
98   enabled: false
99   service:
100     - baseaddr: "oof-has-api.onap"
101       name: "oof-has-api"
102       port: 8091
103   config:
104     ssl: "redirect"