[CONSUL] Make consul run as non-root
[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   readinessImage: onap/oom/readiness:3.0.1
21   loggingRepository: docker.elastic.co
22   loggingImage: beats/filebeat:5.5.0
23   busyboxRepository: registry.hub.docker.com
24   busyboxImage: library/busybox:latest
25
26 #################################################################
27 # Application configuration defaults.
28 #################################################################
29 # application image
30 repository: docker.io
31 image: oomk8s/consul:2.0.0
32 pullPolicy: Always
33
34 #subchart name
35 consulServer:
36   nameOverride: consul-server
37
38 consulUID: 100
39 consulGID: 1000
40
41 # flag to enable debugging - application support required
42 debugEnabled: false
43
44 # default number of instances
45 replicaCount: 1
46
47 nodeSelector: {}
48
49 affinity: {}
50
51 # probe configuration parameters
52 liveness:
53   initialDelaySeconds: 90
54   periodSeconds: 10
55   # necessary to disable liveness probe when setting breakpoints
56   # in debugger so K8s doesn't restart unresponsive container
57   enabled: true
58
59 readiness:
60   initialDelaySeconds: 90
61   periodSeconds: 10
62
63 service: {}
64
65 ingress:
66   enabled: false
67   service:
68     - baseaddr: "consul.api"
69       name: "consul-server"
70       port: 8800
71   config:
72     ssl: "none"
73
74 #resources: {}
75   # We usually recommend not to specify default resources and to leave this as a conscious
76   # choice for the user. This also increases chances charts run on environments with little
77   # resources, such as Minikube. If you do want to specify resources, uncomment the following
78   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
79   #
80   # Example:
81   # Configure resource requests and limits
82   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
83   # Minimum memory for development is 2 CPU cores and 4GB memory
84   # Minimum memory for production is 4 CPU cores and 8GB memory
85 resources:
86   small:
87     limits:
88       cpu: 1
89       memory: 1500Mi
90     requests:
91       cpu: 650m
92       memory: 530Mi
93   large:
94     limits:
95       cpu: 2
96       memory: 4Gi
97     requests:
98       cpu: 1
99       memory: 2Gi
100   unlimited: {}
101
102 odl:
103   jolokia:
104     username: admin
105     password: admin
106
107 sdnc:
108   config:
109     isPrimaryCluster: true
110   replicaCount: 1