1 # Copyright © 2020 Amdocs, Bell Canada
2 # Modifications Copyright © 2018 AT&T
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
8 # http://www.apache.org/licenses/LICENSE-2.0
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.
16 #################################################################
17 # Global configuration defaults.
18 #################################################################
22 centralizedLoggingEnabled: true
26 #################################################################
28 #################################################################
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-es-cert-initializer
41 aafDeployFqi: deployer@people.osaaf.org
42 aafDeployPass: demo123456!
43 # aafDeployCredsExternalSecret: some secret
45 fqi: clamp@clamp.onap.org
46 public_fqdn: clamp.onap.org
50 credsPath: /opt/app/osaaf/local
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 }};
62 #################################################################
63 # Application configuration defaults.
64 #################################################################
66 image: onap/clamp-dashboard-elasticsearch:5.0.4
69 # flag to enable debugging - application support required
72 # application configuration
76 # default number of instances
83 # probe configuration parameters
85 initialDelaySeconds: 180
88 # necessary to disable liveness probe when setting breakpoints
89 # in debugger so K8s doesn't restart unresponsive container
93 initialDelaySeconds: 180
97 ## Persist data to a persitent volume
101 ## A manually managed Persistent Volume and Claim
102 ## Requires persistence.enabled: true
103 ## If defined, PVC must be created manually before volume will be bound
105 volumeReclaimPolicy: Retain
107 ## database data Persistent Volume Storage Class
108 ## If defined, storageClassName: <storageClass>
109 ## If set to "-", storageClassName: "", which disables dynamic provisioning
110 ## If undefined (the default) or set to null, no storageClassName spec is
111 ## set, choosing the default provisioner. (gp2 on AWS, standard on
112 ## GKE, AWS & OpenStack)
113 accessMode: ReadWriteOnce
115 mountPath: /dockerdata-nfs
116 mountSubPath: clamp/dashboard-elasticsearch/data
117 mountSubPathLogs: clamp
126 portName: cdash-es-rest
130 portName2: cdash-es-tcp
138 # We usually recommend not to specify default resources and to leave this as a conscious
139 # choice for the user. This also increases chances charts run on environments with little
140 # resources, such as Minikube. If you do want to specify resources, uncomment the following
141 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
144 # Configure resource requests and limits
145 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
146 # Minimum memory for development is 2 CPU cores and 4GB memory
147 # Minimum memory for production is 4 CPU cores and 8GB memory