Skip to content

Commit

Permalink
Addition of ETCD cert happy cases
Browse files Browse the repository at this point in the history
  • Loading branch information
jeniawhite committed May 25, 2022
1 parent 79fda75 commit 1408db6
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions tests/product/tests/tests/process/process_test_cases.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@
cis_2_1 = [(
'CIS 2.1',
{
"unset": [
"--cert-file",
"--key-file"
]
"set": {
"--cert-file": "/etc/kubernetes/pki/etcd/server.crt",
"--key-file": "/etc/kubernetes/pki/etcd/server.key"
}
},
'/etc/kubernetes/manifests/etcd.yaml',
'failed'
'passed'
)]

cis_2_2 = [(
Expand Down Expand Up @@ -106,13 +106,13 @@
cis_2_4 = [(
'CIS 2.4',
{
"unset": [
"--peer-cert-file",
"--peer-key-file"
]
"set": {
"--peer-cert-file": "/etc/kubernetes/pki/etcd/peer.crt",
"--peer-key-file": "/etc/kubernetes/pki/etcd/peer.key"
}
},
'/etc/kubernetes/manifests/etcd.yaml',
'failed'
'passed'
)]

cis_2_5 = [(
Expand Down Expand Up @@ -1189,10 +1189,10 @@
)]

etcd_rules = [
# *cis_2_1, # TODO requires certificate files (removing them or placing stubs kills the cluster)
*cis_2_1,
*cis_2_2,
*cis_2_3,
# *cis_2_4, # TODO requires certificate files (removing them or placing stubs kills the cluster)
*cis_2_4,
*cis_2_5,
*cis_2_6,
]
Expand Down

0 comments on commit 1408db6

Please sign in to comment.