mirror of
https://github.com/projectcapsule/capsule.git
synced 2026-02-14 18:09:58 +00:00
* chore(deps): update dependency golangci/golangci-lint to v2.8.0 * chore(deps): update dependency golangci/golangci-lint to v2.8.0 Signed-off-by: Hristo Hristov <me@hhristov.info> * chore(deps): update dependency golangci/golangci-lint to v2.8.0 Signed-off-by: Hristo Hristov <me@hhristov.info> * chore(deps): update dependency golangci/golangci-lint to v2.8.0 Signed-off-by: Hristo Hristov <me@hhristov.info> --------- Signed-off-by: Hristo Hristov <me@hhristov.info> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Hristo Hristov <me@hhristov.info>
22 lines
1.0 KiB
Go
22 lines
1.0 KiB
Go
// Copyright 2020-2026 Project Capsule Authors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package api
|
|
|
|
// +kubebuilder:object:generate=true
|
|
|
|
type ServiceOptions struct {
|
|
// Specifies additional labels and annotations the Capsule operator places on any Service resource in the Tenant. Optional.
|
|
AdditionalMetadata *AdditionalMetadataSpec `json:"additionalMetadata,omitempty"`
|
|
// Block or deny certain type of Services. Optional.
|
|
AllowedServices *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 *ExternalServiceIPsSpec `json:"externalIPs,omitempty"`
|
|
// Define the labels that a Tenant Owner cannot set for their Service resources.
|
|
// +optional
|
|
ForbiddenLabels ForbiddenListSpec `json:"forbiddenLabels,omitzero"`
|
|
// Define the annotations that a Tenant Owner cannot set for their Service resources.
|
|
// +optional
|
|
ForbiddenAnnotations ForbiddenListSpec `json:"forbiddenAnnotations,omitzero"`
|
|
}
|