f9b8466d2ea42dcd7e1a6f2fc2c545d9fb9a3012
[oom.git] / kubernetes / clamp / 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: # global defaults
20   nodePortPrefix: 302
21   readinessRepository: oomk8s
22   readinessImage: readiness-check:2.0.0
23   loggingRepository: docker.elastic.co
24   loggingImage: beats/filebeat:5.5.0
25
26 subChartsOnly:
27   enabled: true
28
29 # application image
30 repository: nexus3.onap.org:10001
31 image: onap/clamp:3.0.0
32 pullPolicy: Always
33
34 # flag to enable debugging - application support required
35 debugEnabled: false
36
37 #################################################################
38 # Application configuration defaults.
39 #################################################################
40 config:
41   log:
42     logstashServiceName: log-ls
43     logstashPort: 5044
44   mysqlPassword: strong_pitchou
45   dataRootDir: /dockerdata-nfs
46   springApplicationJson: >
47     {
48         "spring.datasource.cldsdb.url": "jdbc:mariadb:sequential://clampdb.{{ include "common.namespace" . }}:3306/cldsdb4?autoReconnect=true&connectTimeout=10000&socketTimeout=10000&retriesAllDown=3",
49         "clamp.config.sdc.catalog.url": "http://sdc-be.{{ include "common.namespace" . }}:8080/sdc/v1/catalog/",
50         "clamp.config.sdc.hostUrl": "http://sdc-be.{{ include "common.namespace" . }}:8080/",
51         "clamp.config.sdc.serviceUrl": "http://sdc-be.{{ include "common.namespace" . }}:8080/sdc/v1/catalog/services",
52         "clamp.config.sdc.serviceUsername": "clamp",
53         "clamp.config.sdc.servicePassword": "b7acccda32b98c5bb7acccda32b98c5b05D511BD6D93626E90D18E9D24D9B78CD34C7EE8012F0A189A28763E82271E50A5D4EC10C7D93E06E0A2D27CAE66B981",
54         "clamp.config.files.sdcController": "file:/opt/clamp/sdc-controllers-config.json",
55         "clamp.config.dcae.inventory.url": "http://inventory.{{ include "common.namespace" . }}:8080",
56         "clamp.config.dcae.dispatcher.url": "https://deployment-handler.{{ include "common.namespace" . }}:8443",
57         "clamp.config.policy.pdpUrl1": "https://pdp.{{ include "common.namespace" . }}:8081/pdp/ , testpdp, alpha123",
58         "clamp.config.policy.pdpUrl2": "https://pdp.{{ include "common.namespace" . }}:8081/pdp/ , testpdp, alpha123",
59         "clamp.config.policy.papUrl": "https://pap.{{ include "common.namespace" . }}:9091/pap/ , testpap, alpha123",
60         "clamp.config.policy.clientKey": "dGVzdA==",
61         "clamp.config.cadi.aafLocateUrl": "https://aaf-locate.{{ include "common.namespace" . }}:8095",
62         "com.att.eelf.logging.path": "/opt/clamp",
63         "com.att.eelf.logging.file": "logback.xml"
64     }
65
66 # subchart configuration
67 mariadb:
68   nameOverride: clampdb
69
70
71 # default number of instances
72 replicaCount: 1
73
74 nodeSelector: {}
75
76 affinity: {}
77
78 # probe configuration parameters
79 liveness:
80   initialDelaySeconds: 120
81   periodSeconds: 10
82   # necessary to disable liveness probe when setting breakpoints
83   # in debugger so K8s doesn't restart unresponsive container
84   enabled: true
85
86 readiness:
87   initialDelaySeconds: 10
88   periodSeconds: 10
89
90
91 service:
92   type: NodePort
93   name: clamp
94   portName: clamp
95   internalPort: 8080
96   nodePort: 95
97   portName2: clamp-ssl
98   internalPort2: 8443
99   # as of 20180904 port 58 is reserved for clamp from log/logdemonode
100   # see https://wiki.onap.org/display/DW/OOM+NodePort+List
101   nodePort2: 58
102
103
104 ingress:
105   enabled: false
106
107 #resources: {}
108   # We usually recommend not to specify default resources and to leave this as a conscious
109   # choice for the user. This also increases chances charts run on environments with little
110   # resources, such as Minikube. If you do want to specify resources, uncomment the following
111   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
112   #
113   # Example:
114   # Configure resource requests and limits
115   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
116   # Minimum memory for development is 2 CPU cores and 4GB memory
117   # Minimum memory for production is 4 CPU cores and 8GB memory
118 resources:
119   limits:
120     cpu: 1
121     memory: 1.2Gi
122   requests:
123     cpu: 10m
124     memory: 800Mi