blob: 330161e316734883d8a1aaf712a6301ea395f348 [file] [log] [blame]
ktimoneyb3aef7b2021-09-13 08:27:58 +01001# ============LICENSE_START=======================================================
danielhanrahan88326642022-02-28 14:08:08 +00002# Copyright (C) 2021-2022 Nordix Foundation.
ktimoneyb3aef7b2021-09-13 08:27:58 +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# SPDX-License-Identifier: Apache-2.0
17# ============LICENSE_END=========================================================
18
19#################################################################
20# Global configuration defaults.
21#################################################################
22global: # global defaults
23 nodePortPrefix: 304
24 centralizedLoggingEnabled: true
ktimoneyb3aef7b2021-09-13 08:27:58 +010025
26subChartsOnly:
27 enabled: true
28
29flavor: small
30
31# application image
saul.gillef208b02023-04-26 16:16:05 +010032image: onap/policy-gui:2.4.2
ktimoneyb3aef7b2021-09-13 08:27:58 +010033pullPolicy: Always
34
35# flag to enable debugging - application support required
36debugEnabled: false
37
38# log configuration
39log:
danielhanrahan88326642022-02-28 14:08:08 +000040 path: /var/log/onap/policy/gui
ktimoneyb3aef7b2021-09-13 08:27:58 +010041
42#################################################################
43# Application configuration defaults.
44#################################################################
45config:
46 log:
47 logstashServiceName: log-ls
48 logstashPort: 5044
49 dataRootDir: /dockerdata-nfs
50
51# default number of instances
52replicaCount: 1
53
54nodeSelector: {}
55
56affinity: {}
57
58# probe configuration parameters
59liveness:
60 initialDelaySeconds: 120
61 periodSeconds: 10
62 timeoutSeconds: 3
63 # necessary to disable liveness probe when setting breakpoints
64 # in debugger so K8s doesn't restart unresponsive container
65 enabled: true
66
67readiness:
68 initialDelaySeconds: 10
69 periodSeconds: 10
70 timeoutSeconds: 3
71
72service:
73 type: NodePort
74 name: policy-gui
ktimoneyb3aef7b2021-09-13 08:27:58 +010075 internalPort: 2443
Andreas Geisslerf10c5552023-03-21 18:09:46 +010076 ports:
77 - name: http
78 port: 2443
79 nodePort: 43
ktimoneyb3aef7b2021-09-13 08:27:58 +010080
81 # see https://wiki.onap.org/display/DW/OOM+NodePort+List
82
83ingress:
84 enabled: false
85 service:
Andreas Geissler51900a92022-08-03 13:10:35 +020086 - baseaddr: "policy-ui"
Andreas Geissleref27b9d2023-04-19 10:27:31 +020087 name: "policy-gui"
ktimoneyb3aef7b2021-09-13 08:27:58 +010088 port: 2443
89 config:
90 ssl: "redirect"
91
92#resources: {}
93 # We usually recommend not to specify default resources and to leave this as a conscious
94 # choice for the user. This also increases chances charts run on environments with little
95 # resources, such as Minikube. If you do want to specify resources, uncomment the following
96 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
97 #
98 # Example:
99 # Configure resource requests and limits
100 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
101 # Minimum memory for development is 2 CPU cores and 4GB memory
102 # Minimum memory for production is 4 CPU cores and 8GB memory
103resources:
104 small:
105 limits:
106 cpu: 1
107 memory: 200Mi
108 requests:
109 cpu: 1m
110 memory: 50Mi
111 large:
112 limits:
113 cpu: 1
114 memory: 500Mi
115 requests:
116 cpu: 10m
117 memory: 50Mi
118 unlimited: {}
119
120#Pods Service Account
121serviceAccount:
122 nameOverride: policy-gui
123 roles:
124 - read