Skip to content
Open
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
20 changes: 20 additions & 0 deletions api/v1alpha1/namespacenetworkconfiguration_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,26 @@ const (
// resource.
NamespaceNetworkProtectionFinalizer = "netoperator.vmware.com/nnc-protection"

// PreExistingVPCNetworkConfigAnnotation, when set on a
// NamespaceNetworkConfiguration at creation time, names a pre-existing
// VPCNetworkConfiguration for the VPC reconciler to adopt (1:1) instead of
// auto-creating one named after this resource. This supports brownfield
// namespaces provisioned before adoption by this NamespaceNetworkConfiguration.
//
// Immutable once set and must not collide with another
// NamespaceNetworkConfiguration's mapping.
PreExistingVPCNetworkConfigAnnotation = "netoperator.vmware.com/vpc-network-configuration"

// PreExistingNSXNetworkConfigAnnotation, when set on a
// NamespaceNetworkConfiguration at creation time, names a pre-existing
// NSXNetworkConfiguration for the reconciler to adopt (1:1) instead of
// auto-creating one named after this resource. This supports brownfield
// namespaces provisioned before adoption by this NamespaceNetworkConfiguration.
//
// Immutable once set and must not collide with another
// NamespaceNetworkConfiguration's mapping.
PreExistingNSXNetworkConfigAnnotation = "netoperator.vmware.com/nsx-network-configuration"

// NamespaceNetworkConditionReady is True when all networking resources owned
// by the NamespaceNetworkConfiguration have been created and every associated
// Namespace has been fully reconciled. When no Namespaces are associated,
Expand Down