// Copyright 2020-2026 Project Capsule Authors
// SPDX-License-Identifier: Apache-2.0

package api

// +kubebuilder:validation:Pattern="^([0-9]{1,3}.){3}[0-9]{1,3}(/([0-9]|[1-2][0-9]|3[0-2]))?$"
type AllowedIP string

// +kubebuilder:object:generate=true

type ExternalServiceIPsSpec struct {
	Allowed []AllowedIP `json:"allowed"`
}
