Merge "[UUI] Service Mesh Compliance for UUI"
[oom.git] / kubernetes / msb / components / msb-consul / values.yaml
1 # Copyright © 2018 Amdocs, Bell Canada , ZTE
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 # Global configuration defaults.
16 #################################################################
17 global:
18   nodePortPrefix: 302
19
20 #################################################################
21 # Application configuration defaults.
22 #################################################################
23 # application image
24 image: library/consul:1.4.3
25 pullPolicy: Always
26 istioSidecar: true
27
28 # application configuration
29 config: {}
30
31 # default number of instances
32 replicaCount: 1
33
34 nodeSelector: {}
35
36 affinity: {}
37
38 # probe configuration parameters
39 liveness:
40   initialDelaySeconds: 10
41   periodSeconds: 10
42   # necessary to disable liveness probe when setting breakpoints
43   # in debugger so K8s doesn't restart unresponsive container
44   enabled: true
45
46 readiness:
47   initialDelaySeconds: 10
48   periodSeconds: 10
49
50 service:
51   type: ClusterIP
52   name: msb-consul
53   externalPort: 8500
54   internalPort: 8500
55   nodePort: 85
56
57 ingress:
58   enabled: false
59   service:
60     - baseaddr: "msb-consul-api"
61       name: "msb-consul"
62       port: 8500
63   config:
64     ssl: "none"
65
66 flavor: small
67
68 # Configure resource requests and limits
69 resources:
70   small:
71     limits:
72       cpu: 20m
73       memory: 100Mi
74     requests:
75       cpu: 10m
76       memory: 50Mi
77   large:
78     limits:
79       cpu: 40m
80       memory: 200Mi
81     requests:
82       cpu: 20m
83       memory: 100Mi
84   unlimited: {}
85
86 securityContext:
87   fsGroup: 1000
88   runAsUser: 100
89   runAsGroup: 1000
90
91 #Pods Service Account
92 serviceAccount:
93   nameOverride: msb-consul
94   roles:
95     - read