1
0
forked from k-space/kube

expose harbor via traefik

This commit is contained in:
Erki Aas 2024-09-09 00:06:31 +03:00
parent e89d045f38
commit 52ce6eab0a

View File

@ -1,21 +1,17 @@
expose:
type: loadBalancer
type: ingress
tls:
enabled: true
certSource: secret
secret:
secretName: "harbor-ingress"
loadBalancer:
name: harbor
ports:
httpPort: 80
httpsPort: 443
ingress:
hosts:
core: harbor.k-space.ee
annotations:
cert-manager.io/cluster-issuer: default
external-dns.alpha.kubernetes.io/hostname: harbor.k-space.ee
metallb.universe.tf/address-pool: elisa
cert-manager.io/cluster-issuer: default
kubernetes.io/ingress.class: traefik
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.tls: "true"
external-dns.alpha.kubernetes.io/target: traefik.k-space.ee
labels: {}
sourceRanges: []
externalURL: https://harbor.k-space.ee
@ -48,7 +44,7 @@ persistence:
# Refer to
# https://github.com/distribution/distribution/blob/main/docs/configuration.md#redirect
# for the detail.
disableredirect: true
disableredirect: false
type: s3
s3:
# Set an existing secret for S3 accesskey and secretkey