diff --git a/tinkerbell/stack/Chart.yaml b/tinkerbell/stack/Chart.yaml index 8fe49f67..bae36e18 100644 --- a/tinkerbell/stack/Chart.yaml +++ b/tinkerbell/stack/Chart.yaml @@ -15,13 +15,13 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.4.1 +version: 0.4.2 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "0.4.1" +appVersion: "0.4.2" dependencies: - name: tink diff --git a/tinkerbell/stack/templates/nginx-configmap.yaml b/tinkerbell/stack/templates/nginx-configmap.yaml index 354c8e21..9a8484b3 100644 --- a/tinkerbell/stack/templates/nginx-configmap.yaml +++ b/tinkerbell/stack/templates/nginx-configmap.yaml @@ -21,7 +21,7 @@ data: proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; resolver $POD_NAMESERVER; - set $smee_dns {{ .Values.smee.name }}.{{ .Release.Namespace }}.svc.cluster.local; # needed in Kubernetes for dynamic DNS resolution + set $smee_dns {{ .Values.smee.name }}.{{ .Release.Namespace }}.svc.cluster.local.; # needed in Kubernetes for dynamic DNS resolution proxy_pass http://$smee_dns:{{ .Values.smee.http.port }}; } @@ -55,6 +55,8 @@ data: server { listen {{ .Values.stack.hook.port }}; location / { + sendfile on; + sendfile_max_chunk 1m; root /usr/share/nginx/html; } } @@ -66,15 +68,14 @@ data: server { listen {{ .Values.smee.tftp.port }} udp; resolver $POD_NAMESERVER; - set $smee_dns {{ .Values.smee.name }}.{{ .Release.Namespace }}.svc.cluster.local; # needed in Kubernetes for dynamic DNS resolution + set $smee_dns {{ .Values.smee.name }}.{{ .Release.Namespace }}.svc.cluster.local.; # needed in Kubernetes for dynamic DNS resolution proxy_pass $smee_dns:{{ .Values.smee.tftp.port }}; - proxy_timeout 1s; access_log /dev/stdout logger-json; } server { listen {{ .Values.smee.syslog.port }} udp; resolver $POD_NAMESERVER; - set $smee_dns {{ .Values.smee.name }}.{{ .Release.Namespace }}.svc.cluster.local; # needed in Kubernetes for dynamic DNS resolution + set $smee_dns {{ .Values.smee.name }}.{{ .Release.Namespace }}.svc.cluster.local.; # needed in Kubernetes for dynamic DNS resolution proxy_pass $smee_dns:{{ .Values.smee.syslog.port }}; access_log /dev/stdout logger-json; }