mild ingress tweaks for using regex and readability
This commit is contained in:
parent
00fff73092
commit
1eaf400a62
3 changed files with 9 additions and 6 deletions
|
@ -18,7 +18,7 @@ type: application
|
|||
# This is the chart version. This version number should be incremented each time you make changes
|
||||
# to the chart and its templates, including the app version.
|
||||
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
||||
version: 1.5.1
|
||||
version: 1.5.2
|
||||
|
||||
# renovate: image=docker.io/ghost
|
||||
appVersion: "6.0.10"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# ghost
|
||||
|
||||
  
|
||||
  
|
||||
|
||||
A Helm chart for deploying Ghost on Kubernetes
|
||||
|
||||
|
|
|
@ -5,10 +5,13 @@ metadata:
|
|||
name: {{ include "ghost.fullname" . }}
|
||||
labels:
|
||||
{{- include "ghost.labels" . | nindent 4 }}
|
||||
{{- with .Values.ingress.annotations }}
|
||||
annotations:
|
||||
{{- if and .Values.activity_pub.enabled (eq .Values.ingress.className "nginx") }}
|
||||
nginx.ingress.kubernetes.io/use-regex: "true"
|
||||
{{- end }}
|
||||
{{- with .Values.ingress.annotations }}
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- with .Values.ingress.className }}
|
||||
ingressClassName: {{ . }}
|
||||
|
@ -16,11 +19,11 @@ spec:
|
|||
{{- if .Values.ingress.tls }}
|
||||
tls:
|
||||
{{- range .Values.ingress.tls }}
|
||||
- hosts:
|
||||
- secretName: {{ .secretName }}
|
||||
hosts:
|
||||
{{- range .hosts }}
|
||||
- {{ . | quote }}
|
||||
{{- end }}
|
||||
secretName: {{ .secretName }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
rules:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue