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