k3s-cluster/cluster/apps/harbor/helm-release.yaml

85 lines
1.8 KiB
YAML
Raw Normal View History

apiVersion: helm.toolkit.fluxcd.io/v2beta2
2023-04-16 05:05:17 +00:00
kind: HelmRelease
metadata:
name: harbor
2023-04-16 05:55:15 +00:00
namespace: harbor
2023-04-16 05:05:17 +00:00
spec:
interval: 5m
chart:
spec:
2023-04-16 05:29:00 +00:00
chart: harbor
version: 1.14.x
2023-04-16 05:05:17 +00:00
sourceRef:
kind: HelmRepository
name: harbor-charts
namespace: flux-system
values:
2023-04-16 17:39:24 +00:00
logLevel: debug
2023-04-16 05:05:17 +00:00
expose:
2023-04-16 05:23:39 +00:00
type: clusterIP
2023-04-16 05:05:17 +00:00
tls:
2023-04-16 05:23:39 +00:00
enabled: false
# secret:
# secretName: wildcard-main-tls
# notarySecretName: wildcard-main-tls
#
# ingress:
# hosts:
# core: oci.${SECRET_NEW_DOMAIN}
# notary: charts.${SECRET_NEW_DOMAIN}
#
# annotations:
# cert-manager.io/cluster-issuer: letsencrypt-production
# traefik.ingress.kubernetes.io/router.entrypoints: websecure
2023-04-16 05:05:17 +00:00
persistence:
persistentVolumeClaim:
registry:
2023-04-16 06:06:11 +00:00
existingClaim: harbor-pv-claim
2023-04-16 05:56:10 +00:00
subPath: "registry/"
2023-04-16 06:05:34 +00:00
jobservice:
jobLog:
2023-04-16 06:06:11 +00:00
existingClaim: harbor-pv-claim
2023-04-16 06:05:34 +00:00
subPath: "jobservice/"
2023-04-16 05:05:17 +00:00
# trivy:
# existingClaim:
2023-04-16 05:56:10 +00:00
# subPath: "trivy/"
2023-04-16 05:05:17 +00:00
imageChartStorage:
type: s3
s3:
bucket: harbor
existingSecret: "harbor-secret"
2023-04-16 05:23:39 +00:00
regionendpoint: https://s3.seanomik.net:9000
2023-04-16 05:05:17 +00:00
notary:
enabled: false
trivy:
enabled: false
database:
type: external
external:
host: "postgresql.database"
port: "5432"
username: "k3spostgresql"
existingSecret: "harbor-secret"
coreDatabase: "harbor-registry"
redis:
type: external
external:
addr: "redis-master.database:6379"
username: ""
existingSecret: "harbor-secret"
metrics:
enabled: true
serviceMonitor:
enabled: true