blob: 0673dee69f7cb0fbe2ed27f63f8ebec67857baeb [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
efiacord12c1672023-03-23 12:10:50 +00003# Modifications Copyright © 2023 Nordix Foundation
Sylvain Desbureaux70070412020-11-09 21:58:48 +01004#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16
17# Default values for sparky-be.
18# This is a YAML-formatted file.
19# Declare variables to be passed into your templates.
20global: # global defaults
21 nodePortPrefix: 302
22 aai:
23 serviceName: aai
24 aaiElasticsearch:
25 serviceName: aai-elasticsearch
26 gizmo:
27 serviceName: aai-gizmo
28 searchData:
29 serviceName: aai-search-data
Sylvain Desbureaux70070412020-11-09 21:58:48 +010030
31# application image
Harish Venkata Kajur2fbdf672021-02-25 09:11:57 -050032image: onap/sparky-be:2.0.3
Sylvain Desbureaux70070412020-11-09 21:58:48 +010033pullPolicy: Always
34restartPolicy: Always
35flavor: small
36flavorOverride: small
37dockerhubRepository: registry.hub.docker.com
38ubuntuInitImage: oomk8s/ubuntu-init:2.0.0
39# application configuration
40config:
41 elasticsearchHttpPort: 9200
42 gerritBranch: 3.0.0-ONAP
43 gerritProject: http://gerrit.onap.org/r/aai/test-config
44 portalUsername: aaiui
Sylvain Desbureaux1e997192021-02-28 14:59:22 +010045 portalPassword: OBF:1t2v1vfv1unz1vgz1t3b # aaiui
Sylvain Desbureaux70070412020-11-09 21:58:48 +010046 portalCookieName: UserId
47 portalAppRoles: ui_view
Sylvain Desbureaux70070412020-11-09 21:58:48 +010048 cookieDecryptorClass: org.onap.aai.sparky.security.BaseCookieDecryptor
49
50# ONAP Cookie Processing - During initial development, the following flag, if true, will
51# prevent the portal interface's login processing from searching for a user
52# specific cookie, and will instead allow passage if a valid session cookie is discovered.
53 portalOnapEnabled: true
54#
55
56# override chart name (sparky-be) to share a common namespace
57# suffix with parent chart (aai)
58nsSuffix: aai
59
60
61# default number of instances
62replicaCount: 1
63
Rommel Pawar63db7162022-11-16 10:11:24 -080064updateStrategy:
65 type: RollingUpdate
66 maxUnavailable: 0
67 maxSurge: 1
68
Sylvain Desbureaux70070412020-11-09 21:58:48 +010069nodeSelector: {}
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:
86 type: NodePort
osk1146127fd7d82021-06-18 00:51:17 +020087 portName: http
Andreas Geissler46067c72022-11-14 19:58:53 +010088 externalPort: 8000
Sylvain Desbureaux70070412020-11-09 21:58:48 +010089 internalPort: 8000
Andreas Geissler46067c72022-11-14 19:58:53 +010090 internalPlainPort: 9517
Sylvain Desbureaux70070412020-11-09 21:58:48 +010091 nodePort: 20
92
93ingress:
94 enabled: false
95 service:
Andreas Geissler51900a92022-08-03 13:10:35 +020096 - baseaddr: "aai-sparkybe-api"
Sylvain Desbureaux70070412020-11-09 21:58:48 +010097 name: "aai-sparky-be"
98 port: 8000
99 config:
100 ssl: "redirect"
101
102# Configure resource requests and limits
103# ref: http://kubernetes.io/docs/user-guide/compute-resources/
104resources:
105 small:
106 limits:
107 cpu: 2
108 memory: 4Gi
109 requests:
110 cpu: 0.25
111 memory: 1Gi
112 large:
113 limits:
114 cpu: 4
115 memory: 8Gi
116 requests:
117 cpu: 0.5
118 memory: 2Gi
119 unlimited: {}
farida azmyd8937332021-03-09 12:20:42 +0200120
121#Pods Service Account
122serviceAccount:
123 nameOverride: aai-sparky-be
124 roles:
125 - read
Maciej Wereskid523d122021-09-21 11:22:13 +0200126
127#Log configuration
128log:
129 path: /var/log/onap
130logConfigMapNamePrefix: '{{ include "common.fullname" . }}'