theshire/kubernetes/apps/observability/vector-agent/app/helmrelease.yaml

45 lines
976 B
YAML

---
# yaml-language-server: $schema=https://ks.hsn.dev/helm.toolkit.fluxcd.io/helmrelease_v2.json
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: vector-agent
spec:
interval: 30m
chart:
spec:
chart: vector
version: 0.38.1
sourceRef:
kind: HelmRepository
name: vector
namespace: flux-system
driftDetection:
mode: enabled
install:
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
retries: 3
values:
role: "Agent"
workloadResourceAnnotations:
reloader.stakater.com/auto: "true"
containerPorts:
- name: prom-exporter
containerPort: 9090
resources:
requests:
memory: "64Mi"
limits:
memory: 1Gi
service:
ports:
- name: prom-exporter
port: 9090
existingConfigMaps: ["vector-agent-configmap"]
dataDir: /vector-data-dir
podMonitor:
enabled: true