theshire/kubernetes/apps/kubevirt/manager/app/helmrelease.yaml

84 lines
2 KiB
YAML
Raw Normal View History

2024-05-22 13:46:59 -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
apiVersion: helm.toolkit.fluxcd.io/v2
2024-05-22 13:46:59 -05:00
kind: HelmRelease
metadata:
name: &app kubevirt-manager
spec:
interval: 30m
chart:
spec:
chart: app-template
version: 3.4.0
2024-05-22 13:46:59 -05:00
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.4.1
2024-05-22 13:46:59 -05:00
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:
2024-05-22 13:51:22 -05:00
port: 8001
2024-05-22 13:46:59 -05:00
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