Skip to content

Commit

Permalink
feat: fixed chart frontend ingress
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathias Brunkow Moser committed Jul 23, 2024
1 parent 43be37e commit f318a68
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions charts/digital-product-pass/templates/ingress-frontend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ metadata:
namespace: {{ .Values.namespace }}
labels:
{{- include "chart.labels" . | nindent 4 }}
{{- with .Values.frontend.ingress.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.frontend.ingress.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
{{- if and .Values.frontend.ingress.className (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion) }}
ingressClassName: {{ .Values.frontend.ingress.className }}
Expand Down
3 changes: 2 additions & 1 deletion charts/digital-product-pass/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,9 @@ frontend:
ingressClassName: nginx
# kubernetes.io/tls-acme: "true"
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
nginx.ingress.kubernetes.io/ssl-passthrough: "false"
nginx.ingress.kubernetes.io/rewrite-target: /$2
nginx.ingress.kubernetes.io/backend-protocol: "HTTP"
nginx.ingress.kubernetes.io/service-upstream: "true"
hosts: []

# -- The [pod security context](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod) defines privilege and access control settings for a Pod within the deployment
Expand Down

0 comments on commit f318a68

Please sign in to comment.