Skip to content

Commit

Permalink
Merge pull request #317 from rufusnufus/main
Browse files Browse the repository at this point in the history
fix(helm:ingress): pass whole tls block
  • Loading branch information
fjogeleit authored Jun 4, 2023
2 parents 880bd5f + faac863 commit 3d6285c
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 34 deletions.
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 }}

0 comments on commit 3d6285c

Please sign in to comment.