Skip to content

Commit

Permalink
refresher spec: security_context
Browse files Browse the repository at this point in the history
  • Loading branch information
cben committed Jun 5, 2017
1 parent 2ea006b commit 88882b6
Showing 1 changed file with 8 additions and 0 deletions.
Expand Up @@ -162,6 +162,14 @@ def assert_specific_container
expect(@container.container_group).to have_attributes(
:name => "metrics-deployer-frcf1"
)

# TODO: move to kubernetes refresher test (needs cassette containing seLinuxOptions)
expect(@container.container_definition.security_context).to have_attributes(
se_linux_user: nil,
se_linux_role: nil,
se_linux_type: nil,
se_linux_level: "s0:c6,c0"
)
end

def assert_specific_container_group
Expand Down

0 comments on commit 88882b6

Please sign in to comment.