Commit f55ff061 authored by Murali Paluru's avatar Murali Paluru Committed by Alena Prokharchyk
Browse files

adding override bechmark version option for cis scan

parent b95f71c8
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -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"
+4 −2
Original line number Original line Diff line number Diff line
@@ -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
+3 −2
Original line number Original line Diff line number Diff line
@@ -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