theshire/kubernetes/apps/kubevirt/manager/app/helmrelease.yaml
2024-05-22 13:51:22 -05:00

83 lines
2 KiB
YAML

---
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2beta2.schema.json
apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease
metadata:
name: &app kubevirt-manager
spec:
interval: 30m
chart:
spec:
chart: app-template
version: 3.1.0
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
maxHistory: 2
install:
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
strategy: rollback
retries: 3
values:
controllers:
kubevirt-manager:
annotations:
reloader.stakater.com/auto: "true"
containers:
app:
image:
repository: docker.io/kubevirtmanager/kubevirt-manager
tag: 1.3.3
env:
TZ: America/Chicago
resources:
requests:
cpu: 5m
memory: 50Mi
limits:
memory: 150Mi
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities: { drop: ["ALL"] }
pod:
securityContext:
runAsUser: 10000
runAsGroup: 30000
serviceAccount:
create: true
name: kubevirt-manager
service:
app:
controller: kubevirt-manager
ports:
http:
port: 8001
ingress:
app:
className: internal-nginx
hosts:
- host: &host "kubevirt.jahanson.tech"
paths:
- path: /
pathType: Prefix
service:
identifier: app
port: http
tls:
- hosts:
- *host
persistence:
cache:
type: emptyDir
globalMounts:
- path: /var/cache/nginx
run:
type: emptyDir
globalMounts:
- path: /var/run