Skip to content

Commit

Permalink
feat(zigbee2mqtt): update to app-template to 2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tyriis committed Dec 7, 2023
1 parent 0edd625 commit 8bccf08
Showing 1 changed file with 44 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
chart:
spec:
chart: app-template
version: 1.5.1
version: 2.3.0
sourceRef:
kind: HelmRepository
name: bjw-s-charts
Expand All @@ -23,23 +23,51 @@ spec:
remediation:
retries: 5
values:
global:
nameOverride: *app
image:
repository: ghcr.io/koenkk/zigbee2mqtt
tag: 1.34.0
env:
ZIGBEE2MQTT_DATA: /config
TZ: ${SETTING_TZ}
controllers:
main:
replicas: 1
strategy: RollingUpdate
annotations:
secret.reloader.stakater.com/reload: zigbee2mqtt-basement-options
containers:
main:
env:
ZIGBEE2MQTT_DATA: /config
TZ: ${SETTING_TZ}
image:
repository: ghcr.io/koenkk/zigbee2mqtt
tag: 1.34.0
ports:
- name: http
containerPort: 8080
protocol: TCP
resources:
requests:
cpu: 50m
memory: 100Mi
limits:
memory: 2048Mi
zigbee2mqtt-exporter:
env:
ZIGBEE2MQTT_WS: ws://127.0.0.1:8080/api
TZ: ${SETTING_TZ}
image:
repository: ghcr.io/tyriis/zigbee2mqtt-exporter
tag: v0.2.7
ports:
- name: http-prom
containerPort: 3000
protocol: TCP
service:
main:
ports:
http:
port: 8080

ingress:
main:
enabled: true
ingressClassName: "traefik"
ingressClass: "traefik"
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
kubernetes.io/tls-acme: "true"
Expand All @@ -54,26 +82,17 @@ spec:
- host: &host "{{ .Release.Name }}.${SECRET_DOMAIN}"
paths:
- path: /
pathType: Prefix
service:
name: main
port: http
tls:
- hosts:
- *host
secretName: "{{ .Release.Name }}-tls"

persistence:
config:
enabled: true
existingClaim: zigbee2mqtt-basement-data
mountPath: /config
resources:
requests:
cpu: 50m
memory: 100Mi
sidecars:
zigbee2mqtt-exporter:
env:
ZIGBEE2MQTT_WS: ws://127.0.0.1:8080/api
image: ghcr.io/tyriis/zigbee2mqtt-exporter:v0.2.7
ports:
- containerPort: 3000
name: http-prom
protocol: TCP
globalMounts:
- path: /config

0 comments on commit 8bccf08

Please sign in to comment.