2024-09-05 05:05:08 -05:00
|
|
|
---
|
|
|
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2.schema.json
|
|
|
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
|
|
|
kind: HelmRelease
|
|
|
|
metadata:
|
|
|
|
name: &app excalidraw
|
|
|
|
spec:
|
|
|
|
interval: 30m
|
|
|
|
chart:
|
|
|
|
spec:
|
|
|
|
chart: app-template
|
2024-10-10 06:01:18 -05:00
|
|
|
version: 3.5.1
|
2024-09-05 05:05:08 -05:00
|
|
|
sourceRef:
|
|
|
|
kind: HelmRepository
|
|
|
|
name: bjw-s
|
|
|
|
namespace: flux-system
|
|
|
|
install:
|
|
|
|
remediation:
|
|
|
|
retries: 3
|
|
|
|
upgrade:
|
|
|
|
cleanupOnFail: true
|
|
|
|
remediation:
|
|
|
|
strategy: rollback
|
|
|
|
retries: 3
|
|
|
|
values:
|
|
|
|
controllers:
|
|
|
|
excalidraw:
|
|
|
|
strategy: RollingUpdate
|
|
|
|
containers:
|
|
|
|
app:
|
|
|
|
image:
|
|
|
|
repository: docker.io/excalidraw/excalidraw
|
2024-11-26 12:03:07 -06:00
|
|
|
tag: latest@sha256:c6b7fc35e9e9cfb2b85e76081530223407b00157896b00a01f272b4085ffe4c9
|
2024-09-05 05:05:08 -05:00
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
enabled: true
|
|
|
|
readiness:
|
|
|
|
enabled: true
|
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
cpu: 5m
|
|
|
|
memory: 10Mi
|
|
|
|
limits:
|
|
|
|
memory: 50Mi
|
|
|
|
pod:
|
|
|
|
topologySpreadConstraints:
|
|
|
|
- maxSkew: 1
|
|
|
|
topologyKey: kubernetes.io/hostname
|
|
|
|
whenUnsatisfiable: DoNotSchedule
|
|
|
|
labelSelector:
|
|
|
|
matchLabels:
|
|
|
|
app.kubernetes.io/name: *app
|
|
|
|
service:
|
|
|
|
app:
|
|
|
|
controller: excalidraw
|
|
|
|
ports:
|
|
|
|
http:
|
|
|
|
port: 80
|
|
|
|
|
|
|
|
ingress:
|
|
|
|
app:
|
|
|
|
className: internal-nginx
|
|
|
|
hosts:
|
|
|
|
- host: &host "draw.jahanson.tech"
|
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
pathType: Prefix
|
|
|
|
service:
|
|
|
|
identifier: app
|
|
|
|
port: http
|
|
|
|
tls:
|
|
|
|
- hosts:
|
|
|
|
- *host
|