Skip to content

Commit

Permalink
add: kubedash-3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
devopstales committed Mar 5, 2024
1 parent 495ebb3 commit b6af5bf
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
14 changes: 0 additions & 14 deletions charts/kubedash/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,6 @@ metadata:
nginx.ingress.kubernetes.io/whitelist-source-range: "{{ $ip }}{{ if ne $index $last }}, {{ end }}"
{{- end }}
{{- end }}
nginx.ingress.kubernetes.io/proxy-body-size: 10m
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_cache_bypass $http_upgrade;
}
{{- if .Values.ingress.tls.certManager.enabled }}
cert-manager.io/cluster-issuer: "{{ .Values.ingress.tls.certManager.clusterIssuer }}"
{{- end }}
Expand Down
13 changes: 13 additions & 0 deletions charts/kubedash/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,19 @@ ingress:
# -- Extra annotation to the Ingress object
annotations:
nginx.ingress.kubernetes.io/proxy-body-size: "10m"
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_cache_bypass $http_upgrade;
}
tls:
# -- Enable tls on Ingress object
enabled: true
Expand Down

0 comments on commit b6af5bf

Please sign in to comment.