changes for user/default skip, not applicable info

parent b62c7cee
......@@ -24,10 +24,20 @@ spec:
name: s-plugins-volume
- emptyDir: {}
name: output-volume
{{- if ne .Values.skipConfigMapName "" }}
{{- if ne .Values.userSkipConfigMapName "" }}
- configMap:
name: {{ .Values.skipConfigMapName }}
name: s-skip-info-volume
name: {{ .Values.userSkipConfigMapName }}
name: user-skip-info-volume
{{- end }}
{{- if ne .Values.defaultSkipConfigMapName "" }}
- configMap:
name: {{ .Values.defaultSkipConfigMapName }}
name: default-skip-info-volume
{{- end }}
{{- if ne .Values.notApplicableConfigMapName "" }}
- configMap:
name: {{ .Values.notApplicableConfigMapName }}
name: not-applicable-info-volume
{{- end }}
containers:
- name: {{ .Chart.Name }}
......@@ -67,9 +77,17 @@ spec:
name: s-plugins-volume
- mountPath: /tmp/sonobuoy
name: output-volume
{{- if ne .Values.skipConfigMapName "" }}
- mountPath: /etc/kbs
name: s-skip-info-volume
{{- if ne .Values.userSkipConfigMapName "" }}
- mountPath: /etc/kbs/userskip
name: user-skip-info-volume
{{- end }}
{{- if ne .Values.defaultSkipConfigMapName "" }}
- mountPath: /etc/kbs/defaultskip
name: default-skip-info-volume
{{- end }}
{{- if ne .Values.notApplicableConfigMapName "" }}
- mountPath: /etc/kbs/notapplicable
name: not-applicable-info-volume
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
......
......@@ -6,9 +6,12 @@ replicaCount: 1
# if owner is specified, it's used for the name of the configmap for results
owner: ""
# 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
skipConfigMapName: ""
# userSkipConfigMapName is used to specify the name of cm where user skip info is stored
userSkipConfigMapName: ""
# defaultSkipConfigMapName is used to specify the name of cm where default skip info is stored
defaultSkipConfigMapName: ""
# notApplicableConfigMapName
notApplicableConfigMapName: ""
# overrideBenchmarkVersion is used to override the default benchmark version used for
# a particular k8s version
overrideBenchmarkVersion: ""
......
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