Skip to content

Commit

Permalink
Remove redundant condition in ingress that prevented the usage of exi…
Browse files Browse the repository at this point in the history
…stingSecret (#249)
  • Loading branch information
OriBenHur-akeyless authored Jul 10, 2024
1 parent c80551a commit c3139f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/akeyless-api-gateway/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,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.
version: 1.47.1
version: 1.47.2


# This is the version number of the application being deployed. This version number should be
Expand Down
5 changes: 1 addition & 4 deletions charts/akeyless-api-gateway/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,8 @@ spec:
{{- range .Values.ingress.rules }}
- hosts:
- {{ .hostname }}
{{- if $.Values.ingress.certManager }}
{{$data := dict "hostname" .hostname "existingSecret" $.Values.ingress.existingSecret}}
{{- $data := dict "hostname" .hostname "existingSecret" $.Values.ingress.existingSecret}}
secretName: {{ include "akeyless-api-gw.ingressSecretTLSName" $data }}
{{- end }}
{{- end }}
{{- end }}

{{- end }}

0 comments on commit c3139f8

Please sign in to comment.