make sdnctl user db password configurable for SDNC
[oom.git] / kubernetes / clamp / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #       http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 #################################################################
16 # Global configuration defaults.
17 #################################################################
18 global: # global defaults
19   nodePortPrefix: 302
20   readinessRepository: oomk8s
21   readinessImage: readiness-check:2.0.0
22   loggingRepository: docker.elastic.co
23   loggingImage: beats/filebeat:5.5.0
24
25 subChartsOnly:
26   enabled: true
27
28 # application image
29 repository: nexus3.onap.org:10001
30 image: onap/clamp:2.0-STAGING-latest
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   mysqlPassword: strong_pitchou
41   dataRootDir: /dockerdata-nfs
42   springApplicationJson: >
43     {
44         "spring.datasource.cldsdb.url": "jdbc:mariadb:sequential://clampdb:3306/cldsdb4?autoReconnect=true&connectTimeout=10000&socketTimeout=10000&retriesAllDown=3",
45         "clamp.config.sdc.catalog.url": "https://sdc-be:8443/sdc/v1/catalog/",
46         "clamp.config.sdc.hostUrl": "https://sdc-be:8443/",
47         "clamp.config.sdc.serviceUrl": "https://sdc-be:8443/sdc/v1/catalog/services",
48         "clamp.config.sdc.serviceUsername": "clamp",
49         "clamp.config.sdc.servicePassword": "b7acccda32b98c5bb7acccda32b98c5b05D511BD6D93626E90D18E9D24D9B78CD34C7EE8012F0A189A28763E82271E50A5D4EC10C7D93E06E0A2D27CAE66B981",
50         "clamp.config.dcae.inventory.url": "http://dcaegen2:8080",
51         "clamp.config.dcae.dispatcher.url": "http://dcaegen2:8080",
52         "clamp.config.policy.pdpUrl1": "https://policy-pdp:9091/pdp/ , testpdp, alpha123",
53         "clamp.config.policy.pdpUrl2": "https://policy-pdp:9091/pdp/ , testpdp, alpha123",
54         "clamp.config.policy.papUrl": "https://policy-pap:8443/pap/ , testpap, alpha123",
55         "clamp.config.policy.clientKey": "5CE79532B3A2CB4D132FC0C04BF916A7"
56     }
57
58 # subchart configuration
59 mariadb:
60   nameOverride: clampdb
61
62
63 # default number of instances
64 replicaCount: 1
65
66 nodeSelector: {}
67
68 affinity: {}
69
70 # probe configuration parameters
71 liveness:
72   initialDelaySeconds: 30
73   periodSeconds: 10
74   # necessary to disable liveness probe when setting breakpoints
75   # in debugger so K8s doesn't restart unresponsive container
76   enabled: true
77
78 readiness:
79   initialDelaySeconds: 10
80   periodSeconds: 10
81
82
83 service:
84   type: NodePort
85   name: clamp
86   portName: clamp
87   internalPort: 8080
88   nodePort: 95
89
90 ingress:
91   enabled: false
92
93 resources: {}
94   # We usually recommend not to specify default resources and to leave this as a conscious
95   # choice for the user. This also increases chances charts run on environments with little
96   # resources, such as Minikube. If you do want to specify resources, uncomment the following
97   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
98   #
99   # Example:
100   # Configure resource requests and limits
101   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
102   # Minimum memory for development is 2 CPU cores and 4GB memory
103   # Minimum memory for production is 4 CPU cores and 8GB memory
104 #resources:
105 #  limits:
106 #    cpu: 2
107 #    memory: 4Gi
108 #  requests:
109 #    cpu: 2
110 #    memory: 4Gi