ac2550 | 8ac9717 | 2018-04-18 14:23:17 +0200 | [diff] [blame] | 1 | # Copyright © 2017 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== |
Sylvain Desbureaux | 1694e1d | 2020-08-21 09:58:25 +0200 | [diff] [blame] | 22 | readinessImage: onap/oom/readiness:3.0.1 |
ac2550 | 8ac9717 | 2018-04-18 14:23:17 +0200 | [diff] [blame] | 23 | persistence: {} |
osgn422w | 7981445 | 2020-09-25 02:28:02 +0200 | [diff] [blame] | 24 | centralizedLoggingEnabled: true |
| 25 | #AAF service |
| 26 | aafEnabled: true |
| 27 | |
| 28 | ################################################################# |
| 29 | # AAF part |
| 30 | ################################################################# |
| 31 | certInitializer: |
| 32 | permission_user: 1000 |
| 33 | permission_group: 999 |
| 34 | addconfig: true |
| 35 | keystoreFile: "org.onap.clamp.p12" |
| 36 | truststoreFile: "org.onap.clamp.trust.jks" |
| 37 | keyFile: "org.onap.clamp.keyfile" |
| 38 | truststoreFileONAP: "truststoreONAPall.jks" |
| 39 | clamp_key: "org.onap.clamp.crt.key" |
| 40 | clamp_pem: "org.onap.clamp.key.pem" |
| 41 | clamp_ca_certs_pem: "clamp-ca-certs.pem" |
| 42 | nameOverride: clamp-kibana-cert-initializer |
| 43 | aafDeployFqi: deployer@people.osaaf.org |
| 44 | aafDeployPass: demo123456! |
| 45 | # aafDeployCredsExternalSecret: some secret |
| 46 | fqdn: clamp |
| 47 | fqi: clamp@clamp.onap.org |
| 48 | public_fqdn: clamp.onap.org |
| 49 | cadi_longitude: "0.0" |
| 50 | cadi_latitude: "0.0" |
| 51 | app_ns: org.osaaf.aaf |
| 52 | credsPath: /opt/app/osaaf/local |
| 53 | aaf_add_config: > |
| 54 | /opt/app/aaf_config/bin/agent.sh local showpass {{.Values.fqi}} {{ .Values.fqdn }} > {{ .Values.credsPath }}/mycreds.prop; |
| 55 | export $(/opt/app/aaf_config/bin/agent.sh local showpass | grep '^c' | xargs -0); |
| 56 | cd {{ .Values.credsPath }}; |
| 57 | openssl pkcs12 -in {{ .Values.keystoreFile }} -nocerts -nodes -passin pass:$cadi_keystore_password_p12 > {{ .Values.clamp_key }}; |
| 58 | openssl pkcs12 -in {{ .Values.keystoreFile }} -clcerts -nokeys -passin pass:$cadi_keystore_password_p12 > {{ .Values.clamp_pem }}; |
| 59 | openssl pkcs12 -in {{ .Values.keystoreFile }} -cacerts -nokeys -chain -passin pass:$cadi_keystore_password_p12 > {{ .Values.clamp_ca_certs_pem }}; |
| 60 | chmod a+rx *; |
| 61 | |
Sylvain Desbureaux | 45fba76 | 2018-11-23 11:35:46 +0100 | [diff] [blame] | 62 | flavor: small |
ac2550 | 8ac9717 | 2018-04-18 14:23:17 +0200 | [diff] [blame] | 63 | |
| 64 | ################################################################# |
| 65 | # Application configuration defaults. |
| 66 | ################################################################# |
| 67 | |
ac2550 | 8ac9717 | 2018-04-18 14:23:17 +0200 | [diff] [blame] | 68 | # BusyBox image |
Sylvain Desbureaux | 23a38b3 | 2020-11-20 08:57:12 +0100 | [diff] [blame] | 69 | busyboxRepository: docker.io |
ac2550 | 8ac9717 | 2018-04-18 14:23:17 +0200 | [diff] [blame] | 70 | busyboxImage: library/busybox:latest |
| 71 | |
| 72 | # application image |
Julien Barbot | ed56cca | 2018-10-22 17:53:07 +0200 | [diff] [blame] | 73 | repository: nexus3.onap.org:10001 |
osgn422w | 87d267d | 2020-09-26 11:38:01 +0200 | [diff] [blame] | 74 | image: onap/clamp-dashboard-kibana:5.0.4 |
ac2550 | 07f4696 | 2018-05-17 11:33:00 +0200 | [diff] [blame] | 75 | pullPolicy: Always |
ac2550 | 8ac9717 | 2018-04-18 14:23:17 +0200 | [diff] [blame] | 76 | |
| 77 | # flag to enable debugging - application support required |
| 78 | debugEnabled: false |
| 79 | |
| 80 | # application configuration |
osgn422w | b561a59 | 2020-02-11 15:50:21 +0100 | [diff] [blame] | 81 | #the 'sslEnabled flag' here below is for the kibana UI connection (web browser connection to kibana) |
ac2550 | 8ac9717 | 2018-04-18 14:23:17 +0200 | [diff] [blame] | 82 | config: |
| 83 | elasticsearchServiceName: cdash-es |
| 84 | elasticsearchPort: 9200 |
osgn422w | 6e663e4 | 2019-08-02 11:31:11 +0200 | [diff] [blame] | 85 | elasticUSR: kibanaserver |
| 86 | elasticPWD: kibanaserver |
osgn422w | 10e3a8b | 2019-05-23 14:19:39 +0200 | [diff] [blame] | 87 | sslEnabled: true |
| 88 | sslPemCertFilePath: /usr/share/kibana/config/keystore/org.onap.clamp.crt.pem |
| 89 | sslPemkeyFilePath: /usr/share/kibana/config/keystore/org.onap.clamp.key.pem |
ac2550 | 8ac9717 | 2018-04-18 14:23:17 +0200 | [diff] [blame] | 90 | |
| 91 | # default number of instances |
| 92 | replicaCount: 1 |
| 93 | |
| 94 | nodeSelector: {} |
| 95 | |
| 96 | affinity: {} |
| 97 | |
| 98 | # probe configuration parameters |
| 99 | liveness: |
| 100 | initialDelaySeconds: 360 |
osgn422w | b561a59 | 2020-02-11 15:50:21 +0100 | [diff] [blame] | 101 | periodSeconds: 30 |
ac2550 | 8ac9717 | 2018-04-18 14:23:17 +0200 | [diff] [blame] | 102 | # necessary to disable liveness probe when setting breakpoints |
| 103 | # in debugger so K8s doesn't restart unresponsive container |
| 104 | enabled: true |
| 105 | |
| 106 | readiness: |
osgn422w | b561a59 | 2020-02-11 15:50:21 +0100 | [diff] [blame] | 107 | initialDelaySeconds: 360 |
| 108 | periodSeconds: 30 |
| 109 | |
| 110 | #internal ssl security scheme for elasticsearch connection mainly |
| 111 | security: |
| 112 | ssl: |
| 113 | enabled: true |
ac2550 | 8ac9717 | 2018-04-18 14:23:17 +0200 | [diff] [blame] | 114 | |
| 115 | service: |
| 116 | #Example service definition with external, internal and node ports. |
| 117 | #Services may use any combination of ports depending on the 'type' of |
| 118 | #service being defined. |
| 119 | type: NodePort |
| 120 | name: cdash-kibana |
| 121 | portName: cdash-kibana-http |
| 122 | externalPort: 5601 |
| 123 | internalPort: 5601 |
| 124 | nodePort: 90 |
| 125 | ingress: |
| 126 | enabled: false |
Sylvain Desbureaux | 0615535 | 2020-05-04 11:50:08 +0200 | [diff] [blame] | 127 | service: |
| 128 | - baseaddr: "cdash-kibana" |
| 129 | name: "cdash-kibana" |
| 130 | port: 5601 |
| 131 | config: |
| 132 | ssl: "redirect" |
ac2550 | 8ac9717 | 2018-04-18 14:23:17 +0200 | [diff] [blame] | 133 | |
Determe, Sebastien (sd378r) | d600a8d | 2018-06-01 11:27:49 +0200 | [diff] [blame] | 134 | #resources: {} |
ac2550 | 8ac9717 | 2018-04-18 14:23:17 +0200 | [diff] [blame] | 135 | # We usually recommend not to specify default resources and to leave this as a conscious |
| 136 | # choice for the user. This also increases chances charts run on environments with little |
| 137 | # resources, such as Minikube. If you do want to specify resources, uncomment the following |
| 138 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
| 139 | # |
| 140 | # Example: |
| 141 | # Configure resource requests and limits |
| 142 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
| 143 | # Minimum memory for development is 2 CPU cores and 4GB memory |
| 144 | # Minimum memory for production is 4 CPU cores and 8GB memory |
Determe, Sebastien (sd378r) | d600a8d | 2018-06-01 11:27:49 +0200 | [diff] [blame] | 145 | resources: |
Sylvain Desbureaux | 45fba76 | 2018-11-23 11:35:46 +0100 | [diff] [blame] | 146 | small: |
| 147 | limits: |
| 148 | cpu: 1 |
| 149 | memory: 2Gi |
| 150 | requests: |
| 151 | cpu: 10m |
| 152 | memory: 750Mi |
| 153 | large: |
| 154 | limits: |
| 155 | cpu: 1 |
| 156 | memory: 2Gi |
| 157 | requests: |
| 158 | cpu: 10m |
| 159 | memory: 750Mi |
| 160 | unlimited: {} |