[PORTAL-NG] Publish ui and bff charts in OOM
[oom.git] / kubernetes / portal-ng / components / portal-ng-ui / values.yaml
1 # Copyright © 2022, Deutsche Telekom
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #       http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 global:
16   ingress:
17     virtualhost:
18       # Default Ingress base URL
19       # can be overwritten in component by setting ingress.baseurlOverride
20       baseurl: "simpledemo.onap.org"
21       # prefix for baseaddr
22       # can be overwritten in component by setting ingress.preaddrOverride
23       preaddr: ""
24       # postfix for baseaddr
25       # can be overwritten in component by setting ingress.postaddrOverride
26       postaddr: ""
27
28 # Default values for ui.
29 # This is a YAML-formatted file.
30 # Declare variables to be passed into your templates.
31 image:
32   imageName: onap/portal-ng/ui
33   pullPolicy: Always
34   # Overrides the image tag whose default value is the chart appVersion.
35   # tag: 0.1.0
36
37 replicaCount: 1
38
39 # Specifies how many old replicas will be retained in a deployment
40 revisionHistoryLimit: 2
41
42 nameOverride: ""
43 fullnameOverride: ""
44 # This is the overall name on which this component is ar part of.
45 partOf: portal
46
47 service:
48   type: ClusterIP
49   port: 80
50   ports:
51     - name: http
52       port: 80
53
54 ingress:
55   enabled: true
56   service:
57     - baseaddr: "portal-ng-ui"
58       name: "portal-ng-ui"
59       port: 80
60   config:
61     ssl: "redirect"
62
63 resources: {}
64
65 autoscaling:
66   enabled: false
67   minReplicas: 1
68   maxReplicas: 10
69   targetCPUUtilizationPercentage: 80
70
71 probes:
72   readiness:
73     initialDelaySeconds: 20
74     failureThreshold: 4
75   liveness:
76     initialDelaySeconds: 20
77     failureThreshold: 4
78
79 nodeSelector: {}
80
81 tolerations: []
82
83 affinity: {}
84
85 env:
86   BFF_URL: http://portal-ng-bff.onap.svc.cluster.local:9080
87   NGINX_PORT: 80
88   KEYCLOAK_REALM: ONAP
89   KEYCLOAK_INTERNAL_URL: http://keycloak-http.keycloak.svc.cluster.local
90 # CLUSTER_NAMESERVER_IP address is needed in the openresty lua part of the nginx, because Lua don't find the nameserver without this setting.
91 # The IP will be used in the nginx / Lua setting for the resolver. You can get this value from /etc/resolver
92   CLUSTER_NAMESERVER_IP: 169.254.25.10
93
94 #Pods Service Account
95 serviceAccount:
96   nameOverride: portal-ng-ui
97   roles:
98     - read
99
100 nginx:
101   tilesPath: /usr/share/nginx/html/assets/tiles/tiles.json
102   tilesIconsPath: /usr/share/nginx/html/assets/images/tiles
103
104 tiles:
105   SDC_URL: "sdc-fe-ui"
106   POLICY_URL: "policy-ui"
107   SO_URL: "so-admin-cockpit-ui"
108   CDS_URL: "cds-ui"
109   HOLMES_URL: "holmes-rule-mgmt-ui"
110   AAI_URL: "aai-sparkybe-api"
111   SDNCDG_URL: "sdnc-dgbuilder-ui"
112   SDNCODL_URL: "sdnc-web-ui"