Merge "[DCAEMOD] Uses new tpls for repos / images"
[oom.git] / kubernetes / sdc / components / sdc-wfd-fe / values.yaml
1 # Copyright © 2018 Amdocs, Bell Canada
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #       http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 #################################################################
16 # Global configuration defaults.
17 #################################################################
18 global:
19   nodePortPrefix: 302
20   nodePortPrefixExt: 304
21   aafEnabled: true
22
23 #################################################################
24 # AAF Part
25 #################################################################
26 certInitializer:
27   nameOverride: sdc-wfd-fe-cert-init
28   aafDeployFqi: deployer@people.osaaf.org
29   aafDeployPass: demo123456!
30   fqdn: sdc
31   fqi: sdc@sdc.onap.org
32   public_fqdn: sdc.onap.org
33   cadi_longitude: "0.0"
34   cadi_latitude: "0.0"
35   app_ns: org.osaaf.aaf
36   credsPath: /opt/app/osaaf/local
37   addconfig: true
38   keystoreFile: "org.onap.sdc.p12"
39   truststoreFile: "org.onap.sdc.trust.jks"
40   permission_user: 352070
41   permission_group: 35953
42   aaf_add_config: >
43     /opt/app/aaf_config/bin/agent.sh local showpass
44     {{.Values.fqi}} {{ .Values.fqdn }} > {{ .Values.credsPath }}/mycreds.prop
45
46 #################################################################
47 # Application configuration defaults.
48 #################################################################
49 # application image
50 image: onap/sdc-workflow-frontend:1.7.0
51 pullPolicy: Always
52
53 # flag to enable debugging - application support required
54 debugEnabled: false
55
56 config:
57   javaOptions: "-Xmx256m -Xms256m"
58   backendServerURL: "https://sdc-wfd-be:8443"
59   isHttpsEnabled: true
60   # following flag decides whether to check the certificate on the outgoing proxy request or whether to trust all parties
61   isTrustAll: true
62 # https relevant settings. Change in case you have other trust files then default ones.
63
64 #environment file
65 env:
66   name: AUTO
67
68 security:
69   isDefaultStore: false
70
71 # default number of instances
72 replicaCount: 1
73
74 nodeSelector: {}
75
76 affinity: {}
77
78 # probe configuration parameters
79 liveness:
80   initialDelaySeconds: 60
81   periodSeconds: 10
82   # necessary to disable liveness probe when setting breakpoints
83   # in debugger so K8s doesn't restart unresponsive container
84   enabled: true
85
86 readiness:
87   initialDelaySeconds: 60
88   periodSeconds: 10
89
90 service:
91   type: NodePort
92   internalPort: 8080
93   externalPort: 8080
94   internalPort2: 8443
95   externalPort2: 8443
96   portName: sdc-wfd-fe
97   nodePort: "56" # only one node port. set to http or https port depending on isHttpsEnabled property
98
99 ingress:
100   enabled: false
101   service:
102     - baseaddr: "sdcwfdfe"
103       name: "sdc-wfd-fe"
104       port: 8443
105   annotations:
106     ingress.kubernetes.io/secure-backends: "false"
107     nginx.ingress.kubernetes.io/secure-backends: "false"
108     nginx.ingress.kubernetes.io/proxy-body-size: "0"
109     nginx.ingress.kubernetes.io/ssl-redirect: "true"
110     nginx.ingress.kubernetes.io/backend-protocol: "HTTP"
111     nginx.ingress.kubernetes.io/rewrite-target: "/workflows/"
112
113 # Resource Limit flavor -By Default using small
114 # Segregation for Different environment (Small and Large)
115 flavor: small
116 resources:
117   small:
118     limits:
119       cpu: 500m
120       memory: 2Gi
121     requests:
122       cpu: 40m
123       memory: 1Gi
124   large:
125     limits:
126       cpu: 1
127       memory: 4Gi
128     requests:
129       cpu: 80m
130       memory: 2Gi
131   unlimited: {}