blob: a08ab121eede13c00a1eb243cb5bd3c985c0b301 [file] [log] [blame]
Mike Elliott37cae252018-09-12 14:45:40 -04001# Copyright (c) 2018 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#################################################################
18global:
19 # Change to an unused port prefix range to prevent port conflicts
20 # with other instances running within the same k8s cluster
21 nodePortPrefix: 302
22
23 # image repositories
24 repository: nexus3.onap.org:10001
25
26 # readiness check
27 readinessRepository: oomk8s
28 readinessImage: readiness-check:2.0.0
29
30 # image pull policy
31 pullPolicy: Always
32
33 persistence:
34 mountPath: /dockerdata-nfs
35
36#################################################################
37# Application configuration defaults.
38#################################################################
39# application image
40repository: nexus3.onap.org:10001
41image: onap/ccsdk-controllerblueprints:latest
42pullPolicy: Always
43
44# flag to enable debugging - application support required
45debugEnabled: false
46
47# application configuration
48config:
49 applicationName: ControllerBluePrints
50 bundleVersion: 1.0.0
51 appConfigDir: /opt/app/onap/config
52 dbUrl: jdbc:mysql://controller-blueprints-db:3306/sdnctl
53 initDataLoad: true
54 stickySelectorKey:
55 envContext: DEV
56
57mariadb-galera:
58 config:
59 userName: sdnctl
60 userPassword: sdnctl
61 mariadbRootPassword: sdnctl
62 mysqlDatabase: sdnctl
63 nameOverride: controller-blueprints-db
64 service:
65 name: controller-blueprints-db
66 portName: cb-db
67 replicaCount: 1
68 persistence:
69 enabled: true
70 mountSubPath: controller-blueprints/data
71
72# default number of instances
73replicaCount: 1
74
75nodeSelector: {}
76
77affinity: {}
78
79# probe configuration parameters
80liveness:
81 initialDelaySeconds: 10
82 periodSeconds: 10
83 # necessary to disable liveness probe when setting breakpoints
84 # in debugger so K8s doesn't restart unresponsive container
85 enabled: true
86
87readiness:
88 initialDelaySeconds: 10
89 periodSeconds: 10
90
91service:
92 type: ClusterIP
93 portName: controller-blueprints
94 internalPort: 8080
95 externalPort: 8080
96
97persistence:
98 enabled: true
99
100ingress:
101 enabled: false
102
103resources: {}
104 # We usually recommend not to specify default resources and to leave this as a conscious
105 # choice for the user. This also increases chances charts run on environments with little
106 # resources, such as Minikube. If you do want to specify resources, uncomment the following
107 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
108 #
109 # Example:
110 # Configure resource requests and limits
111 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
112 # Minimum memory for development is 2 CPU cores and 4GB memory
113 # Minimum memory for production is 4 CPU cores and 8GB memory
114#resources:
115# limits:
116# cpu: 2
117# memory: 4Gi
118# requests:
119# cpu: 2
120# memory: 4Gi