blob: 2b3c9f1712ad662048649886851878308bfe4d92 [file] [log] [blame]
ac25508ac97172018-04-18 14:23:17 +02001# Copyright © 2017 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
21 repositorySecret: eyJuZXh1czMub25hcC5vcmc6MTAwMDEiOnsidXNlcm5hbWUiOiJkb2NrZXIiLCJwYXNzd29yZCI6ImRvY2tlciIsImVtYWlsIjoiQCIsImF1dGgiOiJaRzlqYTJWeU9tUnZZMnRsY2c9PSJ9fQ==
Sylvain Desbureaux1694e1d2020-08-21 09:58:25 +020022 readinessImage: onap/oom/readiness:3.0.1
ac25508ac97172018-04-18 14:23:17 +020023 persistence: {}
osgn422w79814452020-09-25 02:28:02 +020024 centralizedLoggingEnabled: true
25 #AAF service
26 aafEnabled: true
27
28#################################################################
29# AAF part
30#################################################################
31certInitializer:
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-logstash-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 Desbureaux45fba762018-11-23 11:35:46 +010062flavor: small
ac25508ac97172018-04-18 14:23:17 +020063
64#################################################################
65# Application configuration defaults.
66#################################################################
67
68# application image
Julien Barboted56cca2018-10-22 17:53:07 +020069repository: nexus3.onap.org:10001
osgn422w87d267d2020-09-26 11:38:01 +020070image: onap/clamp-dashboard-logstash:5.0.4
ac255007f46962018-05-17 11:33:00 +020071pullPolicy: Always
ac25508ac97172018-04-18 14:23:17 +020072
73# flag to enable debugging - application support required
74debugEnabled: false
75
76# application configuration
77config:
78 elasticsearchServiceName: cdash-es
79 elasticsearchPort: 9200
ac2550a0496b02018-09-20 14:57:22 +020080 dmaapHost: message-router
osgn422wb561a592020-02-11 15:50:21 +010081 dmaapSchemeSSL: https
82 dmaapSchemeNoSSL: http
ac25508ac97172018-04-18 14:23:17 +020083 dmaapPort: 3905
84 dmaapConsumerGroup: "clampdashboard"
85 dmaapConsumerId: "clampdashboard"
86 eventTopic: "DCAE-CL-EVENT"
87 notificationTopic: "POLICY-CL-MGT"
88 requestTopic: "APPC-CL"
osgn422w6e663e42019-08-02 11:31:11 +020089 logstash_user: "logstash"
90 logstash_pwd: "logstash"
ac25508ac97172018-04-18 14:23:17 +020091
92# default number of instances
93replicaCount: 1
94
95nodeSelector: {}
96
97affinity: {}
98
99# probe configuration parameters
100liveness:
osgn422wb561a592020-02-11 15:50:21 +0100101 initialDelaySeconds: 900
102 periodSeconds: 20
103 timeoutSeconds: 5
ac25508ac97172018-04-18 14:23:17 +0200104 # necessary to disable liveness probe when setting breakpoints
105 # in debugger so K8s doesn't restart unresponsive container
106 enabled: true
107
108readiness:
osgn422wb561a592020-02-11 15:50:21 +0100109 initialDelaySeconds: 900
110 periodSeconds: 20
111 timeoutSeconds: 5
112
113security:
114 ssl:
115 enabled: true
ac25508ac97172018-04-18 14:23:17 +0200116
117service:
118 #Example service definition with external, internal and node ports.
119 #Services may use any combination of ports depending on the 'type' of
120 #service being defined.
121 type: ClusterIP
122 name: cdash-ls
123 portName: cdash-ls-healthcheck
124 externalPort: 9600
125 internalPort: 9600
126ingress:
127 enabled: false
128
Determe, Sebastien (sd378r)d600a8d2018-06-01 11:27:49 +0200129#resources: {}
ac25508ac97172018-04-18 14:23:17 +0200130 # We usually recommend not to specify default resources and to leave this as a conscious
131 # choice for the user. This also increases chances charts run on environments with little
132 # resources, such as Minikube. If you do want to specify resources, uncomment the following
133 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
134 #
135 # Example:
136 # Configure resource requests and limits
137 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
138 # Minimum memory for development is 2 CPU cores and 4GB memory
139 # Minimum memory for production is 4 CPU cores and 8GB memory
Determe, Sebastien (sd378r)d600a8d2018-06-01 11:27:49 +0200140resources:
Sylvain Desbureaux45fba762018-11-23 11:35:46 +0100141 small:
142 limits:
143 cpu: 1
144 memory: 1.3Gi
145 requests:
146 cpu: 10m
147 memory: 750Mi
148 large:
149 limits:
150 cpu: 1
151 memory: 1.3Gi
152 requests:
153 cpu: 10m
154 memory: 750Mi
155 unlimited: {}