Skip to content

Commit

Permalink
feat(app-template): refinement
Browse files Browse the repository at this point in the history
  • Loading branch information
jazzlyn committed Mar 12, 2024
1 parent 4b03645 commit 6b6e312
Show file tree
Hide file tree
Showing 20 changed files with 2 additions and 54 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ spec:
# https://github.com/bjw-s/helm-charts/tree/main/charts/other/app-template
controllers:
echo-server:
strategy: RollingUpdate
containers:
app:
image:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ spec:
controllers:
echo-server:
replicas: 1
strategy: RollingUpdate
containers:
app:
image:
Expand Down Expand Up @@ -67,7 +66,6 @@ spec:

ingress:
app:
enabled: true
className: traefik
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
Expand Down
11 changes: 0 additions & 11 deletions kubernetes/talos-flux/apps/discord/musicbot/app/helm-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,20 +43,9 @@ spec:
memory: 100Mi
limits:
memory: 100Mi
probes:
liveness: &probes
enabled: false
readiness: *probes
startup: *probes

service:
app:
controller: musicbot
enabled: false

persistence:
config:
enabled: true
type: configMap
name: musicbot-config
advancedMounts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ spec:

persistence:
options:
enabled: true
type: secret
name: aircon-options
globalMounts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ spec:
reloader.stakater.com/auto: "true"
containers:
app:
nameOverride: *app
env:
TZ: ${SETTING_TZ}
ESPHOME_DASHBOARD_USE_PING: "true"
Expand Down Expand Up @@ -61,7 +60,6 @@ spec:

ingress:
app:
enabled: true
className: traefik
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ spec:
reloader.stakater.com/auto: "true"
containers:
app:
nameOverride: *app
env:
TZ: ${SETTING_TZ}
envFrom:
Expand All @@ -46,19 +45,10 @@ spec:
- name: http
containerPort: 8123
protocol: TCP
probes:
liveness:
enabled: false
readiness:
enabled: false
startup:
enabled: false
resources:
requests:
cpu: 100m
memory: 300Mi
limits:
memory: 2048Mi
initContainers:
init-db:
image:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ spec:

persistence:
config:
enabled: true
type: configMap
name: locking-service-config
globalMounts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ spec:

ingress:
app:
enabled: true
className: traefik
annotations:
cert-manager.io/cluster-issuer: "letsencrypt-production"
Expand All @@ -99,7 +98,6 @@ spec:

persistence:
data:
enabled: true
existingClaim: node-red-data
advancedMounts:
node-red:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ spec:

ingress:
app:
enabled: true
className: traefik
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
Expand All @@ -100,7 +99,6 @@ spec:

persistence:
config:
enabled: true
existingClaim: zigbee2mqtt-basement-data
advancedMounts:
zigbee2mqtt:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ spec:

ingress:
app:
enabled: true
className: traefik
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
Expand All @@ -99,7 +98,6 @@ spec:

persistence:
config:
enabled: true
existingClaim: zigbee2mqtt-downstairs-data
advancedMounts:
zigbee2mqtt:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ spec:

ingress:
app:
enabled: true
className: traefik
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
Expand All @@ -99,7 +98,6 @@ spec:

persistence:
config:
enabled: true
existingClaim: zigbee2mqtt-upstairs-data
advancedMounts:
zigbee2mqtt:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ spec:
reloader.stakater.com/auto: "true"
containers:
app:
nameOverride: *app
image:
repository: cloudflare/cloudflared
tag: 2024.2.1-amd64@sha256:ce8d6fa2e5cc55d86351e018ee5051a86fdcb7cf0bdad30baa4e14943966cae5
Expand Down Expand Up @@ -72,7 +71,6 @@ spec:

persistence:
config:
enabled: true
type: configMap
name: cloudflare-tunnel
advancedMounts:
Expand All @@ -82,7 +80,6 @@ spec:
subPath: config.yaml
readOnly: true
credentials:
enabled: true
type: secret
name: cloudflare-tunnel
advancedMounts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ spec:

ingress:
app:
enabled: true
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
hajimari.io/enable: "true"
Expand Down Expand Up @@ -155,7 +154,6 @@ spec:

persistence:
data:
enabled: true
existingClaim: unifi-data
advancedMounts:
unifi:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,11 @@ spec:
keepHistory: false
values:
controllers:
app:
alertmanager-discord:
annotations:
reloader.stakater.com/auto: "true"
containers:
alertmanager-discord:
nameOverride: *app
app:
env:
DISCORD_WEBHOOK: ${SECRET_PROMETHEUS_DISCORD_WEBHOOK}
DISCORD_USERNAME: alertmanager ${SETTING_CLUSTERNAME}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ spec:
reloader.stakater.com/auto: "true"
containers:
app:
nameOverride: *app
env:
TZ: ${SETTING_TZ}
image:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ spec:
reloader.stakater.com/auto: "true"
containers:
app:
nameOverride: *app
env:
TZ: ${SETTING_TZ}
image:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ spec:

ingress:
app:
enabled: true
className: traefik
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,10 @@ spec:
values:
controllers:
scanservjs:
strategy: Recreate
annotations:
reloader.stakater.com/auto: "true"
containers:
app:
nameOverride: *app
env:
TZ: ${SETTING_TZ}
AIRSCAN_DEVICES: '"HP" = "http://${SECRET_SCANNER_IP}/eSCL";"LASER" = "http://${SECRET_SCANNER2_IP}/eSCL"'
Expand Down Expand Up @@ -67,7 +65,6 @@ spec:

ingress:
app:
enabled: true
className: traefik
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
Expand All @@ -93,14 +90,12 @@ spec:

persistence:
scans:
enabled: true
existingClaim: scanservjs-scans
advancedMounts:
scanservjs:
app:
- path: /app/data/output
dbus:
enabled: true
type: hostPath
hostPath: /var/run/dbus
advancedMounts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ spec:

ingress:
app:
enabled: true
className: traefik
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ spec:

ingress:
app:
enabled: true
className: traefik
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
Expand Down

0 comments on commit 6b6e312

Please sign in to comment.