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