blob: 47b5a1d79aaa3a5939f4fdf862b99e211c865055 [file] [log] [blame]
toshrajbhardwaj84d73b12018-08-06 07:35:14 +00001# Copyright © 2018 Amdocs, Bell Canada, AT&T
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
kj6a8ce802018-03-19 15:07:44 +020015# Default values for sparky-be.
16# This is a YAML-formatted file.
17# Declare variables to be passed into your templates.
18global: # global defaults
19 nodePortPrefix: 302
Keren Joseph29f11ab2018-04-22 15:22:46 +030020 aai:
BorislavGdd207052018-05-22 11:31:39 +000021 serviceName: aai
Keren Joseph29f11ab2018-04-22 15:22:46 +030022 aaiElasticsearch:
23 serviceName: aai-elasticsearch
24 gizmo:
25 serviceName: aai-gizmo
26 searchData:
27 serviceName: aai-search-data
kj6a8ce802018-03-19 15:07:44 +020028
29# application image
30repository: nexus3.onap.org:10001
rv871fa57fb712018-09-05 13:33:10 -040031image: onap/sparky-be:1.3-STAGING-latest
kj6a8ce802018-03-19 15:07:44 +020032pullPolicy: Always
33restartPolicy: Always
rajeshkalai47c1de32018-09-20 06:36:28 -040034flavor: small
Mandeep Khindafe2fee12018-04-09 21:09:51 +000035dockerhubRepository: registry.hub.docker.com
36ubuntuInitImage: oomk8s/ubuntu-init:2.0.0
kj6a8ce802018-03-19 15:07:44 +020037# application configuration
38config:
39 elasticsearchHttpPort: 9200
Mandeep Khinda2309da82018-09-19 18:18:04 +000040 gerritBranch: master
Mandeep Khindafe2fee12018-04-09 21:09:51 +000041 gerritProject: http://gerrit.onap.org/r/aai/test-config
Keren Joseph29f11ab2018-04-22 15:22:46 +030042 portalUsername: aaiui
43 portalPassword: 1t2v1vfv1unz1vgz1t3b
Mandeep Khindafe2fee12018-04-09 21:09:51 +000044
Keren Joseph29f11ab2018-04-22 15:22:46 +030045# ONAP Cookie Processing - During initial development, the following flag, if true, will
46# prevent the portal interface's login processing from searching for a user
47# specific cookie, and will instead allow passage if a valid session cookie is discovered.
48 portalOnapEnabled: true
49#
kj6a8ce802018-03-19 15:07:44 +020050
51# override chart name (sparky-be) to share a common namespace
52# suffix with parent chart (aai)
53nsSuffix: aai
54
55
56# default number of instances
57replicaCount: 1
58
59nodeSelector: {}
60
61affinity: {}
62
63# probe configuration parameters
64liveness:
65 initialDelaySeconds: 10
66 periodSeconds: 10
67 # necessary to disable liveness probe when setting breakpoints
68 # in debugger so K8s doesn't restart unresponsive container
69 enabled: true
70
71readiness:
72 initialDelaySeconds: 10
73 periodSeconds: 10
74
75service:
Arul.Nambi0d343742018-06-20 11:40:17 -040076 type: NodePort
BorislavGdd207052018-05-22 11:31:39 +000077 portName: aai-sparky-be
kj6a8ce802018-03-19 15:07:44 +020078 internalPort: 9517
Arul.Nambi0d343742018-06-20 11:40:17 -040079 nodePort: 20
Keren Joseph29f11ab2018-04-22 15:22:46 +030080 internalPort2: 8000
kj6a8ce802018-03-19 15:07:44 +020081
82ingress:
83 enabled: false
84
kj6a8ce802018-03-19 15:07:44 +020085 # We usually recommend not to specify default resources and to leave this as a conscious
86 # choice for the user. This also increases chances charts run on environments with little
87 # resources, such as Minikube. If you do want to specify resources, uncomment the following
88 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
89 #
90 # Example:
91 # Configure resource requests and limits
92 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
93 # Minimum memory for development is 2 CPU cores and 4GB memory
94 # Minimum memory for production is 4 CPU cores and 8GB memory
95#resources:
96# limits:
97# cpu: 2
98# memory: 4Gi
99# requests:
100# cpu: 2
101# memory: 4Gi
rajeshkalai47c1de32018-09-20 06:36:28 -0400102resources:
103 small:
104 limits:
105 cpu: 2
106 memory: 4Gi
107 requests:
108 cpu: 2
109 memory: 4Gi
110 large:
111 limits:
112 cpu: 4
113 memory: 8Gi
114 requests:
115 cpu: 4
116 memory: 8Gi