Files
auricom-home-cluster/kubernetes/apps/kube-system/k8s-ycl/app/helmrelease.yaml
auricom 4cfa9f51ce 🚀 k8s-ycl
2023-11-30 23:37:52 +01:00

46 lines
1.1 KiB
YAML

---
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/helmrelease-helm-v2beta1.json
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: &name k8s-ycl
namespace: kube-system
spec:
interval: 30m
chart:
spec:
chart: *name
version: 1.1.0
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
maxHistory: 2
install:
createNamespace: true
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
retries: 3
uninstall:
keepHistory: false
values:
controllers:
main:
replicas: 3
pod:
topologySpreadConstraints:
- maxSkew: 2
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
app.kubernetes.io/name: *name
containers:
main:
image:
repository: ghcr.io/bjw-s/k8s-ycl
tag: v0.1.0