Skip to content

Commit

Permalink
Merge pull request #167 from sfroment/dev/sfroment/add_ingress_className
Browse files Browse the repository at this point in the history
feat: add ingress className
  • Loading branch information
Btodhunter authored Sep 16, 2021
2 parents 41199ee + f77802b commit 19ca04f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stable/anchore-engine/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: anchore-engine
version: 1.14.5
version: 1.14.6
appVersion: 0.10.2
description: Anchore container analysis and policy evaluation engine service
keywords:
Expand Down
3 changes: 3 additions & 0 deletions stable/anchore-engine/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 .Values.ingress.ingressClassName }}
ingressClassName: {{ .Values.ingress.ingressClassName }}
{{- end }}
{{- if .Values.ingress.tls }}
tls:
{{- range .Values.ingress.tls }}
Expand Down
4 changes: 4 additions & 0 deletions stable/anchore-engine/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ ingress:
# uncomment `feedsPath` to add an ingress endpoint for the feeds api
# uncomment 'reportsPath' to add an ingress endpoint for the reports api

# Set ingressClassName if kubernetes version is >= 1.18
# Reference: https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
# ingressClassName: nginx

# Uncomment the following lines to bind on specific hostnames
# apiHosts:
# - anchore-api.example.com
Expand Down

0 comments on commit 19ca04f

Please sign in to comment.