Merge "[POLICY] Uses new tpls for repos / images"
[oom.git] / kubernetes / consul / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications Copyright © 2018 AT&T
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 # Global configuration defaults.
17 #################################################################
18 global:
19   nodePortPrefix: 302
20   busyboxRepository: registry.hub.docker.com
21   busyboxImage: library/busybox:latest
22
23 #################################################################
24 # Application configuration defaults.
25 #################################################################
26 # application image
27 image: onap/oom/consul:2.1.0
28 pullPolicy: Always
29
30 #subchart name
31 consulServer:
32   nameOverride: consul-server
33
34 consulUID: 100
35 consulGID: 1000
36
37 # flag to enable debugging - application support required
38 debugEnabled: false
39
40 # default number of instances
41 replicaCount: 1
42
43 nodeSelector: {}
44
45 affinity: {}
46
47 # probe configuration parameters
48 liveness:
49   initialDelaySeconds: 90
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: 90
57   periodSeconds: 10
58
59 service: {}
60
61 ingress:
62   enabled: false
63   service:
64     - baseaddr: "consul.api"
65       name: "consul-server"
66       port: 8800
67   config:
68     ssl: "none"
69
70 #resources: {}
71   # We usually recommend not to specify default resources and to leave this as a conscious
72   # choice for the user. This also increases chances charts run on environments with little
73   # resources, such as Minikube. If you do want to specify resources, uncomment the following
74   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
75   #
76   # Example:
77   # Configure resource requests and limits
78   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
79   # Minimum memory for development is 2 CPU cores and 4GB memory
80   # Minimum memory for production is 4 CPU cores and 8GB memory
81 resources:
82   small:
83     limits:
84       cpu: 1
85       memory: 1500Mi
86     requests:
87       cpu: 650m
88       memory: 530Mi
89   large:
90     limits:
91       cpu: 2
92       memory: 4Gi
93     requests:
94       cpu: 1
95       memory: 2Gi
96   unlimited: {}
97
98 odl:
99   jolokia:
100     username: admin
101     password: admin
102
103 sdnc:
104   config:
105     isPrimaryCluster: true
106   replicaCount: 1
107
108 securityContext:
109   fsGroup: 1000
110   runAsUser: 100
111   runAsGroup: 1000