Skip to content

Commit

Permalink
fix(node): fix code
Browse files Browse the repository at this point in the history
  • Loading branch information
JacekZubielik committed May 22, 2024
1 parent 3567cb8 commit e92fa69
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 33 deletions.
2 changes: 1 addition & 1 deletion charts/home-assistant/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: v2
appVersion: 2024.4.0
description: Home Assistant automation
name: home-assistant
version: 0.0.1
version: 0.0.2
keywords:
- home-assistant
- automation
Expand Down
50 changes: 18 additions & 32 deletions charts/home-assistant/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ fullnameOverride: ""
revisionHistoryLimit: 4
hostNetwork: false

# strategyType: RollingUpdate

replicas: 1
updateStrategy:
type: RollingUpdate
Expand Down Expand Up @@ -116,34 +114,23 @@ readinessProbe:

ingress:
enabled: false
# className: ""
annotations:
nginx.ingress.kubernetes.io/proxy-read-timeout: "3600"
nginx.ingress.kubernetes.io/proxy-send-timeout: "3600"
nginx.ingress.kubernetes.io/server-snippets: |
location / {
proxy_set_header Upgrade $http_upgrade;
proxy_http_version 1.1;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Host $host;
proxy_set_header Connection "upgrade";
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Upgrade $http_upgrade;
proxy_cache_bypass $http_upgrade;
}
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
labels: {}
path: /
hosts:
- host: hass.local
paths:
- path: /
pathType: ImplementationSpecific
tls:
[]
# - secretName: letsencrypt-staging
# hosts:
# - home-assistant.local
- chart-example.local
## Extra paths to prepend to every host configuration. This is useful when working with annotation based services.
extraPaths: []
# - path: /*
# backend:
# serviceName: ssl-redirect
# servicePort: use-annotation
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local

resources: {}
# requests:
Expand All @@ -153,15 +140,14 @@ resources: {}
# cpu: "1"
# memory: "512Mi"

nodeSelector:
kubernetes.io/hostname: {}
nodeSelector: {}
affinity: {}
tolerations: []

persistence:
enabled: false
configstorage:
hostPath: /mnt/volume-0/apps/home-assistant
hostPath: {}
pvc:
enabled: false
# accessModes:
Expand Down

0 comments on commit e92fa69

Please sign in to comment.