theshire/kubernetes/apps/volsync-system/volsync/app/helmrelease.yaml

37 lines
1,021 B
YAML

---
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/helmrelease-helm-v2beta2.json
apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease
metadata:
name: volsync
spec:
interval: 30m
chart:
spec:
chart: volsync
version: 0.9.0
sourceRef:
kind: HelmRepository
name: backube
namespace: flux-system
interval: 30m
values:
manageCRDs: true
metrics:
disableAuth: true
# TODO: Refactor if/when https://github.com/backube/volsync/pull/1054 gets merged
postRenderers:
- kustomize:
patches:
- target:
version: v1
kind: Deployment
name: volsync
patch: |
- op: add
path: /spec/template/metadata/labels/egress.home.arpa~1apiserver
value: allow
- op: add
path: /spec/template/metadata/labels/egress.home.arpa~1kubedns
value: allow