Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions internal/oci/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,14 @@ func (c *Client) CreateReservedPublicIP(ctx context.Context, privateIPOCID, disp
Lifetime: core.CreatePublicIpDetailsLifetimeReserved,
DisplayName: common.String(displayName),
PrivateIpId: common.String(privateIPOCID),
// oci-free-tier-monitor's orphan-IP cleanup skips anything
// carrying this tag, regardless of lifecycle_state. Without it,
// the monitor's scheduled scan can race this controller's own
// detach/reattach during a failover — the IP briefly reads
// AVAILABLE mid-reassignment — and delete a live Service's VIP.
FreeformTags: map[string]string{
"pivot.oci.io/managed": "true",
},
},
})
if err != nil {
Expand Down
Loading