Skip to content

Commit

Permalink
fix(charts/buildbarn): fix ingress for frontend component (#619)
Browse files Browse the repository at this point in the history
Signed-off-by: wuhuizuo <[email protected]>
  • Loading branch information
wuhuizuo authored Jun 25, 2023
1 parent a39569a commit e22c527
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/prod/buildbarn/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
chart:
spec:
chart: buildbarn
version: 0.0.6
version: 0.0.7
sourceRef:
kind: HelmRepository
name: ee-ops
Expand Down
2 changes: 1 addition & 1 deletion charts/buildbarn/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ maintainers:
name: wuhuizuo
name: buildbarn
type: application
version: 0.0.6
version: 0.0.7
2 changes: 1 addition & 1 deletion charts/buildbarn/templates/frontend/ingress.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- if and .Values.frontend.enabled .Values.frontend.ingress.enabled -}}
{{- $fullName := include "buildbarn.fullname" (list . "frontend") -}}
{{- $svcPort := .Values.frontend.service.port -}}
{{- $svcPort := .Values.frontend.service.grpc.port -}}
{{- if and .Values.frontend.ingress.className (not (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion)) }}
{{- if not (hasKey .Values.frontend.ingress.annotations "kubernetes.io/ingress.class") }}
{{- $_ := set .Values.frontend.ingress.annotations "kubernetes.io/ingress.class" .Values.frontend.ingress.className}}
Expand Down

0 comments on commit e22c527

Please sign in to comment.