Support HTTPS and SSL Cassandra in workflow
[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.0
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.4.0-SNAPSHOT
32 configInitImage: onap/workflow-init:1.4.0-SNAPSHOT
33 pullPolicy: Always
34
35 # flag to enable debugging - application support required
36 debugEnabled: false
37
38 initJob:
39   enabled: true
40
41 config:
42   javaOptions: "-Xdebug -agentlib:jdwp=transport=dt_socket,address=7001,server=y,suspend=n -Xmx1536m -Xms1536m"
43   cassandraAuthenticationEnabled: true
44   cassandraHosts: sdc-cs
45   cassandraThriftClientPort: 9160
46   cassandraClientPort: 9042
47   sdcProtocol: HTTP
48   sdcEndpoint: sdc-be:8080
49   sdcExternalUser: workflow
50   sdcExternalUserPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
51   serverSSLEnabled: false
52   serverSSLKeyStoreType: jks
53   serverSSLKeyStorePath: /config/server-https-keystore/keystore
54   serverSSLKeyPassword: password
55   cassandraSSLEnabled: false
56   cassandraTrustStorePath: /config/cassandra-client-truststore/truststore
57   cassandraTrustStorePassword: password
58
59 # default number of instances
60 replicaCount: 1
61
62 nodeSelector: {}
63
64 affinity: {}
65
66 # probe configuration parameters
67 liveness:
68   initialDelaySeconds: 60
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
74 readiness:
75   initialDelaySeconds: 60
76   periodSeconds: 10
77
78 service:
79   type: NodePort
80   internalPort: 8080
81   externalPort: 8080
82   internalPort2: 8443
83   externalPort2: 8443
84   portName: sdc-wfd-be
85   nodePort: "57"
86
87 ingress:
88   enabled: false
89
90 resources: {}
91   # We usually recommend not to specify default resources and to leave this as a conscious
92   # choice for the user. This also increases chances charts run on environments with little
93   # resources, such as Minikube. If you do want to specify resources, uncomment the following
94   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
95   #
96   # Example:
97   # Configure resource requests and limits
98   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
99   # Minimum memory for development is 2 CPU cores and 4GB memory
100   # Minimum memory for production is 4 CPU cores and 8GB memory
101 #resources:
102 #  limits:
103 #    cpu: 2
104 #    memory: 4Gi
105 #  requests:
106 #    cpu: 2
107 #    memory: 4Gi