wait jobs causing kyverno policy issues
During our latest mattermost renovate upgrading minio dependency started throwing errors due to minio's wait job not being in the correct namespace. Disabling the wait job causes kyverno policies to throw errors as all the templates gluon creates are empty.
Solution:
Surround the test-wait-job.yaml with an if statement to check if wait-job is enabled
{{- if .Values.minio.waitJob.enabled }}
{{ end }}
Edited by Jacob Kershaw