Commit eaf2b33
committed
OCPBUGS-88035: Add e2e test verifying CAPI EC2 instance ownership tag
Verify that a CAPI-created EC2 instance has the
kubernetes.io/cluster/<infraID>=owned tag that openshift-install
destroy cluster relies on to identify and clean up cloud resources.
CAPA may already add this tag automatically via its Build() +
WithCloudProvider() tag pipeline. This test confirms whether the tag
is present without any explicit AdditionalTags on the AWSCluster
object.
Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>1 parent 05c113e commit eaf2b33
2 files changed
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
217 | 237 | | |
218 | 238 | | |
219 | 239 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
82 | 83 | | |
83 | 84 | | |
0 commit comments