mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-31 03:45:17 +00:00
Signed-off-by: Pradeep Lakshmi Narasimha <pradeep.vaishnav4@gmail.com>
This commit is contained in:
parent
65782d37f8
commit
e80a71c512
10 changed files with 35 additions and 0 deletions
|
@ -41,6 +41,8 @@ annotations:
|
||||||
description: ImagePullSecrets made globally configurable
|
description: ImagePullSecrets made globally configurable
|
||||||
- kind: removed
|
- kind: removed
|
||||||
description: Deprecated configuration `features.reports.chunkSize` was removed
|
description: Deprecated configuration `features.reports.chunkSize` was removed
|
||||||
|
- kind: added
|
||||||
|
description: ImagePullSecrets made configurable for tests
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: grafana
|
- name: grafana
|
||||||
version: v0.0.0
|
version: v0.0.0
|
||||||
|
|
|
@ -728,6 +728,7 @@ The chart values are organised per component.
|
||||||
| test.image.repository | string | `"busybox"` | Image repository |
|
| test.image.repository | string | `"busybox"` | Image repository |
|
||||||
| test.image.tag | string | `"1.35"` | Image tag Defaults to `latest` if omitted |
|
| test.image.tag | string | `"1.35"` | Image tag Defaults to `latest` if omitted |
|
||||||
| test.image.pullPolicy | string | `nil` | Image pull policy Defaults to image.pullPolicy if omitted |
|
| test.image.pullPolicy | string | `nil` | Image pull policy Defaults to image.pullPolicy if omitted |
|
||||||
|
| test.imagePullSecrets | list | `[]` | Image pull secrets |
|
||||||
| test.resources.limits | object | `{"cpu":"100m","memory":"256Mi"}` | Pod resource limits |
|
| test.resources.limits | object | `{"cpu":"100m","memory":"256Mi"}` | Pod resource limits |
|
||||||
| test.resources.requests | object | `{"cpu":"10m","memory":"64Mi"}` | Pod resource requests |
|
| test.resources.requests | object | `{"cpu":"10m","memory":"64Mi"}` | Pod resource requests |
|
||||||
| test.securityContext | object | `{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"privileged":false,"readOnlyRootFilesystem":true,"runAsGroup":65534,"runAsNonRoot":true,"runAsUser":65534,"seccompProfile":{"type":"RuntimeDefault"}}` | Security context for the test containers |
|
| test.securityContext | object | `{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"privileged":false,"readOnlyRootFilesystem":true,"runAsGroup":65534,"runAsNonRoot":true,"runAsUser":65534,"seccompProfile":{"type":"RuntimeDefault"}}` | Security context for the test containers |
|
||||||
|
|
|
@ -10,6 +10,10 @@ metadata:
|
||||||
{{- include "kyverno.test.annotations" . | nindent 4 }}
|
{{- include "kyverno.test.annotations" . | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
restartPolicy: Never
|
restartPolicy: Never
|
||||||
|
{{- with .Values.test.imagePullSecrets | default .Values.global.imagePullSecrets }}
|
||||||
|
imagePullSecrets:
|
||||||
|
{{- tpl (toYaml .) $ | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: test
|
- name: test
|
||||||
image: {{ template "kyverno.test.image" . }}
|
image: {{ template "kyverno.test.image" . }}
|
||||||
|
|
|
@ -10,6 +10,10 @@ metadata:
|
||||||
{{- include "kyverno.test.annotations" . | nindent 4 }}
|
{{- include "kyverno.test.annotations" . | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
restartPolicy: Never
|
restartPolicy: Never
|
||||||
|
{{- with .Values.test.imagePullSecrets | default .Values.global.imagePullSecrets }}
|
||||||
|
imagePullSecrets:
|
||||||
|
{{- tpl (toYaml .) $ | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: test
|
- name: test
|
||||||
image: {{ template "kyverno.test.image" . }}
|
image: {{ template "kyverno.test.image" . }}
|
||||||
|
|
|
@ -10,6 +10,10 @@ metadata:
|
||||||
{{- include "kyverno.test.annotations" . | nindent 4 }}
|
{{- include "kyverno.test.annotations" . | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
restartPolicy: Never
|
restartPolicy: Never
|
||||||
|
{{- with .Values.test.imagePullSecrets | default .Values.global.imagePullSecrets }}
|
||||||
|
imagePullSecrets:
|
||||||
|
{{- tpl (toYaml .) $ | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: test
|
- name: test
|
||||||
image: {{ template "kyverno.test.image" . }}
|
image: {{ template "kyverno.test.image" . }}
|
||||||
|
|
|
@ -10,6 +10,10 @@ metadata:
|
||||||
{{- include "kyverno.test.annotations" . | nindent 4 }}
|
{{- include "kyverno.test.annotations" . | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
restartPolicy: Never
|
restartPolicy: Never
|
||||||
|
{{- with .Values.test.imagePullSecrets | default .Values.global.imagePullSecrets }}
|
||||||
|
imagePullSecrets:
|
||||||
|
{{- tpl (toYaml .) $ | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: test
|
- name: test
|
||||||
image: {{ template "kyverno.test.image" . }}
|
image: {{ template "kyverno.test.image" . }}
|
||||||
|
|
|
@ -10,6 +10,10 @@ metadata:
|
||||||
{{- include "kyverno.test.annotations" . | nindent 4 }}
|
{{- include "kyverno.test.annotations" . | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
restartPolicy: Never
|
restartPolicy: Never
|
||||||
|
{{- with .Values.test.imagePullSecrets | default .Values.global.imagePullSecrets }}
|
||||||
|
imagePullSecrets:
|
||||||
|
{{- tpl (toYaml .) $ | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: test
|
- name: test
|
||||||
image: {{ template "kyverno.test.image" . }}
|
image: {{ template "kyverno.test.image" . }}
|
||||||
|
|
|
@ -10,6 +10,10 @@ metadata:
|
||||||
{{- include "kyverno.test.annotations" . | nindent 4 }}
|
{{- include "kyverno.test.annotations" . | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
restartPolicy: Never
|
restartPolicy: Never
|
||||||
|
{{- with .Values.test.imagePullSecrets | default .Values.global.imagePullSecrets }}
|
||||||
|
imagePullSecrets:
|
||||||
|
{{- tpl (toYaml .) $ | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: test
|
- name: test
|
||||||
image: {{ template "kyverno.test.image" . }}
|
image: {{ template "kyverno.test.image" . }}
|
||||||
|
|
|
@ -10,6 +10,10 @@ metadata:
|
||||||
{{- include "kyverno.test.annotations" . | nindent 4 }}
|
{{- include "kyverno.test.annotations" . | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
restartPolicy: Never
|
restartPolicy: Never
|
||||||
|
{{- with .Values.test.imagePullSecrets | default .Values.global.imagePullSecrets }}
|
||||||
|
imagePullSecrets:
|
||||||
|
{{- tpl (toYaml .) $ | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: test
|
- name: test
|
||||||
image: {{ template "kyverno.test.image" . }}
|
image: {{ template "kyverno.test.image" . }}
|
||||||
|
|
|
@ -443,6 +443,10 @@ test:
|
||||||
# Defaults to image.pullPolicy if omitted
|
# Defaults to image.pullPolicy if omitted
|
||||||
pullPolicy: ~
|
pullPolicy: ~
|
||||||
|
|
||||||
|
# -- Image pull secrets
|
||||||
|
imagePullSecrets: []
|
||||||
|
# - name: secretName
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
# -- Pod resource limits
|
# -- Pod resource limits
|
||||||
limits:
|
limits:
|
||||||
|
|
Loading…
Add table
Reference in a new issue