Skip to content

Commit

Permalink
chore(ingress): typo in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
stavros-k authored Dec 28, 2023
1 parent 6bc7e08 commit 801b2e6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion library/common-test/tests/ingress/validation_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -623,4 +623,4 @@ tests:
ingressClassName: tc-stopped
asserts:
- failedTemplate:
errorMessage: Ingress - Expected [ingressClassName] to not be [stopped], this is reserved for internal use
errorMessage: Ingress - Expected [ingressClassName] to not be [tc-stopped], this is reserved for internal use
2 changes: 1 addition & 1 deletion library/common/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ maintainers:
name: common
sources: null
type: library
version: 17.2.0
version: 17.2.1
2 changes: 1 addition & 1 deletion library/common/templates/lib/ingress/_validation.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ objectData:
{{- if $objectData.ingressClassName -}}
{{- $icn := tpl $objectData.ingressClassName $rootCtx -}}
{{- if eq $icn "tc-stopped" -}}
{{- fail "Ingress - Expected [ingressClassName] to not be [stopped], this is reserved for internal use" -}}
{{- fail "Ingress - Expected [ingressClassName] to not be [tc-stopped], this is reserved for internal use" -}}
{{- end -}}
{{- end -}}

Expand Down

0 comments on commit 801b2e6

Please sign in to comment.