WF Ingress support for SDC deployment
[oom.git] / kubernetes / sdc / charts / 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   readinessRepository: oomk8s
21   readinessImage: readiness-check:2.0.0
22   loggingRepository: docker.elastic.co
23   loggingImage: beats/filebeat:5.5.0
24
25 #################################################################
26 # Application configuration defaults.
27 #################################################################
28 # application image
29 repository: nexus3.onap.org:10001
30 image: onap/workflow-frontend:1.4.0-SNAPSHOT
31 pullPolicy: Always
32
33 # flag to enable debugging - application support required
34 debugEnabled: false
35
36 config:
37   javaOptions: "-Xdebug -agentlib:jdwp=transport=dt_socket,address=7000,server=y,suspend=n -Xmx256m -Xms256m"
38   backendServerURL: "http://sdc-wfd-be:8080"
39
40 # default number of instances
41 replicaCount: 1
42
43 nodeSelector: {}
44
45 affinity: {}
46
47 # probe configuration parameters
48 liveness:
49   initialDelaySeconds: 60
50   periodSeconds: 10
51   # necessary to disable liveness probe when setting breakpoints
52   # in debugger so K8s doesn't restart unresponsive container
53   enabled: true
54
55 readiness:
56   initialDelaySeconds: 60
57   periodSeconds: 10
58
59 service:
60   type: NodePort
61   internalPort: 8080
62   externalPort: 8080
63   portName: sdc-wfd-fe
64   nodePort: "56"
65
66 ingress:
67   enabled: false
68   annotations:
69     ingress.kubernetes.io/secure-backends: "false"
70     nginx.ingress.kubernetes.io/secure-backends: "false"
71     nginx.ingress.kubernetes.io/proxy-body-size: "0"
72     nginx.ingress.kubernetes.io/ssl-redirect: "true"
73     nginx.ingress.kubernetes.io/backend-protocol: "HTTP"
74     nginx.ingress.kubernetes.io/rewrite-target: /workflows/
75     nginx.ingress.kubernetes.io/server-snippet: |
76       underscores_in_headers on;
77
78 resources: {}
79   # We usually recommend not to specify default resources and to leave this as a conscious
80   # choice for the user. This also increases chances charts run on environments with little
81   # resources, such as Minikube. If you do want to specify resources, uncomment the following
82   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
83   #
84   # Example:
85   # Configure resource requests and limits
86   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
87   # Minimum memory for development is 2 CPU cores and 4GB memory
88   # Minimum memory for production is 4 CPU cores and 8GB memory
89 #resources:
90 #  limits:
91 #    cpu: 2
92 #    memory: 4Gi
93 #  requests:
94 #    cpu: 2
95 #    memory: 4Gi