Remove redundant Ingress service config
[oom.git] / kubernetes / clamp / charts / clamp-backend / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications Copyright © 2018-2019 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   repositorySecret: eyJuZXh1czMub25hcC5vcmc6MTAwMDEiOnsidXNlcm5hbWUiOiJkb2NrZXIiLCJwYXNzd29yZCI6ImRvY2tlciIsImVtYWlsIjoiQCIsImF1dGgiOiJaRzlqYTJWeU9tUnZZMnRsY2c9PSJ9fQ==
22   readinessRepository: oomk8s
23   readinessImage: readiness-check:2.0.0
24   persistence: {}
25
26 flavor: small
27
28 # application image
29 repository: nexus3.onap.org:10001
30 image: onap/clamp-backend:4.1.3
31 pullPolicy: Always
32
33 # flag to enable debugging - application support required
34 debugEnabled: false
35
36 #################################################################
37 # Application configuration defaults.
38 #################################################################
39 config:
40   log:
41     logstashServiceName: log-ls
42     logstashPort: 5044
43   mysqlPassword: strong_pitchou
44   dataRootDir: /dockerdata-nfs
45   springApplicationJson: >
46     {
47         "spring.datasource.cldsdb.url": "jdbc:mariadb:sequential://clampdb.{{ include "common.namespace" . }}:3306/cldsdb4?autoReconnect=true&connectTimeout=10000&socketTimeout=10000&retriesAllDown=3",
48         "spring.profiles.active": "clamp-default,clamp-default-user,clamp-sdc-controller-new",
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": "https4://inventory.{{ include "common.namespace" . }}:8080",
56         "clamp.config.dcae.dispatcher.url": "https4://deployment-handler.{{ include "common.namespace" . }}:8443",
57         "clamp.config.dcae.deployment.url": "https4://deployment-handler.{{ include "common.namespace" . }}:8443",
58         "clamp.config.dcae.deployment.userName": "none",
59         "clamp.config.dcae.deployment.password": "none",
60         "clamp.config.policy.api.url": "https4://policy-api.{{ include "common.namespace" . }}:6969",
61         "clamp.config.policy.api.userName": "healthcheck",
62         "clamp.config.policy.api.password": "zb!XztG34",
63         "clamp.config.policy.pap.url": "https4://policy-pap.{{ include "common.namespace" . }}:6969",
64         "clamp.config.policy.pap.userName": "healthcheck",
65         "clamp.config.policy.pap.password": "zb!XztG34",
66         "clamp.config.policy.pdpUrl1": "https://pdp.{{ include "common.namespace" . }}:8081/pdp/ , testpdp, alpha123",
67         "clamp.config.policy.pdpUrl2": "https://pdp.{{ include "common.namespace" . }}:8081/pdp/ , testpdp, alpha123",
68         "clamp.config.policy.papUrl": "https://pap.{{ include "common.namespace" . }}:9091/pap/ , testpap, alpha123",
69         "clamp.config.policy.clientKey": "dGVzdA==",
70         "clamp.config.cadi.aafLocateUrl": "https://aaf-locate.{{ include "common.namespace" . }}:8095",
71         "com.att.eelf.logging.path": "/opt/clamp",
72         "com.att.eelf.logging.file": "logback.xml"
73     }
74
75 # default number of instances
76 replicaCount: 1
77
78 nodeSelector: {}
79
80 affinity: {}
81
82 # probe configuration parameters
83 liveness:
84   initialDelaySeconds: 120
85   periodSeconds: 10
86   # necessary to disable liveness probe when setting breakpoints
87   # in debugger so K8s doesn't restart unresponsive container
88   enabled: true
89
90 readiness:
91   initialDelaySeconds: 10
92   periodSeconds: 10
93
94
95 service:
96   type: ClusterIP
97   name: clamp-backend
98   portName: clamp-backend
99   internalPort: 8443
100   externalPort: 443
101
102 ingress:
103   enabled: false
104
105 #resources: {}
106   # We usually recommend not to specify default resources and to leave this as a conscious
107   # choice for the user. This also increases chances charts run on environments with little
108   # resources, such as Minikube. If you do want to specify resources, uncomment the following
109   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
110   #
111   # Example:
112   # Configure resource requests and limits
113   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
114   # Minimum memory for development is 2 CPU cores and 4GB memory
115   # Minimum memory for production is 4 CPU cores and 8GB memory
116 resources:
117   small:
118     limits:
119       cpu: 1
120       memory: 1.2Gi
121     requests:
122       cpu: 10m
123       memory: 800Mi
124   large:
125     limits:
126       cpu: 1
127       memory: 1.2Gi
128     requests:
129       cpu: 10m
130       memory: 800Mi
131   unlimited: {}