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