Run SDC pods as non-root
[oom.git] / kubernetes / sdc / charts / sdc-wfd-be / 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/workflow-backend:1.6.2
32 configInitImage: onap/workflow-init:1.6.2
33 pullPolicy: Always
34
35 initJob:
36   enabled: true
37
38 config:
39   javaOptions: "-Xmx1536m -Xms1536m"
40   cassandraAuthenticationEnabled: true
41   cassandraClientPort: 9042
42
43   sdcProtocol: HTTPS
44   sdcEndpoint: sdc-be:8443
45   sdcExternalUser: workflow
46
47   serverSSLEnabled: true
48
49   serverSSLKeyStoreType: jks
50   serverSSLKeyStorePath: /home/sdc/etc/keystore
51
52   serverSSLTrustStoreType: jks
53   serverSSLTrustStorePath: /home/sdc/etc/truststore
54
55   cassandraSSLEnabled: false
56   cassandraTrustStorePath: /home/sdc/etc/truststore
57
58 # default number of instances
59 replicaCount: 1
60
61 nodeSelector: {}
62
63 affinity: {}
64
65 # probe configuration parameters
66 liveness:
67   initialDelaySeconds: 60
68   periodSeconds: 10
69   # necessary to disable liveness probe when setting breakpoints
70   # in debugger so K8s doesn't restart unresponsive container
71   enabled: true
72
73 readiness:
74   initialDelaySeconds: 60
75   periodSeconds: 10
76
77 service:
78   type: NodePort
79   portName: sdc-wfd-be
80   internalPort: 8080
81   externalPort: 8080
82   internalPort2: 8443
83   externalPort2: 8443
84   nodePort: "57" # only one node port. set to http or https port depending on isHttpsEnabled property
85
86
87 ingress:
88   enabled: false
89   service:
90     - baseaddr: "sdcwfdbe"
91       name: "sdc-wfd-be"
92       port: 8443
93   config:
94     ssl: "redirect"
95     
96 resources: {}
97   # We usually recommend not to specify default resources and to leave this as a conscious
98   # choice for the user. This also increases chances charts run on environments with little
99   # resources, such as Minikube. If you do want to specify resources, uncomment the following
100   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
101   #
102   # Example:
103   # Configure resource requests and limits
104   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
105   # Minimum memory for development is 2 CPU cores and 4GB memory
106   # Minimum memory for production is 4 CPU cores and 8GB memory
107 #resources:
108 #  limits:
109 #    cpu: 2
110 #    memory: 4Gi
111 #  requests:
112 #    cpu: 2
113 #    memory: 4Gi