Merge "[DMAAP] DMaaP ServiceMesh compatibility"
[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.3.0
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   - uid: oof-has-etcd-secret
30     name: &user-creds '{{ include "common.release" . }}-oof-has-etcd-secret'
31     type: basicAuth
32     externalSecret: '{{ tpl (default "" .Values.config.etcd.userCredentialsExternalSecret) . }}'
33     login: '{{ .Values.config.etcd.appUser }}'
34     password: '{{ .Values.config.etcd.appPassword }}'
35     passwordPolicy: required
36
37 config:
38   etcd:
39     appUser: user
40     appPassword: pass
41
42 service:
43   type: NodePort
44   name: oof-has-api
45   externalPort: 8091
46   internalPort: 8091
47   nodePort: 75
48   portName: oof-has-api
49
50 #backend container info
51 uwsgi:
52   internalPort: 8080
53 ingress:
54   enabled: false
55 replicaCount: 1
56 nodeSelector: {}
57 affinity: {}
58 # Resource Limit flavor -By Default using small
59 flavor: small
60 # Segregation for Different environment (Small and Large)
61 resources:
62   small:
63     limits:
64       memory: 4Gi
65       cpu: 2000m
66     requests:
67       memory: 1Gi
68       cpu: 500m
69   large:
70     limits:
71       memory: 8Gi
72       cpu: 4000m
73     requests:
74       memory: 2Gi
75       cpu: 1000m
76   unlimited: {}
77 # probe configuration parameters
78 liveness:
79   initialDelaySeconds: 10
80   periodSeconds: 10
81   # necessary to disable liveness probe when setting breakpoints
82   # in debugger so K8s doesn't restart unresponsive container
83   enabled: true
84 readiness:
85   initialDelaySeconds: 10
86   periodSeconds: 10
87
88 #sub-charts configuration
89 certInitializer:
90   nameOverride: oof-has-cert-initializer
91   fqdn: "oof.onap"
92   app_ns: "org.osaaf.aaf"
93   fqi: "oof@oof.onap.org"
94   fqi_namespace: org.onap.oof
95   public_fqdn: "oof.onap.org"
96   aafDeployFqi: "deployer@people.osaaf.org"
97   aafDeployPass: demo123456!
98   cadi_latitude: "0.0"
99   cadi_longitude: "0.0"
100   credsPath: /opt/app/osaaf/local
101   appMountPath: /opt/bitnami/nginx/ssl
102   aaf_add_config: >
103     chmod 444 {{ .Values.credsPath }}/{{ .Values.fqi_namespace }}.key;
104
105
106 ingress:
107   enabled: false
108   service:
109     - baseaddr: "oof-has-api.onap"
110       name: "oof-has-api"
111       port: 8091
112   config:
113     ssl: "redirect"
114
115 #Pods Service Account
116 serviceAccount:
117   nameOverride: oof-has-api
118   roles:
119     - read