53 lines
1.0 KiB
YAML
53 lines
1.0 KiB
YAML
---
|
|
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
|
|
metadata:
|
|
name: podinfo
|
|
namespace: default
|
|
spec:
|
|
interval: 10m
|
|
timeout: 5m
|
|
chart:
|
|
spec:
|
|
chart: vaultwarden
|
|
version: '1.2.0'
|
|
sourceRef:
|
|
kind: HelmRepository
|
|
name: podinfo
|
|
interval: 5m
|
|
releaseName: vaultflux
|
|
install:
|
|
remediation:
|
|
retries: 3
|
|
upgrade:
|
|
remediation:
|
|
retries: 3
|
|
test:
|
|
enable: true
|
|
driftDetection:
|
|
mode: enabled
|
|
ignore:
|
|
- paths: ["/spec/replicas"]
|
|
target:
|
|
kind: Deployment
|
|
postRenderers:
|
|
- kustomize:
|
|
patches:
|
|
- target:
|
|
labelSelector: "helm.toolkit.fluxcd.io/name=podinfo"
|
|
patch: |
|
|
- op: add
|
|
path: /metadata/labels/argocd.argoproj.io~1instance
|
|
value: podinfo
|
|
values:
|
|
replicaCount: 2
|