blob: a1810d387c708f2cdb6a11b16058451cf01316b9 [file] [log] [blame]
ktimoneyb3aef7b2021-09-13 08:27:58 +01001# ============LICENSE_START=======================================================
2# Copyright (C) 2021 Nordix Foundation.
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# 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
25 #AAF service
26 aafEnabled: true
27
28#################################################################
29# AAF part
30#################################################################
31certInitializer:
32 permission_user: 1000
33 permission_group: 999
34 addconfig: true
35 keystoreFile: "org.onap.clamp.p12"
36 truststoreFile: "org.onap.clamp.trust.jks"
37 keyFile: "org.onap.clamp.keyfile"
38 truststoreFileONAP: "truststoreONAPall.jks"
39 clamp_key: "clamp.key"
40 clamp_pem: "clamp.pem"
41 clamp_ca_certs_pem: "clamp-ca-certs.pem"
42 nameOverride: policy-gui-cert-initializer
43 aafDeployFqi: deployer@people.osaaf.org
44 aafDeployPass: demo123456!
45 # aafDeployCredsExternalSecret: some secret
46 fqdn: clamp
47 fqi: clamp@clamp.onap.org
48 public_fqdn: clamp.onap.org
49 cadi_longitude: "0.0"
50 cadi_latitude: "0.0"
51 app_ns: org.osaaf.aaf
52 credsPath: /opt/app/osaaf/local
53 aaf_add_config: >
54 cd {{ .Values.credsPath }};
55 openssl pkcs12 -in {{ .Values.keystoreFile }} -nocerts -nodes -passin pass:$cadi_keystore_password_p12 > {{ .Values.clamp_key }};
56 openssl pkcs12 -in {{ .Values.keystoreFile }} -clcerts -nokeys -passin pass:$cadi_keystore_password_p12 > {{ .Values.clamp_pem }};
57 openssl pkcs12 -in {{ .Values.keystoreFile }} -cacerts -nokeys -chain -passin pass:$cadi_keystore_password_p12 > {{ .Values.clamp_ca_certs_pem }};
58 chmod a+rx *;
59
60subChartsOnly:
61 enabled: true
62
63flavor: small
64
65# application image
liamfallon66c78e52021-10-14 13:15:45 +010066image: onap/policy-gui:2.1.1
ktimoneyb3aef7b2021-09-13 08:27:58 +010067pullPolicy: Always
68
69# flag to enable debugging - application support required
70debugEnabled: false
71
72# log configuration
73log:
74 path: /var/log/nginx/
75
76#################################################################
77# Application configuration defaults.
78#################################################################
79config:
80 log:
81 logstashServiceName: log-ls
82 logstashPort: 5044
83 dataRootDir: /dockerdata-nfs
84
85# default number of instances
86replicaCount: 1
87
88nodeSelector: {}
89
90affinity: {}
91
92# probe configuration parameters
93liveness:
94 initialDelaySeconds: 120
95 periodSeconds: 10
96 timeoutSeconds: 3
97 # necessary to disable liveness probe when setting breakpoints
98 # in debugger so K8s doesn't restart unresponsive container
99 enabled: true
100
101readiness:
102 initialDelaySeconds: 10
103 periodSeconds: 10
104 timeoutSeconds: 3
105
106service:
107 type: NodePort
108 name: policy-gui
109 portName: policy-gui
110 internalPort: 2443
111 nodePort: 43
112
113 # see https://wiki.onap.org/display/DW/OOM+NodePort+List
114
115ingress:
116 enabled: false
117 service:
118 - baseaddr: "policygui.api"
119 name: "policygui"
120 port: 2443
121 config:
122 ssl: "redirect"
123
124#resources: {}
125 # We usually recommend not to specify default resources and to leave this as a conscious
126 # choice for the user. This also increases chances charts run on environments with little
127 # resources, such as Minikube. If you do want to specify resources, uncomment the following
128 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
129 #
130 # Example:
131 # Configure resource requests and limits
132 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
133 # Minimum memory for development is 2 CPU cores and 4GB memory
134 # Minimum memory for production is 4 CPU cores and 8GB memory
135resources:
136 small:
137 limits:
138 cpu: 1
139 memory: 200Mi
140 requests:
141 cpu: 1m
142 memory: 50Mi
143 large:
144 limits:
145 cpu: 1
146 memory: 500Mi
147 requests:
148 cpu: 10m
149 memory: 50Mi
150 unlimited: {}
151
152#Pods Service Account
153serviceAccount:
154 nameOverride: policy-gui
155 roles:
156 - read