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