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
ba77c572
Unverified
Commit
ba77c572
authored
Mar 04, 2020
by
Denise
Committed by
GitHub
Mar 04, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #163 from leodotcloud/cis
cis changes
parents
b5e3de1d
549b4897
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
10 deletions
+32
-10
pod.yaml
charts/rancher-cis-benchmark/v0.0.1/templates/pod.yaml
+25
-6
values.yaml
charts/rancher-cis-benchmark/v0.0.1/values.yaml
+7
-4
No files found.
charts/rancher-cis-benchmark/v0.0.1/templates/pod.yaml
View file @
ba77c572
...
...
@@ -14,6 +14,7 @@ metadata:
run
:
sonobuoy-master
spec
:
serviceAccountName
:
s-sa-{{ .Release.Name }}
terminationGracePeriodSeconds
:
0
volumes
:
-
configMap
:
name
:
s-config-cm-{{ .Release.Name }}
...
...
@@ -23,10 +24,20 @@ spec:
name
:
s-plugins-volume
-
emptyDir
:
{}
name
:
output-volume
{{
- if ne .Values.
s
kipConfigMapName ""
}}
{{
- if ne .Values.
userS
kipConfigMapName ""
}}
-
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
}}
...
...
@@ -66,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
}}
...
...
charts/rancher-cis-benchmark/v0.0.1/values.yaml
View file @
ba77c572
...
...
@@ -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
:
"
"
...
...
@@ -20,7 +23,7 @@ debugTime: "infinity"
image
:
repository
:
rancher/security-scan
tag
:
v0.1.
6
tag
:
v0.1.
7
pullPolicy
:
Always
nameOverride
:
"
"
...
...
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