chore: Update headlamp

This commit is contained in:
Laur IVAN 2026-02-11 15:02:21 +01:00
parent b68634a624
commit 2790e3921c
6 changed files with 77 additions and 6 deletions

View File

@ -0,0 +1,14 @@
---
apiVersion: source.toolkit.fluxcd.io/v1
kind: OCIRepository
metadata:
name: dragonfly-operator
spec:
interval: 15m
url: oci://ghcr.io/dragonflydb/dragonfly-operator/helm/dragonfly-operator
ref:
tag: v1.4.0
layerSelector:
mediaType: application/vnd.cncf.helm.chart.content.v1.tar+gzip
operation: copy

View File

@ -0,0 +1,53 @@
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/helmrelease-helm-v2.json
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: headlamp
spec:
interval: 1h
chartRef:
kind: OCIRepository
name: headlamp
driftDetection:
mode: enabled
install:
remediation:
retries: -1
upgrade:
cleanupOnFail: true
remediation:
retries: 3
values:
fullnameOverride: headlamp
initContainers:
- image: ghcr.io/headlamp-k8s/headlamp-plugin-flux:v0.5.0
command:
- /bin/sh
- -c
- rm -rf /headlamp/plugins/flux && cp -r /plugins/flux /headlamp/plugins/
name: headlamp-plugin-flux
volumeMounts:
- mountPath: /headlamp/plugins
name: headlamp-plugins
config:
oidc:
secret:
create: false
externalSecret:
enabled: true
name: headlamp-oidc
env:
- name: HEADLAMP_CONFIG_TRACING_ENABLED
value: "false"
- name: HEADLAMP_CONFIG_METRICS_ENABLED
value: "false"
podAnnotations:
reloader.stakater.com/auto: "true"
volumeMounts:
- mountPath: /headlamp/plugins
name: headlamp-plugins
volumes:
- name: headlamp-plugins
emptyDir:
sizeLimit: 100Mi

View File

@ -0,0 +1,9 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./externalsecret.yaml
- ./helmrelease.yaml
- ./httproute.yaml
- ./ocirepository.yaml

View File

@ -1,6 +0,0 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./app.ks.yaml

View File

@ -5,5 +5,6 @@ namespace: monitoring-system
resources:
- ./namespace.yaml
- ./headlamp/ks.yaml
#- ./grafana
#- ./kube-prometheus-stack