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