diff --git a/stable/anchore-engine/Chart.yaml b/stable/anchore-engine/Chart.yaml index 539cfc59..4b8a503c 100644 --- a/stable/anchore-engine/Chart.yaml +++ b/stable/anchore-engine/Chart.yaml @@ -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: diff --git a/stable/anchore-engine/templates/ingress.yaml b/stable/anchore-engine/templates/ingress.yaml index 6cc50cea..748989c9 100644 --- a/stable/anchore-engine/templates/ingress.yaml +++ b/stable/anchore-engine/templates/ingress.yaml @@ -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 }} diff --git a/stable/anchore-engine/values.yaml b/stable/anchore-engine/values.yaml index f36a2797..40285498 100644 --- a/stable/anchore-engine/values.yaml +++ b/stable/anchore-engine/values.yaml @@ -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