Skip to content

Commit d643b12

Browse files
authored
Merge pull request #52 from seriohub/chart/0.1.21
Updated chart
2 parents 5b0e935 + 5517f27 commit d643b12

31 files changed

+349
-569
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.Trash*
2+
.vscode/
23
*seriok8s*.yaml
34
*csk8s*.yaml
45
bin/

CHANGELOG.md

+18
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,22 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
To check the updates for each individual component, refer to the respective changelogs.
6+
57
***
68

9+
## [v0.1.21] - 2025-02-07
10+
11+
🔄 Component Updates
12+
13+
- 🚀 Updated API to version 0.1.22
14+
- 🎨 Updated UI to version 0.1.21
15+
- 🛡️ Updated Watchdog to version 0.1.7
16+
17+
📊 Helm Chart Improvements
18+
19+
- ⚙️ Various optimizations and enhancements in the Helm chart for better deployment and configurability.
20+
721
## [v0.1.20] - 2025-01-23
822

923
- Updated API version to 0.1.21
@@ -124,6 +138,10 @@ All notable changes to this project will be documented in this file.
124138

125139
## Tags
126140

141+
v0.1.21: [https://github.com/seriohub/velero-helm/releases/tag/v0.1.21](https://github.com/seriohub/velero-helm/releases/tag/v0.1.21)
142+
143+
v0.1.20: [https://github.com/seriohub/velero-helm/releases/tag/v0.1.20](https://github.com/seriohub/velero-helm/releases/tag/v0.1.20)
144+
127145
v0.1.19: [https://github.com/seriohub/velero-helm/releases/tag/v0.1.19](https://github.com/seriohub/velero-helm/releases/tag/v0.1.19)
128146

129147
v0.1.18: [https://github.com/seriohub/velero-helm/releases/tag/v0.1.18](https://github.com/seriohub/velero-helm/releases/tag/v0.1.18)

README.md

-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ Velero-Helm is part of the VUI project.
44

55
[Read VUI project documentation](https://vui.seriohub.com/)
66

7-
Read the previous [readme](./README_old.md)
8-
97
## Acknowledgements
108

119
A huge thank you to everyone who:
File renamed without changes.

chart/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ annotations:
2525
# This is the chart version. This version number should be incremented each time you make changes
2626
# to the chart and its templates, including the app version.
2727
# Versions are expected to follow Semantic Versioning (https://semver.org/)
28-
version: 0.1.20
28+
version: 0.1.21
2929

3030
# This is the version number of the application being deployed. This version number should be
3131
# incremented each time you make changes to the application. Versions are not expected to
3232
# follow Semantic Versioning. They should reflect the version the application is using.
3333
# It is recommended to use it with quotes.
34-
appVersion: "0.1.18"
34+
appVersion: "0.1.19"

chart/README.md

+17-16
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# vui
22

3-
![Version: 0.1.20](https://img.shields.io/badge/Version-0.1.20-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.18](https://img.shields.io/badge/AppVersion-0.1.18-informational?style=flat-square)
3+
![Version: 0.1.21](https://img.shields.io/badge/Version-0.1.21-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.19](https://img.shields.io/badge/AppVersion-0.1.19-informational?style=flat-square)
44

55
Velero User Interface: a friendly UI and dashboard for Velero
66

@@ -27,8 +27,9 @@ Velero User Interface: a friendly UI and dashboard for Velero
2727
| api.apiServer.affinity | object | `{}` | Operator affinity |
2828
| api.apiServer.image.registry | string | `"docker.io"` | Image Registry |
2929
| api.apiServer.image.repository | string | `"dserio83/velero-api"` | Image Repository |
30-
| api.apiServer.image.tag | string | `"0.1.21"` | Image Tag |
30+
| api.apiServer.image.tag | string | `"0.1.22"` | Image Tag |
3131
| api.apiServer.imagePullPolicy | string | `"IfNotPresent"` | |
32+
| api.apiServer.imagePullSecrets | list | `[]` | |
3233
| api.apiServer.nodeSelector | object | `{}` | Operator nodeSelector |
3334
| api.apiServer.podSecurityContext | object | `{"enabled":false,"seccompProfile":{"type":"RuntimeDefault"}}` | SecurityContext for Pod |
3435
| api.apiServer.resources | object | `{}` | Resources for the Operator |
@@ -41,20 +42,18 @@ Velero User Interface: a friendly UI and dashboard for Velero
4142
| api.ports[0].protocol | string | `"TCP"` | |
4243
| api.ports[0].targetPort | string | `"api"` | |
4344
| api.replicas | int | `1` | |
44-
| api.type | string | `"ClusterIP"` | |
4545
| apiConfig.apiEnableDocumentation | string | `"1"` | Enabled/Disabled the fastapi documentation user interfaces |
4646
| apiConfig.apiEndpointPort | string | `"8001"` | Socket bind port |
4747
| apiConfig.apiEndpointUrl | string | `"0.0.0.0"` | Socket bind host |
48-
| apiConfig.apiRateLimiterCustom1 | string | `"Security:xxx:60:20"` | Custom security rate limiter: 60 seconds max requests 10 |
49-
| apiConfig.apiRateLimiterL1 | string | `"60:20"` | Rate limiter: 60 seconds max requests 10 |
48+
| apiConfig.apiRateLimiterCustom1 | string | `"Security:xxx:60:100"` | Custom security rate limiter: 60 seconds max requests 10 |
49+
| apiConfig.apiRateLimiterL1 | string | `"60:100"` | Rate limiter: 60 seconds max requests 10 |
5050
| apiConfig.apiTokenExpirationMin | string | `"60"` | Token validity after the creation (minutes) |
5151
| apiConfig.apiTokenRefreshExpirationDays | string | `"7"` | Token validity after the creation (days) |
5252
| apiConfig.debugLevel | string | `"info"` | Debug level info |
5353
| apiConfig.defaultAdminPassword | string | `"admin"` | Default admin password |
5454
| apiConfig.defaultAdminUsername | string | `"admin"` | Default admin username |
5555
| apiConfig.downloadTmpFolder | string | `"/tmp/velero-api"` | Destination folder when executing velero backup download |
5656
| apiConfig.existingSecret | string | `nil` | Reference to own secret |
57-
| apiConfig.k8SInClusterMode | string | `"True"` | Enabled if is deployed in a cluster |
5857
| apiConfig.origins1 | string | `"*"` | Allowed origin |
5958
| apiConfig.resticPassword | string | `"static-passw0rd"` | Velero restic password |
6059
| apiConfig.securityDisableUsersPwdRate | string | `"1"` | If True user can have a weak password, otherwise is required a strong password |
@@ -68,19 +67,21 @@ Velero User Interface: a friendly UI and dashboard for Velero
6867
| apiConfig.veleroCliPathCustom | string | `"./velero-client-binary"` | Path where the user can store manually the binary file |
6968
| apiConfig.veleroCliVersion | string | `"v1.12.2"` | Name of the velero client release to be used |
7069
| apiSa.serviceAccount.annotations | object | `{}` | |
70+
| clusterIpService.enabled | bool | `false` | Enable or disable ClusterIP services |
7171
| global.agentMode | bool | `false` | Agent mode: If true, the UI will not be installed |
7272
| global.clusterName | string | `"<cluster-name>"` | ClusterName |
73-
| global.kubernetesClusterDomain | string | `"cluster.local"` | Kubernetes Cluster Domain |
74-
| global.veleroNamespace | string | `"velero"` | Namespace of velero installation |
73+
| global.k8SInclusterMode | string | `"True"` | Enable in cluster mode |
74+
| global.veleroNamespace | string | `"velero"` | Name of the namespace where vmware-tanzu/velero is deployed |
7575
| k8SReadOnlyServiceAccount.serviceAccount.annotations | object | `{}` | |
7676
| report.failedJobsHistoryLimit | int | `0` | |
7777
| report.schedule | string | `"0 8 * * *"` | Cron for full report |
7878
| report.successfulJobsHistoryLimit | int | `0` | |
7979
| report.veleroWatchdogReport.affinity | object | `{}` | Operator affinity |
8080
| report.veleroWatchdogReport.image.registry | string | `"docker.io"` | Image Registry |
8181
| report.veleroWatchdogReport.image.repository | string | `"dserio83/velero-watchdog"` | Image Repository |
82-
| report.veleroWatchdogReport.image.tag | string | `"0.1.6"` | Image Tag |
82+
| report.veleroWatchdogReport.image.tag | string | `"0.1.7"` | Image Tag |
8383
| report.veleroWatchdogReport.imagePullPolicy | string | `"IfNotPresent"` | |
84+
| report.veleroWatchdogReport.imagePullSecrets | list | `[]` | |
8485
| report.veleroWatchdogReport.nodeSelector | object | `{}` | Operator nodeSelector |
8586
| report.veleroWatchdogReport.podSecurityContext | object | `{"enabled":false,"seccompProfile":{"type":"RuntimeDefault"}}` | SecurityContext for Pod |
8687
| report.veleroWatchdogReport.resources | object | `{}` | Resources for the Operator |
@@ -93,12 +94,12 @@ Velero User Interface: a friendly UI and dashboard for Velero
9394
| ui.ports[0].protocol | string | `"TCP"` | |
9495
| ui.ports[0].targetPort | string | `"run"` | |
9596
| ui.replicas | int | `1` | |
96-
| ui.type | string | `"ClusterIP"` | |
9797
| ui.webServer.affinity | object | `{}` | Operator affinity |
9898
| ui.webServer.image.registry | string | `"docker.io"` | Image Registry |
9999
| ui.webServer.image.repository | string | `"dserio83/velero-ui"` | Image Repository |
100-
| ui.webServer.image.tag | string | `"0.1.20"` | Image Tag |
100+
| ui.webServer.image.tag | string | `"0.1.21"` | Image Tag |
101101
| ui.webServer.imagePullPolicy | string | `"IfNotPresent"` | Image pull policy |
102+
| ui.webServer.imagePullSecrets | list | `[]` | |
102103
| ui.webServer.nodeSelector | object | `{}` | Operator nodeSelector |
103104
| ui.webServer.podSecurityContext | object | `{"enabled":false,"seccompProfile":{"type":"RuntimeDefault"}}` | SecurityContext for Pod |
104105
| ui.webServer.resources | object | `{}` | Resources for the Operator |
@@ -127,8 +128,9 @@ Velero User Interface: a friendly UI and dashboard for Velero
127128
| watchdog.veleroMonitoring.affinity | object | `{}` | Operator affinity |
128129
| watchdog.veleroMonitoring.image.registry | string | `"docker.io"` | Image Registry |
129130
| watchdog.veleroMonitoring.image.repository | string | `"dserio83/velero-watchdog"` | Image Repository |
130-
| watchdog.veleroMonitoring.image.tag | string | `"0.1.6"` | Image Tag |
131+
| watchdog.veleroMonitoring.image.tag | string | `"0.1.7"` | Image Tag |
131132
| watchdog.veleroMonitoring.imagePullPolicy | string | `"IfNotPresent"` | |
133+
| watchdog.veleroMonitoring.imagePullSecrets | list | `[]` | |
132134
| watchdog.veleroMonitoring.nodeSelector | object | `{}` | Operator nodeSelector |
133135
| watchdog.veleroMonitoring.podSecurityContext | object | `{"enabled":false,"seccompProfile":{"type":"RuntimeDefault"}}` | SecurityContext for Pod |
134136
| watchdog.veleroMonitoring.resources | object | `{"limits":{"cpu":"500m","memory":"1256Mi"},"requests":{"cpu":"250m","memory":"256Mi"}}` | Resources for the Operator |
@@ -142,25 +144,24 @@ Velero User Interface: a friendly UI and dashboard for Velero
142144
| watchdogConfig.apiEndpointURL | string | `"0.0.0.0"` | Socket bind host |
143145
| watchdogConfig.backupEnable | string | `"True"` | Enable watcher for backups without schedule or last backup for each schedule |
144146
| watchdogConfig.debug | string | `"False"` | View debugging information. |
145-
| watchdogConfig.debugLevel | string | `"Info"` | Debug level information. |
147+
| watchdogConfig.debugLevel | string | `"info"` | Debug level information. |
146148
| watchdogConfig.emailAccount | string | `"<email>"` | User name account |
147149
| watchdogConfig.emailEnable | string | `"False"` | Enable email notification |
148150
| watchdogConfig.emailPassword | string | `"<pwd>"` | Email password account |
149151
| watchdogConfig.emailRecipients | string | `"<recipients>"` | Email recipients semicolon separated |
150152
| watchdogConfig.emailSmtpPort | string | `"<smtp-port>"` | SMTP port |
151153
| watchdogConfig.emailSmtpServer | string | `"<smtp-server>"` | SMTP server |
152154
| watchdogConfig.expiresDaysWarning | string | `"29"` | Number of days to backup expiration below which to display a warning about the backup |
153-
| watchdogConfig.k8SInclusterMode | string | `"True"` | Enable in cluster mode |
154-
| watchdogConfig.k8sVeleroNamespace | string | `"velero"` | Name of the namespace where vmware-tanzu/velero is deployed |
155155
| watchdogConfig.notificationSkipCompleted | string | `"True"` | Skip notification new completed backup |
156156
| watchdogConfig.notificationSkipDeleting | string | `"True"` | Skip notification backup deleting |
157157
| watchdogConfig.notificationSkipInProgress | string | `"True"` | Skip notification new in progress backup |
158158
| watchdogConfig.notificationSkipRemoved | string | `"True"` | Skip notification backup removed |
159-
| watchdogConfig.processClusterName | string | `"<cluster-name>"` | Force the cluster name and it appears in the message |
160159
| watchdogConfig.processCycleSec | string | `"300"` | Cycle time (seconds) |
161160
| watchdogConfig.reportBackupItemPrefix | string | `""` | Add a prefix to backup items in reports |
162161
| watchdogConfig.reportScheduleItemPrefix | string | `""` | Add a prefix to schedule items in reports |
163162
| watchdogConfig.scheduleEnable | string | `"True"` | Enable watcher for schedule |
163+
| watchdogConfig.sendReportAtStartup | string | `"False"` | Send report at startup |
164+
| watchdogConfig.sendStartMessage | string | `"True"` | Send notification message at startup |
164165
| watchdogConfig.slackChannel | string | `"<channel-id>"` | Channel id where sens the notification |
165166
| watchdogConfig.slackEnable | string | `"False"` | Enable Slack notification |
166167
| watchdogConfig.slackToken | string | `"<token>"` | Token for access to Slack via Http API |

chart/templates/api/configmap.yaml

+22-15
Original file line numberDiff line numberDiff line change
@@ -6,28 +6,35 @@ metadata:
66
labels:
77
{{- include "seriohub-velero.labels" $ | nindent 4 }}
88
data:
9-
# Static
10-
DOWNLOAD_TMP_FOLDER: "/tmp/velero-api"
11-
SECURITY_PATH_DATABASE: "./data"
12-
VELERO_CLI_DEST_PATH: "/usr/local/bin"
9+
API_ENDPOINT_URL: {{ .apiEndpointUrl | quote }}
10+
API_ENDPOINT_PORT: {{ .apiEndpointPort | quote }}
11+
12+
DEBUG_LEVEL: {{ .debugLevel | quote }}
13+
14+
CLUSTER_ID: {{ $.Values.global.clusterName | quote }}
15+
K8S_IN_CLUSTER_MODE: {{ $.Values.global.k8SInclusterMode | quote }}
16+
K8S_VELERO_NAMESPACE: {{ $.Values.global.veleroNamespace }}
17+
K8S_VELERO_UI_NAMESPACE: {{ $.Release.Namespace }}
1318

1419
API_ENABLE_DOCUMENTATION: {{ .apiEnableDocumentation | quote }}
15-
API_ENDPOINT_PORT: {{ .apiEndpointPort | quote }}
16-
API_ENDPOINT_URL: {{ .apiEndpointUrl | quote }}
17-
API_RATE_LIMITER_CUSTOM_1: {{ .apiRateLimiterCustom1 | quote }}
20+
1821
API_RATE_LIMITER_L1: {{ .apiRateLimiterL1 | quote }}
22+
API_RATE_LIMITER_CUSTOM_1: {{ .apiRateLimiterCustom1 | quote }}
1923
API_TOKEN_EXPIRATION_MIN: {{ .apiTokenExpirationMin | quote }}
2024
API_TOKEN_REFRESH_EXPIRATION_DAYS: {{ .apiTokenRefreshExpirationDays | quote }}
21-
DEBUG_LEVEL: {{ .debugLevel | quote }}
22-
K8S_IN_CLUSTER_MODE: {{ .k8SInClusterMode | quote }}
23-
K8S_VELERO_NAMESPACE: {{ $.Values.global.veleroNamespace }}
24-
K8S_VELERO_UI_NAMESPACE: {{ $.Release.Namespace }}
25+
2526
ORIGINS_1: {{ .origins1 | quote }}
26-
SECURITY_DISABLE_USERS_PWD_RATE: {{ .securityDisableUsersPwdRate | quote }}
27+
2728
VELERO_CLI_PATH: {{ .veleroCliPath | quote }}
2829
VELERO_CLI_PATH_CUSTOM: {{ .veleroCliPathCustom | quote }}
2930
VELERO_CLI_VERSION: {{ .veleroCliVersion | quote }}
30-
VELERO_WATCHDOG_URL: {{ include "seriohub-velero.fullname" $ }}-watchdog-clusterip
31-
VELERO_WATCHDOG_PORT: "{{ $.Values.watchdogClusterip.port }}"
32-
REPORT_CRONJOB_NAME: {{ include "seriohub-velero.fullname" $ }}-report
31+
VELERO_CLI_DEST_PATH: "/usr/local/bin"
32+
DOWNLOAD_TMP_FOLDER: "/tmp/velero-api"
33+
34+
WATCHDOG_URL: {{ include "seriohub-velero.fullname" $ }}-watchdog
35+
WATCHDOG_PORT: "{{ $.Values.watchdogClusterip.port }}"
36+
WATCHDOG_REPORT_CRONJOB_NAME: {{ include "seriohub-velero.fullname" $ }}-report
37+
38+
SECURITY_PATH_DATABASE: "./data"
39+
SECURITY_DISABLE_USERS_PWD_RATE: {{ .securityDisableUsersPwdRate | quote }}
3340
{{- end }}

chart/templates/api/deployment.yaml

+2-12
Original file line numberDiff line numberDiff line change
@@ -34,21 +34,11 @@ spec:
3434
valueFrom:
3535
fieldRef:
3636
fieldPath: metadata.namespace
37-
- name: KUBERNETES_CLUSTER_DOMAIN
38-
value: {{ quote .Values.global.kubernetesClusterDomain }}
39-
- name: HELM_VERSION
40-
value: {{ .Chart.Version }}
41-
- name: HELM_APP_VERSION
42-
value: {{ .Chart.AppVersion }}
43-
- name: HELM_API
44-
value: {{ .Values.api.apiServer.image.tag }}
45-
- name: HELM_UI
46-
value: {{ .Values.ui.webServer.image.tag }}
47-
- name: HELM_WATCHDOG
48-
value: {{ .Values.watchdog.veleroMonitoring.image.tag }}
4937
envFrom:
5038
- configMapRef:
5139
name: velero-api-config
40+
- configMapRef:
41+
name: vui-helm-config
5242
- secretRef:
5343
name: {{ include "seriohub-velero.secretName" . }}
5444
image: "{{ .Values.api.apiServer.image.registry | trimSuffix "/" }}/{{ .Values.api.apiServer.image.repository }}:{{ .Values.api.apiServer.image.tag }}"

chart/templates/api/rbac_role_api_mgmt.yaml chart/templates/api/rbac_role_vui.yaml

+18-21
Original file line numberDiff line numberDiff line change
@@ -2,36 +2,33 @@ apiVersion: rbac.authorization.k8s.io/v1
22
kind: Role
33
metadata:
44
name: {{ include "seriohub-velero.fullname" . }}-api-mgmt-role
5+
namespace: "{{ .Release.Namespace }}"
56
labels:
6-
{{- include "seriohub-velero.labels" . | nindent 4 }}
7+
{{- include "seriohub-velero.labels" . | nindent 4 }}
78
rules:
8-
- apiGroups:
9-
- ""
10-
resources:
11-
- configmaps
12-
verbs:
13-
- "*"
14-
- apiGroups:
15-
- ""
16-
resources:
17-
- pods/log
18-
verbs:
19-
- "*"
20-
- apiGroups:
21-
- "batch"
22-
resources:
23-
- "cronjobs"
24-
verbs:
25-
- "get"
26-
- "list"
27-
- "watch"
9+
- apiGroups: [""]
10+
resources: ["configmaps"]
11+
verbs: ["*"]
12+
- apiGroups: [""]
13+
resources: ["pods/log"]
14+
verbs: ["*"]
15+
- apiGroups: ["batch"]
16+
resources: ["cronjobs"]
17+
verbs: ["get", "list", "watch"]
18+
- apiGroups: [""]
19+
resources: ["secrets"]
20+
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]
21+
- apiGroups: ["apps"]
22+
resources: ["deployments"]
23+
verbs: ["get", "patch"]
2824
---
2925
apiVersion: rbac.authorization.k8s.io/v1
3026
kind: RoleBinding
3127
metadata:
3228
name: {{ include "seriohub-velero.fullname" . }}-api-role-binding
3329
labels:
3430
{{- include "seriohub-velero.labels" . | nindent 4 }}
31+
namespace: "{{ .Release.Namespace }}"
3532
roleRef:
3633
apiGroup: rbac.authorization.k8s.io
3734
kind: Role
File renamed without changes.

chart/templates/api/secret.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ type: Opaque
99
{{- with .Values.apiConfig }}
1010
stringData:
1111
RESTIC_PASSWORD: {{ .resticPassword | quote }}
12-
SECURITY_PATH_DATABASE: {{ .securityPathDatabase | quote }}
1312
{{- if not (quote .securityTokenKey | empty) }}
1413
SECURITY_TOKEN_KEY: {{ .securityTokenKey }}
1514
{{- end }}

chart/templates/api/service_clusterip.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
{{- if .Values.uiIngress.enabled }}
1+
{{- if or .Values.uiIngress.enabled .Values.clusterIpService.enabled}}
22
apiVersion: v1
33
kind: Service
44
metadata:
55
name: {{ include "seriohub-velero.fullname" . }}-api
66
labels:
77
{{- include "seriohub-velero.labels" . | nindent 4 }}
88
spec:
9-
type: {{ .Values.api.type }}
9+
type: ClusterIP
1010
selector:
1111
app: velero-api
1212
layer: api

chart/templates/helm_configmap.yaml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
apiVersion: v1
2+
kind: ConfigMap
3+
metadata:
4+
name: vui-helm-config
5+
labels:
6+
{{- include "seriohub-velero.labels" $ | nindent 4 }}
7+
data:
8+
HELM_VERSION: {{ $.Chart.Version }}
9+
HELM_APP_VERSION: {{ $.Chart.AppVersion }}
10+
HELM_API: {{ $.Values.api.apiServer.image.tag }}
11+
HELM_UI: {{ $.Values.ui.webServer.image.tag }}
12+
HELM_WATCHDOG: {{ $.Values.watchdog.veleroMonitoring.image.tag }}
13+
AGENT_MODE: {{ $.Values.global.agentMode | quote }}

chart/templates/ui/configmap.yaml

+13-4
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,33 @@ metadata:
66
labels:
77
{{- include "seriohub-velero.labels" . | nindent 4 }}
88
data:
9+
# Configuration
910
NEXT_PUBLIC_REFRESH_DATATABLE_AFTER: {{ .Values.uiConfig.nextPublicRefreshDatatableAfter | quote }}
1011
NEXT_PUBLIC_REFRESH_RECENT: {{ .Values.uiConfig.nextPublicRefreshRecent | quote }}
11-
NEXT_PUBLIC_VELERO_API_NAME_1: {{ .Values.global.clusterName | quote }}
12-
NEXT_PUBLIC_LOGGER_ENABLED: {{ .Values.global.nextPublicLoggerEnabled | quote }}
12+
NEXT_PUBLIC_LOGGER_ENABLED: {{ .Values.uiConfig.nextPublicLoggerEnabled | quote }}
13+
14+
#
15+
# Main API Agent Name
16+
#
17+
NEXT_PUBLIC_VELERO_API_NAME_1: {{ .Values.global.clusterName | quote }}
1318
#
14-
# Ingress
19+
# Main API Ingress
1520
#
1621
{{- if .Values.uiIngress.enabled }}
1722
NEXT_PUBLIC_VELERO_API_URL_1: {{ printf "https://%s/api" (index (index .Values.uiIngress.spec.tls 0).hosts 0) | quote }}
1823
NEXT_PUBLIC_VELERO_API_WS_1: {{ printf "wss://%s" (index (index .Values.uiIngress.spec.tls 0).hosts 0) | quote }}
1924
{{- end }}
2025
#
21-
# NodePort
26+
# Main API NodePort
2227
#
2328
{{- if .Values.uiNp.enabled }}
2429
NEXT_PUBLIC_VELERO_API_URL_1: {{ printf "http://%s:%s/api" .Values.uiNp.ip .Values.uiNp.apiPort | quote }}
2530
NEXT_PUBLIC_VELERO_API_WS_1: {{ printf "ws://%s:%s" .Values.uiNp.ip .Values.uiNp.apiPort | quote }}
2631
{{- end }}
32+
33+
#
34+
# Experimental multiple clusters at the login without core
35+
#
2736
{{- if eq .Values.uiConfig.experimental true }}
2837
NEXT_PUBLIC_LOGIN_CLUSTERS_SWITCH: "true"
2938
NEXT_PUBLIC_VELERO_API_NAME_2: {{ .Values.uiConfig.exNextPublicVeleroApiName2 | quote }}

0 commit comments

Comments
 (0)