Merge "[DCAEMOD] Uses new tpls for repos / images"
[oom.git] / kubernetes / clamp / components / clamp-dash-logstash / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications Copyright © 2018 AT&T
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.
15
16 #################################################################
17 # Global configuration defaults.
18 #################################################################
19 global:
20   nodePortPrefix: 302
21   persistence: {}
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-logstash-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
60 flavor: small
61
62 #################################################################
63 # Application configuration defaults.
64 #################################################################
65
66 # application image
67 image: onap/clamp-dashboard-logstash:5.0.4
68 pullPolicy: Always
69
70 # flag to enable debugging - application support required
71 debugEnabled: false
72
73 # application configuration
74 config:
75   elasticsearchServiceName: cdash-es
76   elasticsearchPort: 9200
77   dmaapHost: message-router
78   dmaapSchemeSSL: https
79   dmaapSchemeNoSSL: http
80   dmaapPort: 3905
81   dmaapConsumerGroup: "clampdashboard"
82   dmaapConsumerId: "clampdashboard"
83   eventTopic: "DCAE-CL-EVENT"
84   notificationTopic: "POLICY-CL-MGT"
85   requestTopic: "APPC-CL"
86   logstash_user: "logstash"
87   logstash_pwd: "logstash"
88
89 # default number of instances
90 replicaCount: 1
91
92 nodeSelector: {}
93
94 affinity: {}
95
96 # probe configuration parameters
97 liveness:
98   initialDelaySeconds: 900
99   periodSeconds: 20
100   timeoutSeconds: 5
101   # necessary to disable liveness probe when setting breakpoints
102   # in debugger so K8s doesn't restart unresponsive container
103   enabled: true
104
105 readiness:
106   initialDelaySeconds: 900
107   periodSeconds: 20
108   timeoutSeconds: 5
109
110 security:
111   ssl:
112     enabled: true
113
114 service:
115   #Example service definition with external, internal and node ports.
116   #Services may use any combination of ports depending on the 'type' of
117   #service being defined.
118   type: ClusterIP
119   name: cdash-ls
120   portName: cdash-ls-healthcheck
121   externalPort: 9600
122   internalPort: 9600
123 ingress:
124   enabled: false
125
126 #resources: {}
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
137 resources:
138   small:
139     limits:
140       cpu: 1
141       memory: 1.3Gi
142     requests:
143       cpu: 10m
144       memory: 750Mi
145   large:
146     limits:
147       cpu: 1
148       memory: 1.3Gi
149     requests:
150       cpu: 10m
151       memory: 750Mi
152   unlimited: {}