Skip to content

Commit

Permalink
- Aded volume from applicastions for grafana and sabnzbd
Browse files Browse the repository at this point in the history
- Rancher replicas bumped to 2
  • Loading branch information
LarryGF committed Oct 22, 2023
1 parent 69b1d8f commit bf0f5fd
Show file tree
Hide file tree
Showing 8 changed files with 37 additions and 20 deletions.
4 changes: 0 additions & 4 deletions argocd/grafana/values.common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,3 @@ grafana:
org_role: Admin
panels:
disable_sanitize_html: true

persistence:
enabled: true
existingClaim: grafana-config
14 changes: 1 addition & 13 deletions argocd/home-assistant/values.common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,7 @@ home-assistant:
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet

persistence:
config:
enabled: true
existingClaim: ha-config
config-custom:
enabled: true
type: configMap
name: config-file
# usb:
# enabled: true
# type: hostPath
# hostPath: /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2434151-if00
# mountPath: /dev/ttyUSB0




Expand Down
3 changes: 2 additions & 1 deletion docs/TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@
- explain authelia and elastic mail setup
- Nextcloud docs, apps:
- deck
- auditing/loging
- auditing/loging
- Explain which apps are getting volumes from applications.yaml
6 changes: 6 additions & 0 deletions terraform/applications.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,12 @@ sabnzbd:
size: 200Mi
access_modes:
- ReadWriteOnce
downloads:
name: media
downloads-radarr:
name: media-radarr
mountPath: /downloads/radarr
subpath: radarr
override:
timezone: ${timezone}
domain: ${domain}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,13 @@ grafana:
sizeLimit: {}


# persistence:
# enabled: true
# existingClaim: grafana-config

# Generating persistence config from applications.yaml
${indent(2,yamlencode({persistence: { for key, value in storage: key => {"enabled":true,"existingClaim":value.name,"mountPath": try(value.mountPath,null),"subpath": try(value.subpath,null)}}}))}

loki-mixin:
fullnameOverride: loki-mixin
grafana:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,18 @@ home-assistant:
volumeMounts:
- name: config
mountPath: /config

persistence:
config:
enabled: true
existingClaim: ha-config
config-custom:
enabled: true
type: configMap
name: config-file
# usb:
# enabled: true
# type: hostPath
# hostPath: /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2434151-if00
# mountPath: /dev/ttyUSB0

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ rancher:
# extraEnv:
# - name: CATTLE_TLS_MIN_VERSION
# value: "1.0"
replicas: 1
replicas: 2
# Fully qualified name to reach your Rancher server
hostname: "rancher.${domain}"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,8 @@ sabnzbd:
enabled: true
existingClaim: media-radarr
mountPath: /downloads/radarr
subpath: radarr
subpath: radarr


# Generating persistence config from applications.yaml
${indent(2,yamlencode({persistence: { for key, value in storage: key => {"enabled":true,"existingClaim":value.name,"mountPath": try(value.mountPath,null),"subpath": try(value.subpath,null)}}}))}

0 comments on commit bf0f5fd

Please sign in to comment.