Files
home-cluster/kubernetes/apps/capacitor/app/helmrelease.yaml
T
Daren Lord 83255d41a9
renovate / renovate (push) Successful in 34s
Add capacitor
2024-11-12 03:16:36 +00:00

104 lines
2.5 KiB
YAML

---
# 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 capacitor
spec:
interval: 15m
chart:
spec:
chart: app-template
version: 3.5.1
sourceRef:
kind: HelmRepository
name: bjw-s-charts
namespace: flux-system
install:
createNamespace: true
remediation:
retries: 3
upgrade:
remediation:
retries: 3
values:
controllers:
capacitor:
replicas: 1
pod:
securityContext:
fsGroup: 999
# runAsGroup: 3000
# runAsNonRoot: true
# runAsUser: 1000
# seccompProfile:
# type: RuntimeDefault
containers:
app:
env:
TZ: ${SETTING_TZ}
image:
repository: ghcr.io/gimlet-io/capacitor
tag: v0.4.8@sha256:a80207f52c054dba9e04e8b1ea86e297817ecf05ddbfce249c1f5eaf6ce8c7d8
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true
probes:
startup:
enabled: false
liveness: &probe
enabled: true
custom: true
spec:
httpGet:
path: /
port: &port 9000
scheme: HTTP
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 3
readiness: *probe
resources:
requests:
cpu: 190m
memory: 127Mi
limits:
memory: 127Mi
serviceAccount:
create: false
name: capacitor
service:
app:
controller: capacitor
ports:
http:
enabled: true
port: *port
protocol: HTTP
ingress:
app:
enabled: true
className: ingress-internal
hosts:
- host: &host "{{ .Release.Name }}.k8s.home.arpa"
paths:
- path: /
pathType: Prefix
service:
identifier: app
port: http
tls:
- hosts:
- *host
secretName: "{{ .Release.Name }}-tls"