Merge "[AAI] Uses new tpls for repos / images"
[oom.git] / kubernetes / aai / components / aai-sparky-be / values.yaml
1 # Copyright (c) 2018 Amdocs, Bell Canada, AT&T
2 # Modifications Copyright (c) 2020 Nokia, Orange
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.
19 global: # 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
30 # application image
31 image: onap/sparky-be:1.6.2
32 pullPolicy: Always
33 restartPolicy: Always
34 flavor: small
35 flavorOverride: small
36 dockerhubRepository: registry.hub.docker.com
37 ubuntuInitImage: oomk8s/ubuntu-init:2.0.0
38 # application configuration
39 config:
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)
64 nsSuffix: aai
65
66
67 # default number of instances
68 replicaCount: 1
69
70 nodeSelector: {}
71
72 affinity: {}
73
74 # probe configuration parameters
75 liveness:
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
82 readiness:
83   initialDelaySeconds: 10
84   periodSeconds: 10
85
86 service:
87   type: NodePort
88   portName: aai-sparky-be
89   internalPort: 8000
90   nodePort: 20
91
92 ingress:
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/
103 resources:
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: {}