mirror of
https://github.com/auricom/home-cluster.git
synced 2025-10-02 00:34:25 +02:00
83 lines
2.2 KiB
YAML
83 lines
2.2 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: 30m
|
|
chart:
|
|
spec:
|
|
chart: app-template
|
|
version: 3.5.0
|
|
sourceRef:
|
|
kind: HelmRepository
|
|
name: bjw-s
|
|
namespace: flux-system
|
|
install:
|
|
remediation:
|
|
retries: 3
|
|
upgrade:
|
|
cleanupOnFail: true
|
|
remediation:
|
|
strategy: rollback
|
|
retries: 3
|
|
uninstall:
|
|
keepHistory: false
|
|
values:
|
|
controllers:
|
|
capacitor:
|
|
strategy: RollingUpdate
|
|
containers:
|
|
app:
|
|
image:
|
|
repository: ghcr.io/gimlet-io/capacitor
|
|
tag: v0.4.5@sha256:a50533e72341f829add4f0a1d7d8c505422f2663747f026b6858e9351f2e72e6
|
|
resources:
|
|
requests:
|
|
cpu: 50m
|
|
memory: 100Mi
|
|
ephemeral-storage: 1Gi
|
|
limits:
|
|
memory: 200Mi
|
|
ephemeral-storage: 2Gi
|
|
securityContext:
|
|
allowPrivilegeEscalation: false
|
|
readOnlyRootFilesystem: true
|
|
capabilities: {drop: [ALL]}
|
|
serviceAccount:
|
|
create: true
|
|
name: capacitor
|
|
service:
|
|
app:
|
|
controller: *app
|
|
ports:
|
|
http:
|
|
enabled: true
|
|
port: 9000
|
|
ingress:
|
|
app:
|
|
enabled: true
|
|
className: nginx
|
|
annotations:
|
|
hajimari.io/icon: mdi:sync
|
|
gethomepage.dev/enabled: "true"
|
|
gethomepage.dev/name: Capacitor
|
|
gethomepage.dev/description: General purpose UI for FluxCD.
|
|
gethomepage.dev/group: Applications
|
|
gethomepage.dev/icon: capacitor.png
|
|
gethomepage.dev/pod-selector: >-
|
|
app in (
|
|
capacitor
|
|
)
|
|
hosts:
|
|
- host: &host "{{ .Release.Name }}.${SECRET_EXTERNAL_DOMAIN}"
|
|
paths:
|
|
- path: /
|
|
service:
|
|
identifier: app
|
|
port: http
|
|
tls:
|
|
- hosts:
|
|
- *host
|