2024-09-22 01:17:55 -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: zwave
|
|
|
|
spec:
|
|
|
|
interval: 30m
|
|
|
|
chart:
|
|
|
|
spec:
|
|
|
|
chart: app-template
|
2024-10-10 06:01:18 -05:00
|
|
|
version: 3.5.1
|
2024-09-22 01:17:55 -05:00
|
|
|
sourceRef:
|
|
|
|
kind: HelmRepository
|
|
|
|
name: bjw-s
|
|
|
|
namespace: flux-system
|
|
|
|
install:
|
|
|
|
remediation:
|
|
|
|
retries: 3
|
|
|
|
upgrade:
|
|
|
|
cleanupOnFail: true
|
|
|
|
remediation:
|
|
|
|
strategy: rollback
|
|
|
|
retries: 3
|
|
|
|
dependsOn:
|
|
|
|
- name: rook-ceph-cluster
|
|
|
|
namespace: rook-ceph
|
|
|
|
- name: volsync
|
|
|
|
namespace: volsync-system
|
|
|
|
values:
|
|
|
|
controllers:
|
|
|
|
zwave:
|
|
|
|
annotations:
|
|
|
|
reloader.stakater.com/auto: "true"
|
|
|
|
containers:
|
|
|
|
app:
|
|
|
|
image:
|
|
|
|
repository: ghcr.io/zwave-js/zwave-js-ui
|
2024-11-16 07:33:24 -06:00
|
|
|
tag: 9.27.2@sha256:ac7e66f98c39fe56b6ddb5d2e9cfced8246f74658278b82f6f60bee15206ae73
|
2024-09-22 01:17:55 -05:00
|
|
|
env:
|
|
|
|
TZ: America/Chicago
|
|
|
|
PORT: &port 80
|
|
|
|
probes:
|
|
|
|
liveness: &probes
|
|
|
|
enabled: true
|
|
|
|
custom: true
|
|
|
|
spec:
|
|
|
|
httpGet:
|
|
|
|
path: /health
|
|
|
|
port: *port
|
|
|
|
initialDelaySeconds: 0
|
|
|
|
periodSeconds: 10
|
|
|
|
timeoutSeconds: 1
|
|
|
|
failureThreshold: 3
|
|
|
|
readiness: *probes
|
|
|
|
securityContext:
|
|
|
|
allowPrivilegeEscalation: false
|
|
|
|
readOnlyRootFilesystem: true
|
|
|
|
capabilities: { drop: ["ALL"] }
|
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
cpu: 10m
|
|
|
|
limits:
|
|
|
|
memory: 512Mi
|
|
|
|
defaultPodOptions:
|
|
|
|
securityContext:
|
|
|
|
runAsNonRoot: true
|
|
|
|
runAsUser: 568
|
|
|
|
runAsGroup: 568
|
|
|
|
fsGroup: 568
|
|
|
|
fsGroupChangePolicy: OnRootMismatch
|
|
|
|
seccompProfile: { type: RuntimeDefault }
|
|
|
|
service:
|
|
|
|
app:
|
|
|
|
controller: zwave
|
|
|
|
ports:
|
|
|
|
http:
|
|
|
|
port: *port
|
|
|
|
websocket:
|
|
|
|
port: 3000
|
|
|
|
ingress:
|
|
|
|
app:
|
|
|
|
className: internal-nginx
|
|
|
|
hosts:
|
|
|
|
- host: "{{ .Release.Name }}.jahanson.tech"
|
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
service:
|
|
|
|
identifier: app
|
|
|
|
port: http
|
|
|
|
persistence:
|
|
|
|
config:
|
|
|
|
existingClaim: zwave
|
|
|
|
globalMounts:
|
|
|
|
- path: /usr/src/app/store
|
|
|
|
tmp:
|
|
|
|
type: emptyDir
|