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

85 lines
1.8 KiB
YAML
Raw Normal View History

2023-04-16 01:05:17 -04:00
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: harbor
2023-04-16 01:55:15 -04:00
namespace: harbor
2023-04-16 01:05:17 -04:00
spec:
interval: 5m
chart:
spec:
2023-04-16 01:29:00 -04:00
chart: harbor
2023-04-16 01:05:17 -04:00
version: 1.3.x
sourceRef:
kind: HelmRepository
name: harbor-charts
namespace: flux-system
values:
2023-04-16 13:39:24 -04:00
logLevel: debug
2023-04-16 01:05:17 -04:00
expose:
2023-04-16 01:23:39 -04:00
type: clusterIP
2023-04-16 01:05:17 -04:00
tls:
2023-04-16 01:23:39 -04: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 01:05:17 -04:00
persistence:
persistentVolumeClaim:
registry:
2023-04-16 02:06:11 -04:00
existingClaim: harbor-pv-claim
2023-04-16 01:56:10 -04:00
subPath: "registry/"
2023-04-16 02:05:34 -04:00
jobservice:
jobLog:
2023-04-16 02:06:11 -04:00
existingClaim: harbor-pv-claim
2023-04-16 02:05:34 -04:00
subPath: "jobservice/"
2023-04-16 01:05:17 -04:00
# trivy:
# existingClaim:
2023-04-16 01:56:10 -04:00
# subPath: "trivy/"
2023-04-16 01:05:17 -04:00
imageChartStorage:
type: s3
s3:
bucket: harbor
existingSecret: "harbor-secret"
2023-04-16 01:23:39 -04:00
regionendpoint: https://s3.seanomik.net:9000
2023-04-16 01:05:17 -04: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