---
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: podinfo
namespace: default
spec:
interval: 5m
url: https://git.badhouseplants.net/api/packages/allanger/helm
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
interval: 10m
timeout: 5m
chart:
chart: vaultwarden
version: '1.2.0'
sourceRef:
releaseName: vaultflux
install:
remediation:
retries: 3
upgrade:
test:
enable: true
driftDetection:
mode: enabled
ignore:
- paths: ["/spec/replicas"]
target:
kind: Deployment
postRenderers:
- kustomize:
patches:
- target:
labelSelector: app.kubernetes.io/instance=vaultflux
patch: |
- op: add
path: "/metadata/labels/argocd.argoproj.io~1instance"
value: vaultflux
values:
replicaCount: 2