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

79 lines
1.6 KiB
YAML
Raw Normal View History

2023-04-16 05:05:17 +00:00
apiVersion: helm.toolkit.fluxcd.io/v2beta1
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
2023-04-16 05:05:17 +00:00
version: 1.3.x
sourceRef:
kind: HelmRepository
name: harbor-charts
namespace: flux-system
values:
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:
existingClaim: harbor-registry-pv-claim
subPath: "/registry"
# trivy:
# existingClaim:
# subPath: "/trivy"
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