mirror of
https://github.com/bjw-s-labs/helm-charts.git
synced 2025-07-04 08:57:04 +02:00
feat(common)!: Release common-3.0.0 (#284)
This commit is contained in:
parent
a27c4f6124
commit
3981facca6
16 changed files with 124 additions and 116 deletions
|
@ -4,12 +4,4 @@ Validate Ingress values
|
|||
{{- define "bjw-s.common.lib.ingress.validate" -}}
|
||||
{{- $rootContext := .rootContext -}}
|
||||
{{- $ingressValues := .object -}}
|
||||
|
||||
{{- range $ingressValues.hosts -}}
|
||||
{{- range .paths -}}
|
||||
{{- if empty (dig "service" "name" nil .) -}}
|
||||
{{- fail (printf "No service name configured. (ingress: %s, path: %s)" $ingressValues.identifier .path) -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue