Skip to content

Commit

Permalink
Merge pull request #26 from JacekZubielik/lms
Browse files Browse the repository at this point in the history
fix(nodeselector): fix code for nodeSelector and ingress
  • Loading branch information
JacekZubielik authored May 22, 2024
2 parents 5695498 + 6ed389b commit 0d6243e
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 32 deletions.
2 changes: 1 addition & 1 deletion charts/lms/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: v2
appVersion: 9.0.0
description: Logitech Media Server
name: lms
version: 0.0.2
version: 0.0.3
keywords:
- lms
- logitechmediaserver
Expand Down
48 changes: 17 additions & 31 deletions charts/lms/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 @@ -119,34 +117,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: lms.local
paths:
- path: /
pathType: ImplementationSpecific
tls:
[]
# - secretName: letsencrypt-staging
# hosts:
# - lms.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 @@ -156,8 +143,7 @@ resources: {}
# cpu: "1"
# memory: "512Mi"

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

Expand Down

0 comments on commit 0d6243e

Please sign in to comment.