Run SDC pods as non-root
[oom.git] / kubernetes / sdc / charts / sdc-fe / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications Copyright © 2018 AT&T, ZTE
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 #################################################################
17 # Global configuration defaults.
18 #################################################################
19 global:
20   nodePortPrefix: 302
21   readinessRepository: oomk8s
22   readinessImage: readiness-check:2.0.2
23   loggingRepository: docker.elastic.co
24   loggingImage: beats/filebeat:5.5.0
25
26 #################################################################
27 # Application configuration defaults.
28 #################################################################
29 # application image
30 repository: nexus3.onap.org:10001
31 image: onap/sdc-frontend:1.6.3
32 pullPolicy: Always
33
34 config:
35   javaOptions: "-Xmx256m -Xms256m"
36   plugins:
37     dcae_discovery_url: "https://sdc-dcae-fe:9444/dcaed/#/home"
38     dcae_source_url: "https://sdc.dcae.plugin.simpledemo.onap.org:30264/dcaed/#/home"
39     dcae_dt_discovery_url: "https://sdc-dcae-dt:9446/dcae/#/dcae/home"
40     dcae_dt_source_url: "https://sdc.dcae.plugin.simpledemo.onap.org:30266/dcae/#/dcae/home"
41     workflow_discovery_url: "https://sdc-wfd-fe:8443/workflows"
42     workflow_source_url: "https://sdc.workflow.plugin.simpledemo.onap.org:30256/workflows/"
43
44 # default number of instances
45 replicaCount: 1
46
47 nodeSelector: {}
48
49 affinity: {}
50
51 # probe configuration parameters
52 liveness:
53   initialDelaySeconds: 10
54   periodSeconds: 60
55   timeoutSeconds: 15
56   # necessary to disable liveness probe when setting breakpoints
57   # in debugger so K8s doesn't restart unresponsive container
58   enabled: true
59
60 readiness:
61   initialDelaySeconds: 10
62   periodSeconds: 60
63   timeoutSeconds: 15
64
65 service:
66   #Example service definition with external, internal and node ports.
67   #Services may use any combination of ports depending on the 'type' of
68   #service being defined.
69   type: NodePort
70   name: sdc-fe
71   portName: sdc-fe
72   nodePort: "06"
73   internalPort: 8181
74   externalPort: 8181
75   nodePort2: "07"
76   internalPort2: 9443
77   externalPort2: 9443
78
79
80
81 ingress:
82   enabled: false
83   service:
84     - baseaddr: "sdcfe"
85       name: "sdc-fe"
86       port: 9443
87   config:
88     ssl: "redirect"
89
90 # Resource Limit flavor -By Default using small
91 flavor: small
92 # Segregation for Different environment (Small and Large)
93 resources:
94   small:
95     limits:
96       cpu: 1
97       memory: 4Gi
98     requests:
99       cpu: 10m
100       memory: 1Gi
101   large:
102     limits:
103       cpu: 2
104       memory: 8Gi
105     requests:
106       cpu: 20m
107       memory: 2Gi
108   unlimited: {}