blob: 10448b7520bb456a7e9d27593c8d010bf8781db4 [file] [log] [blame]
Sylvain Desbureaux70070412020-11-09 21:58:48 +01001# Copyright (c) 2018 Amdocs, Bell Canada, AT&T
2# Modifications Copyright (c) 2020 Nokia
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# Default values for sparky-be.
17# This is a YAML-formatted file.
18# Declare variables to be passed into your templates.
19global: # global defaults
20 nodePortPrefix: 302
21 aai:
22 serviceName: aai
23 aaiElasticsearch:
24 serviceName: aai-elasticsearch
25 gizmo:
26 serviceName: aai-gizmo
27 searchData:
28 serviceName: aai-search-data
29 readinessImage: onap/oom/readiness:3.0.1
30
31# application image
32repository: nexus3.onap.org:10001
33image: onap/sparky-be:1.6.2
34pullPolicy: Always
35restartPolicy: Always
36flavor: small
37flavorOverride: small
38dockerhubRepository: registry.hub.docker.com
39ubuntuInitImage: oomk8s/ubuntu-init:2.0.0
40# application configuration
41config:
42 elasticsearchHttpPort: 9200
43 gerritBranch: 3.0.0-ONAP
44 gerritProject: http://gerrit.onap.org/r/aai/test-config
45 portalUsername: aaiui
46 portalPassword: OBF:1t2v1vfv1unz1vgz1t3b
47 portalCookieName: UserId
48 portalAppRoles: ui_view
49 aafUsername: aai@aai.onap.org
50 aafNamespace: org.onap.aai
51 aafPassword: enc:xxYw1FqXU5UpianbPeH5Rezg0YfjzuwQrSiLcCmJGfz
52 cadiKeyFile: /opt/app/sparky/config/portal/keyFile
53 cadiTrustStore: /opt/app/sparky/config/auth/truststoreONAPall.jks
54 cadiFileLocation: /opt/app/sparky/config/portal/cadi.properties
55 cadiTrustStorePassword: changeit
56 cookieDecryptorClass: org.onap.aai.sparky.security.BaseCookieDecryptor
57
58# ONAP Cookie Processing - During initial development, the following flag, if true, will
59# prevent the portal interface's login processing from searching for a user
60# specific cookie, and will instead allow passage if a valid session cookie is discovered.
61 portalOnapEnabled: true
62#
63
64# override chart name (sparky-be) to share a common namespace
65# suffix with parent chart (aai)
66nsSuffix: aai
67
68
69# default number of instances
70replicaCount: 1
71
72nodeSelector: {}
73
74affinity: {}
75
76# probe configuration parameters
77liveness:
78 initialDelaySeconds: 10
79 periodSeconds: 10
80 # necessary to disable liveness probe when setting breakpoints
81 # in debugger so K8s doesn't restart unresponsive container
82 enabled: true
83
84readiness:
85 initialDelaySeconds: 10
86 periodSeconds: 10
87
88service:
89 type: NodePort
90 portName: aai-sparky-be
91 internalPort: 8000
92 nodePort: 20
93
94ingress:
95 enabled: false
96 service:
97 - baseaddr: "aaisparkybe"
98 name: "aai-sparky-be"
99 port: 8000
100 config:
101 ssl: "redirect"
102
103# Configure resource requests and limits
104# ref: http://kubernetes.io/docs/user-guide/compute-resources/
105resources:
106 small:
107 limits:
108 cpu: 2
109 memory: 4Gi
110 requests:
111 cpu: 0.25
112 memory: 1Gi
113 large:
114 limits:
115 cpu: 4
116 memory: 8Gi
117 requests:
118 cpu: 0.5
119 memory: 2Gi
120 unlimited: {}