1
0
forked from k-space/kube

expose harbor via dedicated lb on storage nodes

This commit is contained in:
Erki Aas 2024-08-23 21:34:05 +03:00
parent 36055cc869
commit a94a3f829c

View File

@ -1,17 +1,21 @@
expose: expose:
type: ingress type: loadBalancer
tls: tls:
enabled: true enabled: true
ingress: certSource: secret
hosts: secret:
core: harbor.k-space.ee secretName: "harbor-ingress"
loadBalancer:
name: harbor
ports:
httpPort: 80
httpsPort: 443
annotations: annotations:
cert-manager.io/cluster-issuer: default cert-manager.io/cluster-issuer: default
kubernetes.io/ingress.class: traefik external-dns.alpha.kubernetes.io/hostname: harbor.k-space.ee
traefik.ingress.kubernetes.io/router.entrypoints: websecure metallb.universe.tf/address-pool: elisa
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
@ -139,3 +143,49 @@ redis:
addr: "dragonfly:6379" addr: "dragonfly:6379"
username: "" username: ""
password: "MvYcuU0RaIu1SX7fY1m1JrgLUSaZJjge" password: "MvYcuU0RaIu1SX7fY1m1JrgLUSaZJjge"
nginx:
nodeSelector:
dedicated: storage
tolerations:
- key: dedicated
operator: Equal
value: storage
effect: NoSchedule
portal:
nodeSelector:
dedicated: storage
tolerations:
- key: dedicated
operator: Equal
value: storage
effect: NoSchedule
core:
nodeSelector:
dedicated: storage
tolerations:
- key: dedicated
operator: Equal
value: storage
effect: NoSchedule
jobservice:
nodeSelector:
dedicated: storage
tolerations:
- key: dedicated
operator: Equal
value: storage
effect: NoSchedule
registry:
nodeSelector:
dedicated: storage
tolerations:
- key: dedicated
operator: Equal
value: storage
effect: NoSchedule