Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(helm:ingress): pass whole tls block #317

Merged
merged 2 commits into from
Jun 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions charts/policy-reporter/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ dependencies:
version: 2.7.1
- name: ui
repository: ""
version: 2.9.4
version: 2.9.5
- name: kyvernoPlugin
repository: ""
version: 1.5.4
digest: sha256:8c60bb2f27f40a297021c1ed8ac5d52d0053e36f65f1d71ad296a7beff95dd70
generated: "2023-05-02T09:19:51.799892+02:00"
version: 1.5.5
digest: sha256:bd96fe77e2f2bf55dba6332a1e61241e494b1f20f1ac5a3bfa181a3d16146d3c
generated: "2023-06-03T16:16:30.05684+03:00"
6 changes: 3 additions & 3 deletions charts/policy-reporter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: |
It creates Prometheus Metrics and can send rule validation events to different targets like Loki, Elasticsearch, Slack or Discord

type: application
version: 2.19.2
version: 2.19.3
appVersion: 2.15.2

icon: https://github.com/kyverno/kyverno/raw/main/img/logo.png
Expand All @@ -21,7 +21,7 @@ dependencies:
version: "2.7.1"
- name: ui
condition: ui.enabled
version: "2.9.4"
version: "2.9.5"
- name: kyvernoPlugin
condition: kyvernoPlugin.enabled
version: "1.5.4"
version: "1.5.5"
2 changes: 1 addition & 1 deletion charts/policy-reporter/charts/kyvernoPlugin/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ name: kyvernoPlugin
description: Policy Reporter Kyverno Plugin

type: application
version: 1.5.4
version: 1.5.5
appVersion: 1.5.1
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,8 @@ spec:
{{- end }}
{{- if .Values.ingress.tls }}
tls:
{{- range .Values.ingress.tls }}
- hosts:
{{- range .hosts }}
- {{ . | quote }}
{{- end }}
secretName: {{ .secretName }}
{{- end }}
{{- end }}
{{- toYaml .Values.ingress.tls | nindent 4 }}
{{- end -}}
rules:
{{- range .Values.ingress.hosts }}
- host: {{ .host | quote }}
Expand Down
2 changes: 1 addition & 1 deletion charts/policy-reporter/charts/ui/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ name: ui
description: Policy Reporter UI

type: application
version: 2.9.4
version: 2.9.5
appVersion: 1.8.4
10 changes: 2 additions & 8 deletions charts/policy-reporter/charts/ui/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,8 @@ spec:
{{- end }}
{{- if .Values.ingress.tls }}
tls:
{{- range .Values.ingress.tls }}
- hosts:
{{- range .hosts }}
- {{ . | quote }}
{{- end }}
secretName: {{ .secretName }}
{{- end }}
{{- end }}
{{- toYaml .Values.ingress.tls | nindent 4 }}
{{- end -}}
rules:
{{- range .Values.ingress.hosts }}
- host: {{ .host | quote }}
Expand Down
12 changes: 3 additions & 9 deletions charts/policy-reporter/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,8 @@ spec:
{{- end }}
{{- if .Values.ingress.tls }}
tls:
{{- range .Values.ingress.tls }}
- hosts:
{{- range .hosts }}
- {{ . | quote }}
{{- end }}
secretName: {{ .secretName }}
{{- end }}
{{- end }}
{{- toYaml .Values.ingress.tls | nindent 4 }}
{{- end -}}
rules:
{{- range .Values.ingress.hosts }}
- host: {{ .host | quote }}
Expand All @@ -64,4 +58,4 @@ spec:
{{- end }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}