Merge "[UUI] Update image of components of UUI"
[oom.git] / kubernetes / aaf / components / aaf-hello / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications © 2020 AT&T
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 global:
16   aafEnabled: true
17
18 flavor: small
19
20 #################################################################
21 # Application configuration defaults.
22 #################################################################
23 # application image
24 aaf_init:
25   # You might want this in your own app.  For AAF, we store in global
26   # replicas: 1
27   fqi: aaf@aaf.osaaf.org
28 # This MUST match what is put in AAF's "Artifact" for Certificates
29   fqdn: aaf-hello
30 # What is put in Locator for External Access
31   public_fqdn: aaf.osaaf.org
32   cadi_latitude: "38.0"
33   cadi_longitude: "-72.0"
34   credsPath: /opt/app/osaaf/local
35   aafDeployFqi: deployer@people.osaaf.org
36   aafDeployPass: demo123456!
37   # aafDeployCredsExternalSecret: some secret
38   secret_uid: &aaf_secret_uid nbi-aaf-deploy-creds
39   permission_user: 1000
40   permission_group: 999
41
42 replicaCount: 0
43
44 image: onap/aaf/aaf_hello:2.1.23
45
46 service:
47   name: aaf-hello
48   type: ClusterIP
49   ports:
50     - name: api
51       protocol: http
52       port: 8130
53
54 nodeSelector: {}
55
56 affinity: {}
57
58 secrets:
59   - uid: *aaf_secret_uid
60     type: basicAuth
61     externalSecret: '{{ ternary (tpl (default "" .Values.aaf_init.aafDeployCredsExternalSecret) .) "aafIsDisabled" .Values.global.aafEnabled }}'
62     login: '{{ .Values.aaf_init.aafDeployFqi }}'
63     password: '{{ .Values.aaf_init.aafDeployPass }}'
64     passwordPolicy: required
65
66 # probe configuration parameters
67 liveness:
68   initialDelaySeconds: 30
69   periodSeconds: 10
70   # necessary to disable liveness probe when setting breakpoints
71   # in debugger so K8s doesn't restart unresponsive container
72   enabled: true
73   port: api
74
75 readiness:
76   initialDelaySeconds: 5
77   periodSeconds: 10
78   port: api
79
80 ingress:
81   enabled: false
82   service:
83     - baseaddr: "aafhello"
84       name: "aaf-hello"
85       port: 8130
86   config:
87     ssl: "none"
88
89 # Configure resource requests and limits
90 resources:
91   small:
92     limits:
93       cpu: 200m
94       memory: 500Mi
95     requests:
96       cpu: 10m
97       memory: 200Mi
98   large:
99     limits:
100       cpu: 400m
101       memory: 1Gi
102     requests:
103       cpu: 20m
104       memory: 500Mi
105   unlimited: {}