Version 2.0.0
This commit is contained in:
20
loop-enterprise-edition/templates/_ingress-nginx.tpl
Normal file
20
loop-enterprise-edition/templates/_ingress-nginx.tpl
Normal file
@@ -0,0 +1,20 @@
|
||||
{{/* vim: set filetype=mustache: */}}
|
||||
|
||||
{{/*
|
||||
Ingress annotations
|
||||
*/}}
|
||||
{{- define "app.ingress.annotations" -}}
|
||||
{{- if .Values.ingress.certManager }}
|
||||
kubernetes.io/tls-acme: "true"
|
||||
{{- end }}
|
||||
|
||||
{{- with .Values.ingress.nginx.configurationSnippet }}
|
||||
nginx.ingress.kubernetes.io/configuration-snippet: |
|
||||
{{- include "common.tplvalues.render" (dict "value" . "context" $) | nindent 2 }}
|
||||
{{- end }}
|
||||
|
||||
{{- with .Values.ingress.nginx.serverSnippet }}
|
||||
nginx.ingress.kubernetes.io/server-snippet: |
|
||||
{{- include "common.tplvalues.render" (dict "value" . "context" $) | nindent 2 }}
|
||||
{{- end }}
|
||||
{{- end -}}
|
||||
Reference in New Issue
Block a user