Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
system-charts
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rancher商店
system-charts
Commits
47fd06bd
Unverified
Commit
47fd06bd
authored
Feb 09, 2020
by
Murali Paluru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changes for user/default skip, not applicable info
parent
b62c7cee
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
9 deletions
+30
-9
pod.yaml
charts/rancher-cis-benchmark/v0.0.1/templates/pod.yaml
+24
-6
values.yaml
charts/rancher-cis-benchmark/v0.0.1/values.yaml
+6
-3
No files found.
charts/rancher-cis-benchmark/v0.0.1/templates/pod.yaml
View file @
47fd06bd
...
@@ -24,10 +24,20 @@ spec:
...
@@ -24,10 +24,20 @@ spec:
name
:
s-plugins-volume
name
:
s-plugins-volume
-
emptyDir
:
{}
-
emptyDir
:
{}
name
:
output-volume
name
:
output-volume
{{
- if ne .Values.
s
kipConfigMapName ""
}}
{{
- if ne .Values.
userS
kipConfigMapName ""
}}
-
configMap
:
-
configMap
:
name
:
{{
.Values.skipConfigMapName
}}
name
:
{{
.Values.userSkipConfigMapName
}}
name
:
s-skip-info-volume
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
}}
{{
- end
}}
containers
:
containers
:
-
name
:
{{
.Chart.Name
}}
-
name
:
{{
.Chart.Name
}}
...
@@ -67,9 +77,17 @@ spec:
...
@@ -67,9 +77,17 @@ spec:
name
:
s-plugins-volume
name
:
s-plugins-volume
-
mountPath
:
/tmp/sonobuoy
-
mountPath
:
/tmp/sonobuoy
name
:
output-volume
name
:
output-volume
{{
- if ne .Values.skipConfigMapName ""
}}
{{
- if ne .Values.userSkipConfigMapName ""
}}
-
mountPath
:
/etc/kbs
-
mountPath
:
/etc/kbs/userskip
name
:
s-skip-info-volume
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
}}
{{
- end
}}
resources
:
resources
:
{{
- toYaml .Values.resources | nindent 12
}}
{{
- toYaml .Values.resources | nindent 12
}}
...
...
charts/rancher-cis-benchmark/v0.0.1/values.yaml
View file @
47fd06bd
...
@@ -6,9 +6,12 @@ replicaCount: 1
...
@@ -6,9 +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
:
"
"
# skipConfigMapName is used to specify the name of cm where the skip info is stored
# userSkipConfigMapName is used to specify the name of cm where user skip info is stored
# skip has higher precedence than what's specified in the configmap
userSkipConfigMapName
:
"
"
skipConfigMapName
:
"
"
# 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
# overrideBenchmarkVersion is used to override the default benchmark version used for
# a particular k8s version
# a particular k8s version
overrideBenchmarkVersion
:
"
"
overrideBenchmarkVersion
:
"
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment