fix: update nginx TLS condition, set default commonName, and increase registry storage size

This commit is contained in:
2026-04-13 19:12:49 +07:00
parent 8f1b48e154
commit 25b5f0cf00
2 changed files with 3 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
{{- if and (ne .Values.expose.type "ingress") (ne .Values.expose.type "route") (.Values.expose.tls.enabled) }}
{{- if and (ne .Values.expose.type "ingress") (.Values.expose.tls.enabled) }}
{{- if eq (include "harbor.autoGenCertForNginx" .) "true" }}
{{- $ca := genCA "harbor-ca" 365 }}
{{- $cn := (required "The \"expose.tls.auto.commonName\" is required!" .Values.expose.tls.auto.commonName) }}

View File

@@ -20,7 +20,7 @@ expose:
auto:
# The common name used to generate the certificate, it's necessary
# when the type isn't "ingress"
commonName: ""
commonName: "harbor.fireflylab.local"
secret:
# The name of secret which contains keys named:
# "tls.crt" - the certificate
@@ -152,7 +152,7 @@ persistence:
storageClass: "longhorn-storage-delete"
subPath: ""
accessMode: ReadWriteOnce
size: 5Gi
size: 15Gi
annotations: {}
jobservice:
jobLog: