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:
parent
e191a21b4d
commit
809c23a111
2 changed files with 2 additions and 0 deletions
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue