Commit f55ff061 by Murali Paluru Committed by Alena Prokharchyk

adding override bechmark version option for cis scan

parent b95f71c8
...@@ -87,6 +87,10 @@ data: ...@@ -87,6 +87,10 @@ data:
value: /tmp/results value: /tmp/results
- name: CHROOT_DIR - name: CHROOT_DIR
value: /node value: /node
{{- if .Values.overrideBenchmarkVersion }}
- name: OVERRIDE_BENCHMARK_VERSION
value: {{ .Values.overrideBenchmarkVersion }}
{{- end }}
{{- if .Values.debugWorker }} {{- if .Values.debugWorker }}
- name: DEBUG - name: DEBUG
value: "true" value: "true"
......
...@@ -32,8 +32,10 @@ spec: ...@@ -32,8 +32,10 @@ spec:
- name: {{ .Chart.Name }} - name: {{ .Chart.Name }}
restartPolicy: Never restartPolicy: Never
env: env:
- name: SKIP {{- if .Values.overrideBenchmarkVersion }}
value: {{ .Values.skip }} - name: OVERRIDE_BENCHMARK_VERSION
value: {{ .Values.overrideBenchmarkVersion }}
{{- end }}
- name: SONOBUOY_NS - name: SONOBUOY_NS
value: {{ .Release.Namespace }} value: {{ .Release.Namespace }}
- name: SONOBUOY_POD_NAME - name: SONOBUOY_POD_NAME
......
...@@ -6,11 +6,12 @@ replicaCount: 1 ...@@ -6,11 +6,12 @@ replicaCount: 1
# if owner is specified, it's used for the name of the configmap for results # if owner is specified, it's used for the name of the configmap for results
owner: "" owner: ""
# skip is used specify which tests to skip
skip: ""
# skipConfigMapName is used to specify the name of cm where the skip info is stored # skipConfigMapName is used to specify the name of cm where the skip info is stored
# skip has higher precedence than what's specified in the configmap # skip has higher precedence than what's specified in the configmap
skipConfigMapName: "" skipConfigMapName: ""
# overrideBenchmarkVersion is used to override the default benchmark version used for
# a particular k8s version
overrideBenchmarkVersion: ""
# when debug=true, the plugin pods sleep for the time specified # when debug=true, the plugin pods sleep for the time specified
debugMaster: false debugMaster: false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment