Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
push:
branches:
- main
- release-0.20.4
paths:
- 'helm/**'
release:
Expand Down
2 changes: 1 addition & 1 deletion helm/dashboard-backend/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ maintainers:
- name: satish
- name: ojasvi
name: dashboard-backend
version: "0.20.4"
version: "0.20.5"
4 changes: 2 additions & 2 deletions helm/dashboard-backend/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ spec:
args:
- -Xms512m
- -Xmx3024m
- -XX:PermSize=64m
- -XX:MaxPermSize=500m
- -XX:MetaspaceSize=64m
- -XX:MaxMetaspaceSize=500m
- -Xss1024k
- -jar
- blotout-0.0.1.jar
Expand Down
24 changes: 16 additions & 8 deletions helm/dashboard-backend/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{{- $servicePort := .Values.service.containerPort -}}
{{- $paths := .Values.ingress.paths -}}
{{- if .Capabilities.APIVersions.Has "networking.k8s.io/v1beta1" }}
apiVersion: networking.k8s.io/v1beta1
apiVersion: networking.k8s.io/v1
{{ else }}
apiVersion: extensions/v1beta1
{{ end -}}
Expand Down Expand Up @@ -31,16 +31,24 @@ metadata:
{{- end }}
spec:
rules:
{{- if .Values.ingress.hosts }}
{{- range $host := .Values.ingress.hosts }}
- host: {{ $host }}
{{- range .Values.ingress.hosts }}
- host: {{ .host | quote }}
http:
paths:
{{- range $p := $paths }}
- path: {{ $p}}
{{- range .paths }}
- path: {{ .path }}
{{- if and .pathType (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }}
pathType: ImplementationSpecific
{{- end }}
backend:
serviceName: {{ $serviceName }}
servicePort: {{ $servicePort }}
{{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
service:
name: {{ $fullName }}
port:
number: {{ $svcPort }}
{{- else }}
serviceName: {{ $fullName }}
servicePort: {{ $svcPort }}
{{- end -}}
{{- end -}}
{{- end -}}
Expand Down
7 changes: 4 additions & 3 deletions helm/dashboard-backend/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,10 @@ ingress:
annotations: {}
labels: {}
hosts:
- example.com
paths:
- /
- host: chart-example.local
paths:
- path: /
pathType: ImplementationSpecific
# swagger ingress
swagger:
enabled: false
Expand Down