[bitnami/harbor]fix(validateValues.externalRedis): Check if trivy is enabled (#33953)

* [bitnami/harbor]fix(validateValues.externalRedis): Check if trivy is enabled

Signed-off-by: Fran Mulero <francisco-jose.mulero@broadcom.com>

* Update CHANGELOG.md

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>

---------

Signed-off-by: Fran Mulero <francisco-jose.mulero@broadcom.com>
Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
Co-authored-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
Fran Mulero
2025-05-29 11:54:48 +02:00
committed by GitHub
parent 7fb79f857a
commit 2d7b32caf4
3 changed files with 7 additions and 3 deletions

View File

@@ -1,8 +1,12 @@
# Changelog
## 26.3.1 (2025-05-29)
* [bitnami/harbor]fix(validateValues.externalRedis): Check if trivy is enabled ([#33953](https://github.com/bitnami/charts/pull/33953))
## 26.3.0 (2025-05-26)
* [bitnami/harbor] feat: add support for consuming Redis passwords from existing secrets ([#33884](https://github.com/bitnami/charts/pull/33884))
* [bitnami/harbor] feat: add support for consuming Redis passwords from existing secrets (#33884) ([329a315](https://github.com/bitnami/charts/commit/329a315720361cb389dedd2f815cd1a119856211)), closes [#33884](https://github.com/bitnami/charts/issues/33884)
## 26.2.0 (2025-05-26)

View File

@@ -56,4 +56,4 @@ maintainers:
name: harbor
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/harbor
version: 26.3.0
version: 26.3.1

View File

@@ -560,7 +560,7 @@ harbor: Redis Mutual TLS
{{/* Validate values of Harbor - externalRedis configuration */}}
{{- define "harbor.validateValues.externalRedis" -}}
{{- if and .Values.externalRedis.instancePerComponent ( or ( not .Values.externalRedis.core.host ) ( not .Values.externalRedis.jobservice.host ) ( not .Values.externalRedis.trivy.host ) ( not .Values.externalRedis.registry.host ) ) -}}
{{- if and .Values.externalRedis.instancePerComponent ( or ( not .Values.externalRedis.core.host ) ( not .Values.externalRedis.jobservice.host ) ( and .Values.externalRedis.trivy.enabled ( not .Values.externalRedis.trivy.host ) ) ( not .Values.externalRedis.registry.host ) ) -}}
harbor: External Redis instance per Harbor component
Following values are mandatory when externalRedis.instancePerComponent is set:
* externalRedis.core.host