theshire/kubernetes/apps/default/it-tools/app/helmrelease.yaml

77 lines
1.9 KiB
YAML
Raw Normal View History

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:
2024-10-11 05:43:06 -05:00
name: it-tools
2024-09-05 05:05:08 -05:00
spec:
interval: 30m
chart:
spec:
chart: app-template
2024-10-10 06:01:18 -05:00
version: 3.5.1
2024-10-11 05:43:06 -05:00
interval: 30m
2024-09-05 05:05:08 -05:00
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
2024-10-11 05:43:06 -05:00
2024-09-05 05:05:08 -05:00
values:
controllers:
it-tools:
2024-10-11 05:43:06 -05:00
replicas: 1
strategy: RollingUpdate
2024-09-05 05:05:08 -05:00
annotations:
reloader.stakater.com/auto: "true"
2024-10-11 05:43:06 -05:00
pod:
securityContext:
runAsUser: 101
runAsGroup: 101
fsGroup: 101
fsGroupChangePolicy: "OnRootMismatch"
2024-09-05 05:05:08 -05:00
containers:
app:
image:
2024-10-11 05:43:06 -05:00
repository: ghcr.io/bjw-s-labs/it-tools
tag: 2024.5.13
2024-09-05 05:05:08 -05:00
resources:
requests:
2024-10-11 05:43:06 -05:00
cpu: 5m
memory: 32Mi
2024-09-05 05:05:08 -05:00
limits:
2024-10-11 05:43:06 -05:00
memory: 256Mi
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
drop:
- ALL
2024-09-05 05:05:08 -05:00
service:
app:
2024-10-11 05:43:06 -05:00
controller: it-tools
2024-09-05 05:05:08 -05:00
ports:
http:
2024-10-11 05:43:06 -05:00
port: 8080
2024-09-05 05:05:08 -05:00
ingress:
app:
enabled: true
className: external-nginx
annotations:
external-dns.alpha.kubernetes.io/cloudflare-proxied: "true"
external-dns.alpha.kubernetes.io/target: external.hsn.dev
hosts:
- host: &host tools.hsn.dev
paths:
- path: /
service:
identifier: app
port: http
tls:
- hosts:
- *host
2024-10-11 05:43:06 -05:00
persistence:
tmp:
type: emptyDir