You've already forked athens-proxy-charts
f760568ac5
Generate README / generate-parameters (push) Failing after 39s
Helm / helm-lint (push) Successful in 14s
Helm / helm-unittest (push) Successful in 28s
Markdown linter / markdown-link-checker (push) Successful in 45s
Markdown linter / markdown-lint (push) Successful in 33s
33 lines
770 B
Smarty
33 lines
770 B
Smarty
{{/* vim: set filetype=mustache: */}}
|
|
|
|
{{/* annotations */}}
|
|
|
|
{{- define "athens-proxy.httpRoute.annotations" -}}
|
|
{{ include "athens-proxy.annotations" . }}
|
|
{{- if .Values.gatewayAPI.core.httpRoute.annotations }}
|
|
{{ toYaml .Values.gatewayAPI.core.httpRoute.annotations }}
|
|
{{- end }}
|
|
{{- end }}
|
|
|
|
{{/* enabled */}}
|
|
|
|
{{- define "athens-proxy.httpRoute.enabled" -}}
|
|
{{- if and .Values.gatewayAPI.enabled
|
|
.Values.gatewayAPI.core.httpRoute.enabled
|
|
.Values.service.enabled
|
|
-}}
|
|
true
|
|
{{- else -}}
|
|
false
|
|
{{- end -}}
|
|
{{- end }}
|
|
|
|
{{/* labels */}}
|
|
|
|
{{- define "athens-proxy.httpRoute.labels" -}}
|
|
{{ include "athens-proxy.labels" . }}
|
|
{{- if .Values.gatewayAPI.core.httpRoute.labels }}
|
|
{{ toYaml .Values.gatewayAPI.core.httpRoute.labels }}
|
|
{{- end }}
|
|
{{- end }}
|