Skip to content

Commit

Permalink
woke-ignore kubernetes master role
Browse files Browse the repository at this point in the history
  • Loading branch information
addyess committed Jun 20, 2024
1 parent 824ec74 commit f9cbeb4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/unit/test_cloud_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,11 @@ def test_cloud_aws(harness):
event = mock.MagicMock()
harness.charm.cloud_integration.integrate(event)
mock_cloud.tag_instance.assert_called_once_with(
{"kubernetes.io/cluster/my-cluster": "owned", "k8s.io/role/master": "true"}
{
"kubernetes.io/cluster/my-cluster": "owned",
# wokeignore:rule=master
"k8s.io/role/master": "true",
}
)
mock_cloud.tag_instance_security_group.assert_called_once_with(
{"kubernetes.io/cluster/my-cluster": "owned"}
Expand Down

0 comments on commit f9cbeb4

Please sign in to comment.