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: {} |
osgn422w | 7981445 | 2020-09-25 02:28:02 +0200 | [diff] [blame] | 23 | centralizedLoggingEnabled: true |
| 24 | #AAF service |
| 25 | aafEnabled: true |
| 26 | |
| 27 | ################################################################# |
| 28 | # AAF part |
| 29 | ################################################################# |
| 30 | certInitializer: |
| 31 | permission_user: 1000 |
| 32 | permission_group: 999 |
| 33 | addconfig: true |
| 34 | keystoreFile: "org.onap.clamp.p12" |
| 35 | truststoreFile: "org.onap.clamp.trust.jks" |
| 36 | keyFile: "org.onap.clamp.keyfile" |
| 37 | truststoreFileONAP: "truststoreONAPall.jks" |
| 38 | clamp_key: "org.onap.clamp.crt.key" |
| 39 | clamp_pem: "org.onap.clamp.key.pem" |
| 40 | clamp_ca_certs_pem: "clamp-ca-certs.pem" |
| 41 | nameOverride: clamp-es-cert-initializer |
| 42 | aafDeployFqi: deployer@people.osaaf.org |
| 43 | aafDeployPass: demo123456! |
| 44 | # aafDeployCredsExternalSecret: some secret |
| 45 | fqdn: clamp |
| 46 | fqi: clamp@clamp.onap.org |
| 47 | public_fqdn: clamp.onap.org |
| 48 | cadi_longitude: "0.0" |
| 49 | cadi_latitude: "0.0" |
| 50 | app_ns: org.osaaf.aaf |
| 51 | credsPath: /opt/app/osaaf/local |
| 52 | aaf_add_config: > |
| 53 | /opt/app/aaf_config/bin/agent.sh local showpass {{.Values.fqi}} {{ .Values.fqdn }} > {{ .Values.credsPath }}/mycreds.prop; |
| 54 | export $(/opt/app/aaf_config/bin/agent.sh local showpass | grep '^c' | xargs -0); |
| 55 | cd {{ .Values.credsPath }}; |
| 56 | openssl pkcs12 -in {{ .Values.keystoreFile }} -nocerts -nodes -passin pass:$cadi_keystore_password_p12 > {{ .Values.clamp_key }}; |
| 57 | openssl pkcs12 -in {{ .Values.keystoreFile }} -clcerts -nokeys -passin pass:$cadi_keystore_password_p12 > {{ .Values.clamp_pem }}; |
| 58 | openssl pkcs12 -in {{ .Values.keystoreFile }} -cacerts -nokeys -chain -passin pass:$cadi_keystore_password_p12 > {{ .Values.clamp_ca_certs_pem }}; |
| 59 | chmod a+rx *; |
| 60 | |
Sylvain Desbureaux | 45fba76 | 2018-11-23 11:35:46 +0100 | [diff] [blame] | 61 | flavor: small |
ac2550 | 8ac9717 | 2018-04-18 14:23:17 +0200 | [diff] [blame] | 62 | |
| 63 | ################################################################# |
| 64 | # Application configuration defaults. |
| 65 | ################################################################# |
| 66 | |
| 67 | # BusyBox image |
| 68 | busyboxRepository: registry.hub.docker.com |
| 69 | busyboxImage: library/busybox:latest |
| 70 | |
| 71 | # application image |
osgn422w | 6e663e4 | 2019-08-02 11:31:11 +0200 | [diff] [blame] | 72 | repository: nexus3.onap.org:10001 |
osgn422w | 87d267d | 2020-09-26 11:38:01 +0200 | [diff] [blame] | 73 | image: onap/clamp-dashboard-elasticsearch:5.0.4 |
ac2550 | 07f4696 | 2018-05-17 11:33:00 +0200 | [diff] [blame] | 74 | pullPolicy: Always |
ac2550 | 8ac9717 | 2018-04-18 14:23:17 +0200 | [diff] [blame] | 75 | |
| 76 | # flag to enable debugging - application support required |
| 77 | debugEnabled: false |
| 78 | |
| 79 | # application configuration |
| 80 | # Example: |
| 81 | config: {} |
| 82 | |
| 83 | # default number of instances |
| 84 | replicaCount: 1 |
| 85 | |
| 86 | nodeSelector: {} |
| 87 | |
| 88 | affinity: {} |
| 89 | |
| 90 | # probe configuration parameters |
| 91 | liveness: |
osgn422w | b561a59 | 2020-02-11 15:50:21 +0100 | [diff] [blame] | 92 | initialDelaySeconds: 180 |
| 93 | periodSeconds: 30 |
| 94 | timeoutSeconds: 5 |
ac2550 | 8ac9717 | 2018-04-18 14:23:17 +0200 | [diff] [blame] | 95 | # necessary to disable liveness probe when setting breakpoints |
| 96 | # in debugger so K8s doesn't restart unresponsive container |
| 97 | enabled: true |
| 98 | |
| 99 | readiness: |
osgn422w | b561a59 | 2020-02-11 15:50:21 +0100 | [diff] [blame] | 100 | initialDelaySeconds: 180 |
| 101 | periodSeconds: 30 |
| 102 | timeoutSeconds: 5 |
ac2550 | 8ac9717 | 2018-04-18 14:23:17 +0200 | [diff] [blame] | 103 | |
| 104 | ## Persist data to a persitent volume |
| 105 | persistence: |
| 106 | enabled: true |
| 107 | |
| 108 | ## A manually managed Persistent Volume and Claim |
| 109 | ## Requires persistence.enabled: true |
| 110 | ## If defined, PVC must be created manually before volume will be bound |
| 111 | # existingClaim: |
| 112 | volumeReclaimPolicy: Retain |
| 113 | |
| 114 | ## database data Persistent Volume Storage Class |
| 115 | ## If defined, storageClassName: <storageClass> |
| 116 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 117 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 118 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 119 | ## GKE, AWS & OpenStack) |
Sylvain Desbureaux | 26b406c | 2019-08-29 17:18:32 +0200 | [diff] [blame] | 120 | accessMode: ReadWriteOnce |
ac2550 | 8ac9717 | 2018-04-18 14:23:17 +0200 | [diff] [blame] | 121 | size: 4Gi |
| 122 | mountPath: /dockerdata-nfs |
| 123 | mountSubPath: clamp/dashboard-elasticsearch/data |
BorislavG | ca4ccd6 | 2018-05-16 11:30:25 +0000 | [diff] [blame] | 124 | mountSubPathLogs: clamp |
ac2550 | 8ac9717 | 2018-04-18 14:23:17 +0200 | [diff] [blame] | 125 | |
osgn422w | b561a59 | 2020-02-11 15:50:21 +0100 | [diff] [blame] | 126 | security: |
| 127 | ssl: |
| 128 | enabled: true |
| 129 | |
ac2550 | 8ac9717 | 2018-04-18 14:23:17 +0200 | [diff] [blame] | 130 | service: |
| 131 | type: ClusterIP |
| 132 | name: cdash-es |
| 133 | portName: cdash-es-rest |
| 134 | externalPort: 9200 |
| 135 | internalPort: 9200 |
| 136 | type2: ClusterIP |
| 137 | portName2: cdash-es-tcp |
| 138 | externalPort2: 9300 |
| 139 | internalPort2: 9300 |
| 140 | |
| 141 | ingress: |
| 142 | enabled: false |
| 143 | |
Determe, Sebastien (sd378r) | d600a8d | 2018-06-01 11:27:49 +0200 | [diff] [blame] | 144 | #resources: {} |
ac2550 | 8ac9717 | 2018-04-18 14:23:17 +0200 | [diff] [blame] | 145 | # We usually recommend not to specify default resources and to leave this as a conscious |
| 146 | # choice for the user. This also increases chances charts run on environments with little |
| 147 | # resources, such as Minikube. If you do want to specify resources, uncomment the following |
| 148 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
| 149 | # |
| 150 | # Example: |
| 151 | # Configure resource requests and limits |
| 152 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
| 153 | # Minimum memory for development is 2 CPU cores and 4GB memory |
| 154 | # Minimum memory for production is 4 CPU cores and 8GB memory |
Determe, Sebastien (sd378r) | d600a8d | 2018-06-01 11:27:49 +0200 | [diff] [blame] | 155 | resources: |
Sylvain Desbureaux | 45fba76 | 2018-11-23 11:35:46 +0100 | [diff] [blame] | 156 | small: |
| 157 | limits: |
| 158 | cpu: 1 |
| 159 | memory: 4Gi |
| 160 | requests: |
| 161 | cpu: 10m |
| 162 | memory: 2.5Gi |
| 163 | large: |
| 164 | limits: |
| 165 | cpu: 1 |
| 166 | memory: 4Gi |
| 167 | requests: |
| 168 | cpu: 10m |
| 169 | memory: 2.5Gi |
| 170 | unlimited: {} |