Skip to content

Commit

Permalink
Merge pull request aquasecurity#233 from aquasecurity/clean-ocp-configs
Browse files Browse the repository at this point in the history
Clean up OCP benchmark config.
  • Loading branch information
lizrice authored Mar 7, 2019
2 parents 772d2e2 + 1ead9e1 commit 8745df1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
13 changes: 4 additions & 9 deletions cfg/ocp-3.10/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,20 @@ master:
apiserver:
bins:
- openshift start master api
defaultconf: /etc/origin/master/master-config.yaml

scheduler:
bins:
- openshift start master controllers
defaultconf: /etc/origin/master/master-config.yaml

controllermanager:
bins:
- openshift start master controllers
defaultconf: /etc/origin/master/master-config.yaml

etcd:
defaultconf: /etc/kubernetes/manifests/etcd.yaml

node:
kubelet:
defaultconf: /etc/kubernetes/kubelet.conf
defaultsvc: /etc/systemd/system/kubelet.service.d/10-kubeadm.conf
bins:
- openshift start network

proxy:
defaultconf: /etc/kubernetes/addons/kube-proxy-daemonset.yaml
bins:
- openshift start network
2 changes: 1 addition & 1 deletion cfg/ocp-3.10/master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1043,7 +1043,7 @@ groups:
remediation: |
On the etcd server node, get the etcd data directory, passed as an argument --data-dir ,
from the below command:
ps -ef | grep $etcdbin
ps -ef | grep etcd
Run the below command (based on the etcd data directory found above). For example,
chmod 700 /var/lib/etcd
scored: true
Expand Down

0 comments on commit 8745df1

Please sign in to comment.