1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-31 03:45:17 +00:00

Add namespace in test pod and webhooks cleanup job helm template (#6061)

* add namespace in test pod

Signed-off-by: Jose Hisse <jhisse@users.noreply.github.com>

* add namespace in webhooks cleanup job

Signed-off-by: Jose Hisse <jhisse@users.noreply.github.com>

Signed-off-by: Jose Hisse <jhisse@users.noreply.github.com>
Co-authored-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
This commit is contained in:
José Hisse 2023-01-22 14:12:55 -03:00 committed by GitHub
parent e191a21b4d
commit 809c23a111
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -3,6 +3,7 @@ apiVersion: batch/v1
kind: Job
metadata:
name: {{ template "kyverno.fullname" . }}-hook-pre-delete
namespace: {{ template "kyverno.namespace" . }}
labels:
{{- include "kyverno.labels" . | nindent 4 }}
annotations:

View file

@ -2,6 +2,7 @@ apiVersion: v1
kind: Pod
metadata:
name: "{{ template "kyverno.fullname" . }}-test"
namespace: {{ template "kyverno.namespace" . }}
labels:
{{- include "kyverno.test-labels" . | nindent 4 }}
annotations: