mirror of
https://github.com/projectcapsule/capsule.git
synced 2026-08-19 04:26:45 +00:00
18 lines
722 B
Go
18 lines
722 B
Go
// Copyright 2020-2021 Clastix Labs
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package v1beta1
|
|
|
|
import (
|
|
"github.com/clastix/capsule/pkg/api"
|
|
)
|
|
|
|
type ServiceOptions struct {
|
|
// Specifies additional labels and annotations the Capsule operator places on any Service resource in the Tenant. Optional.
|
|
AdditionalMetadata *api.AdditionalMetadataSpec `json:"additionalMetadata,omitempty"`
|
|
// Block or deny certain type of Services. Optional.
|
|
AllowedServices *api.AllowedServices `json:"allowedServices,omitempty"`
|
|
// Specifies the external IPs that can be used in Services with type ClusterIP. An empty list means no IPs are allowed. Optional.
|
|
ExternalServiceIPs *api.ExternalServiceIPsSpec `json:"externalIPs,omitempty"`
|
|
}
|