diff --git a/ops/tests/data/aws_sent.yaml b/ops/tests/data/aws_sent.yaml index 405d913..daf1bfa 100644 --- a/ops/tests/data/aws_sent.yaml +++ b/ops/tests/data/aws_sent.yaml @@ -13,7 +13,7 @@ ingress-address: 172.31.39.57 instance-id: '"i-abcdefghijklmnopq"' instance-security-group-tags: '{"kubernetes.io/cluster/kubernetes-generated-cluster-name": "owned"}' instance-subnet-tags: '{"kubernetes.io/cluster/kubernetes-generated-cluster-name": "owned"}' -instance-tags: '{"k8s.io/role/master": "true", "kubernetes.io/cluster/kubernetes-generated-cluster-name": "owned"}' +instance-tags: '{"k8s.io/role/control-plane": "true", "kubernetes.io/cluster/kubernetes-generated-cluster-name": "owned"}' enable-object-storage-management: "true" object-storage-management-patterns: '["arn:aws:s3:::auto-prefixed", "arn:aws:s3:::already-prefixed"]' enable-object-storage-access: "true" diff --git a/ops/tests/unit/test_ops_requires.py b/ops/tests/unit/test_ops_requires.py index 73aa90d..2f4db61 100644 --- a/ops/tests/unit/test_ops_requires.py +++ b/ops/tests/unit/test_ops_requires.py @@ -89,7 +89,7 @@ def test_is_ready_success(harness, recv_data): @pytest.mark.parametrize("method_name, args", [ - ("tag_instance", 'tags={"k8s.io/role/master": "true", "kubernetes.io/cluster/kubernetes-generated-cluster-name": "owned"}'), + ("tag_instance", 'tags={"k8s.io/role/control-plane": "true", "kubernetes.io/cluster/kubernetes-generated-cluster-name": "owned"}'), ("tag_instance_security_group", 'tags={"kubernetes.io/cluster/kubernetes-generated-cluster-name": "owned"}'), ("tag_instance_subnet", 'tags={"kubernetes.io/cluster/kubernetes-generated-cluster-name": "owned"}'), ("enable_acm_readonly", None),