2024-02-29 11:02:27 -06:00
|
|
|
---
|
2024-03-19 17:38:08 -05:00
|
|
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2beta2.schema.json
|
2024-05-28 10:02:09 -05:00
|
|
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
2024-02-29 11:02:27 -06:00
|
|
|
kind: HelmRelease
|
|
|
|
metadata:
|
|
|
|
name: &app vector-aggregator
|
|
|
|
spec:
|
|
|
|
interval: 30m
|
|
|
|
timeout: 15m
|
|
|
|
chart:
|
|
|
|
spec:
|
|
|
|
chart: app-template
|
2024-05-28 10:02:16 -05:00
|
|
|
version: 3.2.1
|
2024-02-29 11:02:27 -06:00
|
|
|
sourceRef:
|
|
|
|
kind: HelmRepository
|
|
|
|
name: bjw-s
|
|
|
|
namespace: flux-system
|
|
|
|
install:
|
|
|
|
remediation:
|
|
|
|
retries: 3
|
|
|
|
upgrade:
|
|
|
|
cleanupOnFail: true
|
|
|
|
remediation:
|
|
|
|
retries: 3
|
2024-03-19 18:43:34 -05:00
|
|
|
strategy: rollback
|
2024-02-29 11:02:27 -06:00
|
|
|
values:
|
|
|
|
controllers:
|
2024-03-19 17:38:08 -05:00
|
|
|
vector-aggregator:
|
2024-05-07 13:31:53 -05:00
|
|
|
replicas: 1
|
2024-02-29 11:02:27 -06:00
|
|
|
strategy: RollingUpdate
|
|
|
|
annotations:
|
|
|
|
reloader.stakater.com/auto: "true"
|
|
|
|
initContainers:
|
|
|
|
init-geoip:
|
|
|
|
image:
|
|
|
|
repository: ghcr.io/maxmind/geoipupdate
|
2024-04-08 17:01:32 -05:00
|
|
|
tag: v7.0.1@sha256:80c57598a9ff552953e499cefc589cfe7b563d64262742ea42f2014251b557b0
|
2024-02-29 11:02:27 -06:00
|
|
|
env:
|
|
|
|
GEOIPUPDATE_EDITION_IDS: GeoLite2-City
|
|
|
|
GEOIPUPDATE_FREQUENCY: "0"
|
2024-04-08 19:56:01 -05:00
|
|
|
GEOIPUPDATE_VERBOSE: "1"
|
2024-02-29 11:02:27 -06:00
|
|
|
envFrom:
|
|
|
|
- secretRef:
|
|
|
|
name: vector-aggregator-secret
|
|
|
|
containers:
|
2024-03-19 17:38:08 -05:00
|
|
|
app:
|
2024-02-29 11:02:27 -06:00
|
|
|
image:
|
|
|
|
repository: docker.io/timberio/vector
|
2024-07-27 15:23:37 -05:00
|
|
|
tag: 0.39.0-alpine@sha256:e6b27085955a089ac66b9c5af9f6e402f1c1a0277b38254a178266c145469718
|
2024-02-29 11:02:27 -06:00
|
|
|
args: ["--config", "/etc/vector/vector.yaml"]
|
|
|
|
pod:
|
|
|
|
topologySpreadConstraints:
|
|
|
|
- maxSkew: 1
|
|
|
|
topologyKey: kubernetes.io/hostname
|
|
|
|
whenUnsatisfiable: DoNotSchedule
|
|
|
|
labelSelector:
|
|
|
|
matchLabels:
|
|
|
|
app.kubernetes.io/name: *app
|
|
|
|
service:
|
2024-03-19 17:38:08 -05:00
|
|
|
app:
|
|
|
|
controller: vector-aggregator
|
2024-02-29 11:02:27 -06:00
|
|
|
type: LoadBalancer
|
|
|
|
annotations:
|
|
|
|
external-dns.alpha.kubernetes.io/hostname: vector.jahanson.tech
|
2024-05-08 15:11:54 -05:00
|
|
|
io.cilium/lb-ipam-ips: 10.1.1.33
|
2024-02-29 11:02:27 -06:00
|
|
|
ports:
|
|
|
|
http:
|
|
|
|
port: 8686
|
|
|
|
journald:
|
|
|
|
port: 6000
|
|
|
|
kubernetes:
|
|
|
|
port: 6010
|
|
|
|
vyos:
|
|
|
|
port: 6020
|
|
|
|
persistence:
|
|
|
|
config:
|
|
|
|
enabled: true
|
|
|
|
type: configMap
|
|
|
|
name: vector-aggregator-configmap
|
|
|
|
globalMounts:
|
|
|
|
- path: /etc/vector/vector.yaml
|
|
|
|
subPath: vector.yaml
|
|
|
|
readOnly: true
|
|
|
|
data:
|
|
|
|
type: emptyDir
|
|
|
|
globalMounts:
|
|
|
|
- path: /vector-data-dir
|
|
|
|
geoip:
|
|
|
|
type: emptyDir
|
|
|
|
globalMounts:
|
2024-05-07 13:31:53 -05:00
|
|
|
- path: /usr/share/GeoIP
|