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
f55ff061
Commit
f55ff061
authored
Dec 12, 2019
by
Murali Paluru
Committed by
Alena Prokharchyk
Dec 13, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adding override bechmark version option for cis scan
parent
b95f71c8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
4 deletions
+11
-4
configmap.yaml
charts/rancher-cis-benchmark/v0.0.1/templates/configmap.yaml
+4
-0
pod.yaml
charts/rancher-cis-benchmark/v0.0.1/templates/pod.yaml
+4
-2
values.yaml
charts/rancher-cis-benchmark/v0.0.1/values.yaml
+3
-2
No files found.
charts/rancher-cis-benchmark/v0.0.1/templates/configmap.yaml
View file @
f55ff061
...
@@ -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"
...
...
charts/rancher-cis-benchmark/v0.0.1/templates/pod.yaml
View file @
f55ff061
...
@@ -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
...
...
charts/rancher-cis-benchmark/v0.0.1/values.yaml
View file @
f55ff061
...
@@ -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
...
...
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