blob: 9755c8bcc268f6825ac42d48f2e837133d5f1c47 [file] [log] [blame]
toshrajbhardwajf4fc1c62018-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
kj9bf27312018-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 Joseph5689d5f2018-04-22 15:22:46 +030020 aai:
BorislavG2d4426e2018-05-22 11:31:39 +000021 serviceName: aai
Keren Joseph5689d5f2018-04-22 15:22:46 +030022 aaiElasticsearch:
23 serviceName: aai-elasticsearch
24 gizmo:
25 serviceName: aai-gizmo
26 searchData:
27 serviceName: aai-search-data
kj9bf27312018-03-19 15:07:44 +020028
29# application image
30repository: nexus3.onap.org:10001
renealrd7752ba2019-02-28 09:06:18 -050031image: onap/sparky-be:1.4-STAGING-latest
kj9bf27312018-03-19 15:07:44 +020032pullPolicy: Always
33restartPolicy: Always
rajeshkalai9fcfbce2018-09-20 06:36:28 -040034flavor: small
Mandeep Khinda9ed65052018-04-09 21:09:51 +000035dockerhubRepository: registry.hub.docker.com
36ubuntuInitImage: oomk8s/ubuntu-init:2.0.0
kj9bf27312018-03-19 15:07:44 +020037# application configuration
38config:
39 elasticsearchHttpPort: 9200
Mike Elliott3e0bad92018-11-28 15:58:53 -050040 gerritBranch: 3.0.0-ONAP
Mandeep Khinda9ed65052018-04-09 21:09:51 +000041 gerritProject: http://gerrit.onap.org/r/aai/test-config
Keren Joseph5689d5f2018-04-22 15:22:46 +030042 portalUsername: aaiui
renealrd7752ba2019-02-28 09:06:18 -050043 portalPassword: OBF:1t2v1vfv1unz1vgz1t3b
44 portalCookieName: UserId
45 portalAppRoles: ui_view
46 aafUsername: aai@aai.onap.org
47 aafNamespace: org.onap.aai.aaiui
48 aafPassword: enc:xxYw1FqXU5UpianbPeH5Rezg0YfjzuwQrSiLcCmJGfz
49 cadiKeyFile: /opt/app/sparky/config/portal/keyFile
50 cadiTrustStore: /opt/app/sparky/config/auth/truststoreONAPall.jks
51 cadiFileLocation: /opt/app/sparky/config/portal/cadi.properties
52 cadiTrustStorePassword: changeit
53 cookieDecryptorClass: org.onap.aai.sparky.security.BaseCookieDecryptor
Mandeep Khinda9ed65052018-04-09 21:09:51 +000054
Keren Joseph5689d5f2018-04-22 15:22:46 +030055# ONAP Cookie Processing - During initial development, the following flag, if true, will
56# prevent the portal interface's login processing from searching for a user
57# specific cookie, and will instead allow passage if a valid session cookie is discovered.
58 portalOnapEnabled: true
59#
kj9bf27312018-03-19 15:07:44 +020060
61# override chart name (sparky-be) to share a common namespace
62# suffix with parent chart (aai)
63nsSuffix: aai
64
65
66# default number of instances
67replicaCount: 1
68
69nodeSelector: {}
70
71affinity: {}
72
73# probe configuration parameters
74liveness:
75 initialDelaySeconds: 10
76 periodSeconds: 10
77 # necessary to disable liveness probe when setting breakpoints
78 # in debugger so K8s doesn't restart unresponsive container
79 enabled: true
80
81readiness:
82 initialDelaySeconds: 10
83 periodSeconds: 10
84
85service:
Arul.Nambi89c02792018-06-20 11:40:17 -040086 type: NodePort
BorislavG2d4426e2018-05-22 11:31:39 +000087 portName: aai-sparky-be
Arul.Nambi71d66182018-12-14 11:24:04 -050088 internalPort: 8000
Arul.Nambi89c02792018-06-20 11:40:17 -040089 nodePort: 20
kj9bf27312018-03-19 15:07:44 +020090
91ingress:
92 enabled: false
93
Mandeep Khinda60d36d42018-09-24 15:15:48 +000094# Configure resource requests and limits
95# ref: http://kubernetes.io/docs/user-guide/compute-resources/
rajeshkalai9fcfbce2018-09-20 06:36:28 -040096resources:
97 small:
98 limits:
99 cpu: 2
100 memory: 4Gi
101 requests:
fpaquett62cd70d2018-11-30 13:15:48 -0500102 cpu: 0.25
103 memory: 1Gi
rajeshkalai9fcfbce2018-09-20 06:36:28 -0400104 large:
105 limits:
106 cpu: 4
107 memory: 8Gi
108 requests:
jimmy297f59b2018-12-06 15:05:48 -0500109 cpu: 0.5
110 memory: 2Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000111 unlimited: {}