vaibhav_16dec | e04b2fe | 2018-03-22 09:07:12 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
Mukul | 2b4e753 | 2018-08-03 10:41:29 +0000 | [diff] [blame] | 2 | # Modifications Copyright © 2018 AT&T |
vaibhav_16dec | e04b2fe | 2018-03-22 09:07:12 +0000 | [diff] [blame] | 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. |
jasmineWen | 09bc80d | 2018-03-21 18:21:17 +0000 | [diff] [blame] | 15 | ################################################################# |
| 16 | # Global configuration defaults. |
| 17 | ################################################################# |
| 18 | global: |
| 19 | nodePortPrefix: 302 |
Krzysztof Opasiak | 217acfd | 2020-11-25 16:54:36 +0100 | [diff] [blame^] | 20 | busyboxRepository: registry.hub.docker.com |
| 21 | busyboxImage: library/busybox:latest |
vaibhav_16dec | e04b2fe | 2018-03-22 09:07:12 +0000 | [diff] [blame] | 22 | |
jasmineWen | 09bc80d | 2018-03-21 18:21:17 +0000 | [diff] [blame] | 23 | ################################################################# |
| 24 | # Application configuration defaults. |
| 25 | ################################################################# |
| 26 | # application image |
Krzysztof Opasiak | 217acfd | 2020-11-25 16:54:36 +0100 | [diff] [blame^] | 27 | image: onap/oom/consul:2.1.0 |
jasmineWen | 09bc80d | 2018-03-21 18:21:17 +0000 | [diff] [blame] | 28 | pullPolicy: Always |
| 29 | |
| 30 | #subchart name |
BorislavG | 9a637a9 | 2018-04-12 13:57:58 +0000 | [diff] [blame] | 31 | consulServer: |
jasmineWen | 09bc80d | 2018-03-21 18:21:17 +0000 | [diff] [blame] | 32 | nameOverride: consul-server |
| 33 | |
Krzysztof Opasiak | 217acfd | 2020-11-25 16:54:36 +0100 | [diff] [blame^] | 34 | consulUID: 100 |
| 35 | consulGID: 1000 |
| 36 | |
jasmineWen | 09bc80d | 2018-03-21 18:21:17 +0000 | [diff] [blame] | 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: |
Mike Elliott | 0440a32 | 2018-04-25 14:24:51 -0400 | [diff] [blame] | 49 | initialDelaySeconds: 90 |
jasmineWen | 09bc80d | 2018-03-21 18:21:17 +0000 | [diff] [blame] | 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: |
Mike Elliott | 0440a32 | 2018-04-25 14:24:51 -0400 | [diff] [blame] | 56 | initialDelaySeconds: 90 |
jasmineWen | 09bc80d | 2018-03-21 18:21:17 +0000 | [diff] [blame] | 57 | periodSeconds: 10 |
| 58 | |
| 59 | service: {} |
| 60 | |
| 61 | ingress: |
| 62 | enabled: false |
Lucjan Bryndza | ac24270 | 2019-12-02 15:49:47 +0100 | [diff] [blame] | 63 | service: |
Lucjan Bryndza | 0564965 | 2020-04-29 08:52:33 +0000 | [diff] [blame] | 64 | - baseaddr: "consul.api" |
Lucjan Bryndza | ac24270 | 2019-12-02 15:49:47 +0100 | [diff] [blame] | 65 | name: "consul-server" |
| 66 | port: 8800 |
| 67 | config: |
| 68 | ssl: "none" |
Sylvain Desbureaux | 5e16401 | 2020-09-23 13:35:31 +0200 | [diff] [blame] | 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: {} |
Mohammadreza Pasandideh | b642ee5 | 2018-06-19 15:19:53 -0400 | [diff] [blame] | 97 | |
| 98 | odl: |
| 99 | jolokia: |
| 100 | username: admin |
| 101 | password: admin |
| 102 | |
| 103 | sdnc: |
| 104 | config: |
| 105 | isPrimaryCluster: true |
| 106 | replicaCount: 1 |
Krzysztof Opasiak | 217acfd | 2020-11-25 16:54:36 +0100 | [diff] [blame^] | 107 | |
| 108 | securityContext: |
| 109 | fsGroup: 1000 |
| 110 | runAsUser: 100 |
| 111 | runAsGroup: 1000 |