blob: 1e2ae4778d3b63b87bb99ece31f422db83c148d9 [file] [log] [blame]
osgn422wb561a592020-02-11 15:50:21 +01001# Copyright © 2020 Amdocs, Bell Canada
Mukul379e2522018-09-05 12:26:02 +00002# Modifications Copyright © 2018 AT&T
ac25508ac97172018-04-18 14:23:17 +02003#
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.
ac25508ac97172018-04-18 14:23:17 +020015
16#################################################################
17# Global configuration defaults.
18#################################################################
19global:
20 nodePortPrefix: 302
ac25508ac97172018-04-18 14:23:17 +020021 persistence: {}
osgn422w79814452020-09-25 02:28:02 +020022 centralizedLoggingEnabled: true
23 #AAF service
24 aafEnabled: true
25
26#################################################################
27# AAF part
28#################################################################
29certInitializer:
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-es-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 Desbureaux45fba762018-11-23 11:35:46 +010060flavor: small
ac25508ac97172018-04-18 14:23:17 +020061
62#################################################################
63# Application configuration defaults.
64#################################################################
ac25508ac97172018-04-18 14:23:17 +020065# application image
osgn422w87d267d2020-09-26 11:38:01 +020066image: onap/clamp-dashboard-elasticsearch:5.0.4
ac255007f46962018-05-17 11:33:00 +020067pullPolicy: Always
ac25508ac97172018-04-18 14:23:17 +020068
69# flag to enable debugging - application support required
70debugEnabled: false
71
72# application configuration
73# Example:
74config: {}
75
76# default number of instances
77replicaCount: 1
78
79nodeSelector: {}
80
81affinity: {}
82
83# probe configuration parameters
84liveness:
osgn422wb561a592020-02-11 15:50:21 +010085 initialDelaySeconds: 180
86 periodSeconds: 30
87 timeoutSeconds: 5
ac25508ac97172018-04-18 14:23:17 +020088 # necessary to disable liveness probe when setting breakpoints
89 # in debugger so K8s doesn't restart unresponsive container
90 enabled: true
91
92readiness:
osgn422wb561a592020-02-11 15:50:21 +010093 initialDelaySeconds: 180
94 periodSeconds: 30
95 timeoutSeconds: 5
ac25508ac97172018-04-18 14:23:17 +020096
97## Persist data to a persitent volume
98persistence:
99 enabled: true
100
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
104 # existingClaim:
105 volumeReclaimPolicy: Retain
106
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)
Sylvain Desbureaux26b406c2019-08-29 17:18:32 +0200113 accessMode: ReadWriteOnce
ac25508ac97172018-04-18 14:23:17 +0200114 size: 4Gi
115 mountPath: /dockerdata-nfs
116 mountSubPath: clamp/dashboard-elasticsearch/data
BorislavGca4ccd62018-05-16 11:30:25 +0000117 mountSubPathLogs: clamp
ac25508ac97172018-04-18 14:23:17 +0200118
osgn422wb561a592020-02-11 15:50:21 +0100119security:
120 ssl:
121 enabled: true
122
ac25508ac97172018-04-18 14:23:17 +0200123service:
124 type: ClusterIP
125 name: cdash-es
126 portName: cdash-es-rest
127 externalPort: 9200
128 internalPort: 9200
129 type2: ClusterIP
130 portName2: cdash-es-tcp
131 externalPort2: 9300
132 internalPort2: 9300
133
134ingress:
135 enabled: false
136
Determe, Sebastien (sd378r)d600a8d2018-06-01 11:27:49 +0200137#resources: {}
ac25508ac97172018-04-18 14:23:17 +0200138 # 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:'.
142 #
143 # Example:
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
Determe, Sebastien (sd378r)d600a8d2018-06-01 11:27:49 +0200148resources:
Sylvain Desbureaux45fba762018-11-23 11:35:46 +0100149 small:
150 limits:
151 cpu: 1
152 memory: 4Gi
153 requests:
154 cpu: 10m
155 memory: 2.5Gi
156 large:
157 limits:
158 cpu: 1
159 memory: 4Gi
160 requests:
161 cpu: 10m
162 memory: 2.5Gi
163 unlimited: {}