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

feature: Added test.imagePullSecrets config in values.yaml (#11180) (#11195)

Signed-off-by: Pradeep Lakshmi Narasimha <pradeep.vaishnav4@gmail.com>
This commit is contained in:
Pradeep Lakshmi Narasimha 2024-09-19 13:26:03 +05:30 committed by GitHub
parent 65782d37f8
commit e80a71c512
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 35 additions and 0 deletions

View file

@ -41,6 +41,8 @@ annotations:
description: ImagePullSecrets made globally configurable
- kind: removed
description: Deprecated configuration `features.reports.chunkSize` was removed
- kind: added
description: ImagePullSecrets made configurable for tests
dependencies:
- name: grafana
version: v0.0.0

View file

@ -728,6 +728,7 @@ The chart values are organised per component.
| test.image.repository | string | `"busybox"` | Image repository |
| 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.imagePullSecrets | list | `[]` | Image pull secrets |
| test.resources.limits | object | `{"cpu":"100m","memory":"256Mi"}` | Pod resource limits |
| 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 |

View file

@ -10,6 +10,10 @@ metadata:
{{- include "kyverno.test.annotations" . | nindent 4 }}
spec:
restartPolicy: Never
{{- with .Values.test.imagePullSecrets | default .Values.global.imagePullSecrets }}
imagePullSecrets:
{{- tpl (toYaml .) $ | nindent 4 }}
{{- end }}
containers:
- name: test
image: {{ template "kyverno.test.image" . }}

View file

@ -10,6 +10,10 @@ metadata:
{{- include "kyverno.test.annotations" . | nindent 4 }}
spec:
restartPolicy: Never
{{- with .Values.test.imagePullSecrets | default .Values.global.imagePullSecrets }}
imagePullSecrets:
{{- tpl (toYaml .) $ | nindent 4 }}
{{- end }}
containers:
- name: test
image: {{ template "kyverno.test.image" . }}

View file

@ -10,6 +10,10 @@ metadata:
{{- include "kyverno.test.annotations" . | nindent 4 }}
spec:
restartPolicy: Never
{{- with .Values.test.imagePullSecrets | default .Values.global.imagePullSecrets }}
imagePullSecrets:
{{- tpl (toYaml .) $ | nindent 4 }}
{{- end }}
containers:
- name: test
image: {{ template "kyverno.test.image" . }}

View file

@ -10,6 +10,10 @@ metadata:
{{- include "kyverno.test.annotations" . | nindent 4 }}
spec:
restartPolicy: Never
{{- with .Values.test.imagePullSecrets | default .Values.global.imagePullSecrets }}
imagePullSecrets:
{{- tpl (toYaml .) $ | nindent 4 }}
{{- end }}
containers:
- name: test
image: {{ template "kyverno.test.image" . }}

View file

@ -10,6 +10,10 @@ metadata:
{{- include "kyverno.test.annotations" . | nindent 4 }}
spec:
restartPolicy: Never
{{- with .Values.test.imagePullSecrets | default .Values.global.imagePullSecrets }}
imagePullSecrets:
{{- tpl (toYaml .) $ | nindent 4 }}
{{- end }}
containers:
- name: test
image: {{ template "kyverno.test.image" . }}

View file

@ -10,6 +10,10 @@ metadata:
{{- include "kyverno.test.annotations" . | nindent 4 }}
spec:
restartPolicy: Never
{{- with .Values.test.imagePullSecrets | default .Values.global.imagePullSecrets }}
imagePullSecrets:
{{- tpl (toYaml .) $ | nindent 4 }}
{{- end }}
containers:
- name: test
image: {{ template "kyverno.test.image" . }}

View file

@ -10,6 +10,10 @@ metadata:
{{- include "kyverno.test.annotations" . | nindent 4 }}
spec:
restartPolicy: Never
{{- with .Values.test.imagePullSecrets | default .Values.global.imagePullSecrets }}
imagePullSecrets:
{{- tpl (toYaml .) $ | nindent 4 }}
{{- end }}
containers:
- name: test
image: {{ template "kyverno.test.image" . }}

View file

@ -443,6 +443,10 @@ test:
# Defaults to image.pullPolicy if omitted
pullPolicy: ~
# -- Image pull secrets
imagePullSecrets: []
# - name: secretName
resources:
# -- Pod resource limits
limits: