Skip to content

Commit

Permalink
Merge pull request #70 from digitalist-se/ingress_class
Browse files Browse the repository at this point in the history
Ingress class
  • Loading branch information
mikkeschiren authored Sep 23, 2024
2 parents 7a12cc0 + a5c45a9 commit 157cedc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/directus/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,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: 0.9.08
version: 0.9.09

# This is the version number of the application being deployed. They should reflect the version
# the application is using.
Expand Down
3 changes: 3 additions & 0 deletions charts/directus/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ metadata:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
{{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
ingressClassName: {{ .Values.ingress.ingressClassName }}
{{- end }}
{{- if .Values.ingress.tls }}
tls:
{{- range .Values.ingress.tls }}
Expand Down
1 change: 1 addition & 0 deletions charts/directus/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ persistenceTemplates:

ingress:
enabled: false
ingressClassName: nginx
annotations:
{}
# kubernetes.io/ingress.class: nginx
Expand Down

0 comments on commit 157cedc

Please sign in to comment.