osgn422w | b561a59 | 2020-02-11 15:50:21 +0100 | [diff] [blame] | 1 | # Copyright © 2020 Amdocs, Bell Canada |
Mukul | 379e252 | 2018-09-05 12:26:02 +0000 | [diff] [blame] | 2 | # Modifications Copyright © 2018 AT&T |
ac2550 | 8ac9717 | 2018-04-18 14:23:17 +0200 | [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. |
ac2550 | 8ac9717 | 2018-04-18 14:23:17 +0200 | [diff] [blame] | 15 | |
| 16 | ################################################################# |
| 17 | # Global configuration defaults. |
| 18 | ################################################################# |
| 19 | global: |
| 20 | nodePortPrefix: 302 |
| 21 | repositorySecret: eyJuZXh1czMub25hcC5vcmc6MTAwMDEiOnsidXNlcm5hbWUiOiJkb2NrZXIiLCJwYXNzd29yZCI6ImRvY2tlciIsImVtYWlsIjoiQCIsImF1dGgiOiJaRzlqYTJWeU9tUnZZMnRsY2c9PSJ9fQ== |
| 22 | persistence: {} |
Sylvain Desbureaux | 45fba76 | 2018-11-23 11:35:46 +0100 | [diff] [blame] | 23 | flavor: small |
ac2550 | 8ac9717 | 2018-04-18 14:23:17 +0200 | [diff] [blame] | 24 | |
| 25 | ################################################################# |
| 26 | # Application configuration defaults. |
| 27 | ################################################################# |
| 28 | |
| 29 | # BusyBox image |
| 30 | busyboxRepository: registry.hub.docker.com |
| 31 | busyboxImage: library/busybox:latest |
| 32 | |
| 33 | # application image |
osgn422w | 6e663e4 | 2019-08-02 11:31:11 +0200 | [diff] [blame] | 34 | repository: nexus3.onap.org:10001 |
osgn422w | b561a59 | 2020-02-11 15:50:21 +0100 | [diff] [blame] | 35 | image: onap/clamp-dashboard-elasticsearch:5.0.2 |
ac2550 | 07f4696 | 2018-05-17 11:33:00 +0200 | [diff] [blame] | 36 | pullPolicy: Always |
ac2550 | 8ac9717 | 2018-04-18 14:23:17 +0200 | [diff] [blame] | 37 | |
| 38 | # flag to enable debugging - application support required |
| 39 | debugEnabled: false |
| 40 | |
| 41 | # application configuration |
| 42 | # Example: |
| 43 | config: {} |
| 44 | |
| 45 | # default number of instances |
| 46 | replicaCount: 1 |
| 47 | |
| 48 | nodeSelector: {} |
| 49 | |
| 50 | affinity: {} |
| 51 | |
| 52 | # probe configuration parameters |
| 53 | liveness: |
osgn422w | b561a59 | 2020-02-11 15:50:21 +0100 | [diff] [blame] | 54 | initialDelaySeconds: 180 |
| 55 | periodSeconds: 30 |
| 56 | timeoutSeconds: 5 |
ac2550 | 8ac9717 | 2018-04-18 14:23:17 +0200 | [diff] [blame] | 57 | # necessary to disable liveness probe when setting breakpoints |
| 58 | # in debugger so K8s doesn't restart unresponsive container |
| 59 | enabled: true |
| 60 | |
| 61 | readiness: |
osgn422w | b561a59 | 2020-02-11 15:50:21 +0100 | [diff] [blame] | 62 | initialDelaySeconds: 180 |
| 63 | periodSeconds: 30 |
| 64 | timeoutSeconds: 5 |
ac2550 | 8ac9717 | 2018-04-18 14:23:17 +0200 | [diff] [blame] | 65 | |
| 66 | ## Persist data to a persitent volume |
| 67 | persistence: |
| 68 | enabled: true |
| 69 | |
| 70 | ## A manually managed Persistent Volume and Claim |
| 71 | ## Requires persistence.enabled: true |
| 72 | ## If defined, PVC must be created manually before volume will be bound |
| 73 | # existingClaim: |
| 74 | volumeReclaimPolicy: Retain |
| 75 | |
| 76 | ## database data Persistent Volume Storage Class |
| 77 | ## If defined, storageClassName: <storageClass> |
| 78 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 79 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 80 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 81 | ## GKE, AWS & OpenStack) |
Sylvain Desbureaux | 26b406c | 2019-08-29 17:18:32 +0200 | [diff] [blame] | 82 | accessMode: ReadWriteOnce |
ac2550 | 8ac9717 | 2018-04-18 14:23:17 +0200 | [diff] [blame] | 83 | size: 4Gi |
| 84 | mountPath: /dockerdata-nfs |
| 85 | mountSubPath: clamp/dashboard-elasticsearch/data |
BorislavG | ca4ccd6 | 2018-05-16 11:30:25 +0000 | [diff] [blame] | 86 | mountSubPathLogs: clamp |
ac2550 | 8ac9717 | 2018-04-18 14:23:17 +0200 | [diff] [blame] | 87 | |
osgn422w | b561a59 | 2020-02-11 15:50:21 +0100 | [diff] [blame] | 88 | security: |
| 89 | ssl: |
| 90 | enabled: true |
| 91 | |
ac2550 | 8ac9717 | 2018-04-18 14:23:17 +0200 | [diff] [blame] | 92 | service: |
| 93 | type: ClusterIP |
| 94 | name: cdash-es |
| 95 | portName: cdash-es-rest |
| 96 | externalPort: 9200 |
| 97 | internalPort: 9200 |
| 98 | type2: ClusterIP |
| 99 | portName2: cdash-es-tcp |
| 100 | externalPort2: 9300 |
| 101 | internalPort2: 9300 |
| 102 | |
| 103 | ingress: |
| 104 | enabled: false |
| 105 | |
Determe, Sebastien (sd378r) | d600a8d | 2018-06-01 11:27:49 +0200 | [diff] [blame] | 106 | #resources: {} |
ac2550 | 8ac9717 | 2018-04-18 14:23:17 +0200 | [diff] [blame] | 107 | # We usually recommend not to specify default resources and to leave this as a conscious |
| 108 | # choice for the user. This also increases chances charts run on environments with little |
| 109 | # resources, such as Minikube. If you do want to specify resources, uncomment the following |
| 110 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
| 111 | # |
| 112 | # Example: |
| 113 | # Configure resource requests and limits |
| 114 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
| 115 | # Minimum memory for development is 2 CPU cores and 4GB memory |
| 116 | # Minimum memory for production is 4 CPU cores and 8GB memory |
Determe, Sebastien (sd378r) | d600a8d | 2018-06-01 11:27:49 +0200 | [diff] [blame] | 117 | resources: |
Sylvain Desbureaux | 45fba76 | 2018-11-23 11:35:46 +0100 | [diff] [blame] | 118 | small: |
| 119 | limits: |
| 120 | cpu: 1 |
| 121 | memory: 4Gi |
| 122 | requests: |
| 123 | cpu: 10m |
| 124 | memory: 2.5Gi |
| 125 | large: |
| 126 | limits: |
| 127 | cpu: 1 |
| 128 | memory: 4Gi |
| 129 | requests: |
| 130 | cpu: 10m |
| 131 | memory: 2.5Gi |
| 132 | unlimited: {} |