Files
auricom-home-cluster/cluster/apps/development/docker-registry/helm-release.yaml
2022-03-20 01:21:59 +01:00

56 lines
1.3 KiB
YAML

---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: docker-registry
namespace: development
spec:
interval: 5m
chart:
spec:
# renovate: registryUrl=https://helm.twun.io
chart: docker-registry
version: 2.1.0
sourceRef:
kind: HelmRepository
name: twuni-charts
namespace: flux-system
interval: 5m
values:
storage: s3
persistence:
deleteEnabled: true
s3:
region: "us-east-1"
regionEndpoint: ${SECRET_MINIO_ENDPOINT}
bucket: docker-registry-v2
encrypt: false
secure: true
secrets:
htpasswd: ${SECRET_DOCKER_REGISTRY_HTPASSWD}
s3:
accessKey: ${SECRET_MINIO_ACCESS_KEY}
secretKey: ${SECRET_MINIO_SECRET_KEY}
service:
annotations:
prometheus.io/probe: "true"
prometheus.io/protocol: http
ingress:
enabled: true
className: nginx
annotations:
nginx.ingress.kubernetes.io/proxy-body-size: "0"
nginx.ingress.kubernetes.io/proxy-read-timeout: "600"
nginx.ingress.kubernetes.io/proxy-send-timeout: "600"
hosts:
- "registry.${SECRET_CLUSTER_DOMAIN}"
tls:
- hosts:
- "registry.${SECRET_CLUSTER_DOMAIN}"
secretName: "${SECRET_CLUSTER_CERTIFICATE_DEFAULT}"