v2

package
v2.22.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AKSCloudSpec added in v2.19.0

type AKSCloudSpec struct {
	Name           string `json:"name"`
	TenantID       string `json:"tenantID,omitempty" required:"true"`
	SubscriptionID string `json:"subscriptionID,omitempty" required:"true"`
	ClientID       string `json:"clientID,omitempty" required:"true"`
	ClientSecret   string `json:"clientSecret,omitempty" required:"true"`
	ResourceGroup  string `json:"resourceGroup" required:"true"`
	Location       string `json:"location"`
}

type AKSClusterStatus added in v2.22.0

type AKSClusterStatus struct {
	// ProvisioningState - Defines values for AKS cluster provisioning state.
	ProvisioningState AKSProvisioningState `json:"provisioningState"`
	// PowerState - Defines values for AKS cluster power state.
	PowerState AKSPowerState `json:"powerState"`
}

type AKSLocation added in v2.21.0

type AKSLocation struct {
	// The location name.
	Name string `json:"name,omitempty"`
	// READ-ONLY; The category of the region.
	RegionCategory string `json:"regionCategory,omitempty"`
}

AKSLocation represents an object of Azure Location. swagger:model AKSLocation

type AKSLocationList added in v2.21.0

type AKSLocationList []AKSLocation

AKSLocationList represents a list of AKS Locations. swagger:model AKSLocationList

type AKSPowerState added in v2.22.0

type AKSPowerState string

type AKSProvisioningState added in v2.22.0

type AKSProvisioningState string

type AzureResourceGroup added in v2.22.0

type AzureResourceGroup struct {
	// The name of the resource group.
	Name string `json:"name,omitempty"`
}

AzureResourceGroup represents an object of Azure ResourceGroup information.

type AzureResourceGroupList added in v2.22.0

type AzureResourceGroupList []AzureResourceGroup

AzureResourceGroupList represents an list of AKS ResourceGroups. swagger:model AzureResourceGroupList

type BringYourOwnSpec added in v2.21.0

type BringYourOwnSpec struct{}

type Constraint

type Constraint struct {
	Name   string            `json:"name"`
	Labels map[string]string `json:"labels,omitempty"`

	Spec   kubermaticv1.ConstraintSpec `json:"spec"`
	Status *ConstraintStatus           `json:"status,omitempty"`
}

Constraint represents a gatekeeper Constraint swagger:model Constraint

type ConstraintStatus

type ConstraintStatus struct {
	Enforcement    string      `json:"enforcement,omitempty"`
	AuditTimestamp string      `json:"auditTimestamp,omitempty"`
	Violations     []Violation `json:"violations,omitempty"`
	Synced         *bool       `json:"synced,omitempty"`
}

ConstraintStatus represents a constraint status which holds audit info.

type EKSCloudSpec added in v2.19.0

type EKSCloudSpec struct {
	Name                 string `json:"name"`
	AccessKeyID          string `json:"accessKeyID,omitempty" required:"true"`
	SecretAccessKey      string `json:"secretAccessKey,omitempty" required:"true"`
	Region               string `json:"region" required:"true"`
	AssumeRoleARN        string `json:"assumeRoleARN,omitempty"` //nolint:tagliatelle
	AssumeRoleExternalID string `json:"assumeRoleExternalID,omitempty"`
}

type EKSClusterSpec added in v2.21.0

type EKSClusterSpec struct {
	ResourcesVpcConfig VpcConfigRequest `json:"vpcConfigRequest" required:"true"`

	// The Kubernetes network configuration for the cluster.
	KubernetesNetworkConfig *EKSKubernetesNetworkConfigResponse `json:"kubernetesNetworkConfig,omitempty"`

	// The desired Kubernetes version for your cluster. If you don't specify a value
	// here, the latest version available in Amazon EKS is used.
	Version string `json:"version,omitempty"`

	// The Unix epoch timestamp in seconds for when the cluster was created.
	CreatedAt *time.Time `json:"createdAt,omitempty"`

	// The metadata that you apply to the cluster to assist with categorization
	// and organization. Each tag consists of a key and an optional value. You define
	// both. Cluster tags do not propagate to any other resources associated with
	// the cluster.
	Tags map[string]*string `json:"tags,omitempty"`

	// The Amazon Resource Name (ARN) of the IAM role that provides permissions
	// for the Kubernetes control plane to make calls to AWS API operations on your
	// behalf. For more information, see Amazon EKS Service IAM Role (https://docs.aws.amazon.com/eks/latest/userguide/service_IAM_role.html)
	// in the Amazon EKS User Guide .
	//
	// RoleArn is a required field
	RoleArn string `json:"roleArn,omitempty" required:"true"`
}

type EKSKubernetesNetworkConfigResponse added in v2.21.0

type EKSKubernetesNetworkConfigResponse struct {
	// The IP family used to assign Kubernetes pod and service IP addresses. The
	// IP family is always ipv4, unless you have a 1.21 or later cluster running
	// version 1.10.1 or later of the Amazon VPC CNI add-on and specified ipv6 when
	// you created the cluster.
	IpFamily string `json:"ipFamily,omitempty"`

	// The CIDR block that Kubernetes pod and service IP addresses are assigned
	// from. Kubernetes assigns addresses from an IPv4 CIDR block assigned to a
	// subnet that the node is in. If you didn't specify a CIDR block when you created
	// the cluster, then Kubernetes assigns addresses from either the 10.100.0.0/16
	// or 172.20.0.0/16 CIDR blocks. If this was specified, then it was specified
	// when the cluster was created and it can't be changed.
	ServiceIpv4Cidr *string `json:"serviceIpv4Cidr,omitempty"`

	// The CIDR block that Kubernetes pod and service IP addresses are assigned
	// from if you created a 1.21 or later cluster with version 1.10.1 or later
	// of the Amazon VPC CNI add-on and specified ipv6 for ipFamily when you created
	// the cluster. Kubernetes assigns service addresses from the unique local address
	// range (fc00::/7) because you can't specify a custom IPv6 CIDR block when
	// you create the cluster.
	ServiceIpv6Cidr *string `json:"serviceIpv6Cidr,omitempty"`
}

The Kubernetes network configuration for the cluster. The response contains a value for serviceIpv6Cidr or serviceIpv4Cidr, but not both.

type EKSMachineDeploymentCloudSpec added in v2.21.0

type EKSMachineDeploymentCloudSpec struct {
	// The Unix epoch timestamp in seconds for when the managed node group was created.
	CreatedAt time.Time `json:"createdAt,omitempty"`

	// The subnets to use for the Auto Scaling group that is created for your node
	// group. These subnets must have the tag key kubernetes.io/cluster/CLUSTER_NAME
	// with a value of shared, where CLUSTER_NAME is replaced with the name of your
	// cluster. If you specify launchTemplate, then don't specify SubnetId (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateNetworkInterface.html)
	// in your launch template, or the node group deployment will fail. For more
	// information about using launch templates with Amazon EKS, see Launch template
	// support (https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html)
	// in the Amazon EKS User Guide.
	//
	// Subnets is a required field
	Subnets []string `json:"subnets" required:"true"`

	// The Amazon Resource Name (ARN) of the IAM role to associate with your node
	// group. The Amazon EKS worker node kubelet daemon makes calls to AWS APIs
	// on your behalf. Nodes receive permissions for these API calls through an
	// IAM instance profile and associated policies. Before you can launch nodes
	// and register them into a cluster, you must create an IAM role for those nodes
	// to use when they are launched. For more information, see Amazon EKS node
	// IAM role (https://docs.aws.amazon.com/eks/latest/userguide/worker_node_IAM_role.html)
	// in the Amazon EKS User Guide . If you specify launchTemplate, then don't
	// specify IamInstanceProfile (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_IamInstanceProfile.html)
	// in your launch template, or the node group deployment will fail. For more
	// information about using launch templates with Amazon EKS, see Launch template
	// support (https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html)
	// in the Amazon EKS User Guide.
	//
	// NodeRole is a required field
	NodeRole string `json:"nodeRole" required:"true"`

	// The AMI type for your node group. GPU instance types should use the AL2_x86_64_GPU
	// AMI type. Non-GPU instances should use the AL2_x86_64 AMI type. Arm instances
	// should use the AL2_ARM_64 AMI type. All types use the Amazon EKS optimized
	// Amazon Linux 2 AMI. If you specify launchTemplate, and your launch template
	// uses a custom AMI, then don't specify amiType, or the node group deployment
	// will fail. For more information about using launch templates with Amazon
	// EKS, see Launch template support (https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html)
	// in the Amazon EKS User Guide.
	AmiType string `json:"amiType,omitempty"`

	// The architecture of the machine image.
	Architecture string `json:"architecture,omitempty"`

	// The capacity type for your node group. Possible values ON_DEMAND | SPOT
	CapacityType string `json:"capacityType,omitempty"`

	// The root device disk size (in GiB) for your node group instances. The default
	// disk size is 20 GiB. If you specify launchTemplate, then don't specify diskSize,
	// or the node group deployment will fail. For more information about using
	// launch templates with Amazon EKS, see Launch template support (https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html)
	// in the Amazon EKS User Guide.
	DiskSize int32 `json:"diskSize,omitempty"`

	// Specify the instance types for a node group. If you specify a GPU instance
	// type, be sure to specify AL2_x86_64_GPU with the amiType parameter. If you
	// specify launchTemplate, then you can specify zero or one instance type in
	// your launch template or you can specify 0-20 instance types for instanceTypes.
	// If however, you specify an instance type in your launch template and specify
	// any instanceTypes, the node group deployment will fail. If you don't specify
	// an instance type in a launch template or for instanceTypes, then t3.medium
	// is used, by default. If you specify Spot for capacityType, then we recommend
	// specifying multiple values for instanceTypes. For more information, see Managed
	// node group capacity types (https://docs.aws.amazon.com/eks/latest/userguide/managed-node-groups.html#managed-node-group-capacity-types)
	// and Launch template support (https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html)
	// in the Amazon EKS User Guide.
	InstanceTypes []string `json:"instanceTypes,omitempty"`

	// The Kubernetes labels to be applied to the nodes in the node group when they
	// are created.
	Labels map[string]string `json:"labels,omitempty"`

	// The metadata applied to the node group to assist with categorization and
	// organization. Each tag consists of a key and an optional value. You define
	// both. Node group tags do not propagate to any other resources associated
	// with the node group, such as the Amazon EC2 instances or subnets.
	Tags map[string]string `json:"tags,omitempty"`

	// The scaling configuration details for the Auto Scaling group that is created
	// for your node group.
	ScalingConfig EKSNodegroupScalingConfig `json:"scalingConfig,omitempty"`

	// The Kubernetes version to use for your managed nodes. By default, the Kubernetes
	// version of the cluster is used, and this is the only accepted specified value.
	// If you specify launchTemplate, and your launch template uses a custom AMI,
	// then don't specify version, or the node group deployment will fail. For more
	// information about using launch templates with Amazon EKS, see Launch template
	// support (https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html)
	// in the Amazon EKS User Guide.
	Version string `json:"version,omitempty"`
}

type EKSNodegroupScalingConfig added in v2.21.0

type EKSNodegroupScalingConfig struct {
	// The current number of nodes that the managed node group should maintain.
	DesiredSize int32 `json:"desiredSize,omitempty"`

	// The maximum number of nodes that the managed node group can scale out to.
	// For information about the maximum number that you can specify, see Amazon
	// EKS service quotas (https://docs.aws.amazon.com/eks/latest/userguide/service-quotas.html)
	// in the Amazon EKS User Guide.
	MaxSize int32 `json:"maxSize,omitempty"`

	// The minimum number of nodes that the managed node group can scale in to.
	// This number must be greater than zero.
	MinSize int32 `json:"minSize,omitempty"`
}

type ExternalClusterCloudSpec added in v2.19.0

type ExternalClusterCloudSpec struct {
	GKE          *GKECloudSpec     `json:"gke,omitempty"`
	EKS          *EKSCloudSpec     `json:"eks,omitempty"`
	AKS          *AKSCloudSpec     `json:"aks,omitempty"`
	KubeOne      *KubeOneSpec      `json:"kubeOne,omitempty"`
	BringYourOwn *BringYourOwnSpec `json:"bringYourOwn,omitempty"`
}

ExternalClusterCloudSpec represents an object holding cluster cloud details swagger:model ExternalClusterCloudSpec

type ExternalClusterMDState added in v2.21.0

type ExternalClusterMDState string
const (
	// ProvisioningExternalClusterMDState state indicates the cluster machine deployment is being created.
	ProvisioningExternalClusterMDState ExternalClusterMDState = "Provisioning"

	// RunningExternalClusterMDState state indicates the cluster machine deployment has been created and is fully usable.
	RunningExternalClusterMDState ExternalClusterMDState = "Running"

	// StoppedExternalClusterMDState state indicates the cluster machine deployment is stopped. This state is specific to AKS clusters.
	StoppedExternalClusterMDState ExternalClusterMDState = "Stopped"

	// ReconcilingExternalClusterMDState state indicates that some work is actively being done on the machine deployment, such as upgrading the master or
	// node software. Details can be found in the `StatusMessage` field.
	ReconcilingExternalClusterMDState ExternalClusterMDState = "Reconciling"

	// DeletingExternalClusterMDState state indicates the machine deployment is being deleted.
	DeletingExternalClusterMDState ExternalClusterMDState = "Deleting"

	// StartingExternalClusterMDState state indicates the cluster machine deployment is starting.
	StartingExternalClusterMDState ExternalClusterMDState = "Starting"

	// UnknownExternalClusterMDState indicates undefined state.
	UnknownExternalClusterMDState ExternalClusterMDState = "Unknown"

	// ErrorExternalClusterMDState state indicates the machine deployment is unusable. It will be automatically deleted. Details can be found in the
	// `statusMessage` field.
	ErrorExternalClusterMDState ExternalClusterMDState = "Error"

	// WarningExternalClusterMDState state indicates the machine deployment is usable but with some warnings. Details can be found in the
	// `statusMessage` field.
	WarningExternalClusterMDState ExternalClusterMDState = "Warning"
)

type ExternalClusterState added in v2.19.0

type ExternalClusterState string
const (
	// ProvisioningExternalClusterState state indicates the cluster is being created.
	ProvisioningExternalClusterState ExternalClusterState = "Provisioning"

	// StoppedExternalClusterState state indicates the cluster is stopped, this state is specific to AKS clusters.
	StoppedExternalClusterState ExternalClusterState = "Stopped"

	// StoppingExternalClusterState state indicates the cluster is stopping, this state is specific to AKS clusters.
	StoppingExternalClusterState ExternalClusterState = "Stopping"

	// RunningExternalClusterState state indicates the cluster has been created and is fully usable.
	RunningExternalClusterState ExternalClusterState = "Running"

	// ReconcilingExternalClusterState state indicates that some work is actively being done on the cluster, such as upgrading the master or
	// node software. Details can be found in the `StatusMessage` field.
	ReconcilingExternalClusterState ExternalClusterState = "Reconciling"

	// DeletingExternalClusterState state indicates the cluster is being deleted.
	DeletingExternalClusterState ExternalClusterState = "Deleting"

	// StartingExternalClusterState state indicates the cluster is starting.
	StartingExternalClusterState ExternalClusterState = "Starting"

	// UnknownExternalClusterState indicates undefined state.
	UnknownExternalClusterState ExternalClusterState = "Unknown"

	// ErrorExternalClusterState state indicates the cluster is unusable. It will be automatically deleted. Details can be found in the
	// `statusMessage` field.
	ErrorExternalClusterState ExternalClusterState = "Error"

	// WarningExternalClusterState state indicates the cluster is usable but with some warnings. Details can be found in the
	// `statusMessage` field.
	WarningExternalClusterState ExternalClusterState = "Warning"
)

type ExternalClusterStatus added in v2.19.0

type ExternalClusterStatus struct {
	State         ExternalClusterState `json:"state"`
	StatusMessage string               `json:"statusMessage,omitempty"`
	AKS           *AKSClusterStatus    `json:"aks,omitempty"`
}

ExternalClusterStatus defines the external cluster status.

type GKECloudSpec added in v2.19.0

type GKECloudSpec struct {
	Name           string `json:"name"`
	ServiceAccount string `json:"serviceAccount,omitempty"`
	Zone           string `json:"zone"`
}

type GKEDiskType added in v2.21.0

type GKEDiskType struct {
	// Name of the resource.
	Name string `json:"name"`
	// Description: An optional description of this resource.
	Description string `json:"description,omitempty"`
	// DefaultDiskSizeGb: Server-defined default disk size in GB.
	DefaultDiskSizeGb int64 `json:"defaultDiskSizeGb,omitempty"`
	// Kind: Type of the resource. Always compute#diskType for
	// disk types.
	Kind string `json:"kind,omitempty"`
}

GKEDiskType represents a object of GKE disk type. swagger:model GKEDiskType

type GKEDiskTypeList added in v2.21.0

type GKEDiskTypeList []GKEDiskType

GKEDiskTypeList represents an array of GKE disk types. swagger:model GKEDiskTypeList

type GKEImage added in v2.19.0

type GKEImage struct {
	Name      string `json:"name"`
	IsDefault bool   `json:"default,omitempty"`
}

GKEImage represents an object of GKE image. swagger:model GKEImage

type GKEImageList added in v2.19.0

type GKEImageList []GKEImage

GKEImageList represents an array of GKE images. swagger:model GKEImageList

type GKEZone added in v2.19.0

type GKEZone struct {
	Name      string `json:"name"`
	IsDefault bool   `json:"default,omitempty"`
}

GKEZone represents a object of GKE zone. swagger:model GKEZone

type GKEZoneList added in v2.19.0

type GKEZoneList []GKEZone

GKEZoneList represents an array of GKE zones. swagger:model GKEZoneList

type KubeOneAWSCloudSpec added in v2.21.0

type KubeOneAWSCloudSpec struct {
	AccessKeyID     string `json:"accessKeyID"`
	SecretAccessKey string `json:"secretAccessKey"`
}

KubeOneAWSCloudSpec specifies access data to Amazon Web Services.

type KubeOneAzureCloudSpec added in v2.21.0

type KubeOneAzureCloudSpec struct {
	TenantID       string `json:"tenantID"`
	SubscriptionID string `json:"subscriptionID"`
	ClientID       string `json:"clientID"`
	ClientSecret   string `json:"clientSecret"`
}

KubeOneAzureCloudSpec specifies access credentials to Azure cloud.

type KubeOneCloudSpec added in v2.21.0

type KubeOneCloudSpec struct {
	AWS                 *KubeOneAWSCloudSpec                 `json:"aws,omitempty"`
	GCP                 *KubeOneGCPCloudSpec                 `json:"gcp,omitempty"`
	Azure               *KubeOneAzureCloudSpec               `json:"azure,omitempty"`
	DigitalOcean        *KubeOneDigitalOceanCloudSpec        `json:"digitalocean,omitempty"`
	OpenStack           *KubeOneOpenStackCloudSpec           `json:"openstack,omitempty"`
	Equinix             *KubeOneEquinixCloudSpec             `json:"equinix,omitempty"`
	Hetzner             *KubeOneHetznerCloudSpec             `json:"hetzner,omitempty"`
	VSphere             *KubeOneVSphereCloudSpec             `json:"vsphere,omitempty"`
	VMwareCloudDirector *KubeOneVMwareCloudDirectorCloudSpec `json:"vmwareclouddirector,omitempty"`
	Nutanix             *KubeOneNutanixCloudSpec             `json:"nutanix,omitempty"`
}

type KubeOneDigitalOceanCloudSpec added in v2.21.0

type KubeOneDigitalOceanCloudSpec struct {
	// Token is used to authenticate with the DigitalOcean API.
	Token string `json:"token"`
}

KubeOneDigitalOceanCloudSpec specifies access data to DigitalOcean.

type KubeOneEquinixCloudSpec added in v2.21.0

type KubeOneEquinixCloudSpec struct {
	APIKey    string `json:"apiKey"`
	ProjectID string `json:"projectID"`
}

KubeOneEquinixCloudSpec specifies access data to a Equinix cloud.

type KubeOneGCPCloudSpec added in v2.21.0

type KubeOneGCPCloudSpec struct {
	ServiceAccount string `json:"serviceAccount"`
}

KubeOneGCPCloudSpec specifies access data to GCP.

type KubeOneHetznerCloudSpec added in v2.21.0

type KubeOneHetznerCloudSpec struct {
	// Token is used to authenticate with the Hetzner cloud API.
	Token string `json:"token"`
}

KubeOneHetznerCloudSpec specifies access data to hetzner cloud.

type KubeOneNutanixCloudSpec added in v2.21.0

type KubeOneNutanixCloudSpec struct {
	Username string `json:"username"`
	Password string `json:"password"`
	// Endpoint is the Nutanix API (Prism Central) endpoint
	Endpoint string `json:"endpoint"`
	// Port is the Nutanix API (Prism Central) port
	Port string `json:"port"`

	// PrismElementUsername to be used for the CSI driver
	PrismElementUsername string `json:"elementUsername"`
	// PrismElementPassword to be used for the CSI driver
	PrismElementPassword string `json:"elementPassword"`
	// PrismElementEndpoint to access Nutanix Prism Element for the CSI driver
	PrismElementEndpoint string `json:"elementEndpoint"`

	// ClusterName is the Nutanix cluster that this user cluster will be deployed to.
	// +optional
	ClusterName   string `json:"clusterName,omitempty"`
	AllowInsecure bool   `json:"allowInsecure,omitempty"`
	ProxyURL      string `json:"proxyURL,omitempty"`
}

KubeOneNutanixCloudSpec specifies the access data to Nutanix.

type KubeOneOpenStackCloudSpec added in v2.21.0

type KubeOneOpenStackCloudSpec struct {
	AuthURL  string `json:"authURL"`
	Username string `json:"username"`
	Password string `json:"password"`

	// Project, formally known as tenant.
	Project string `json:"project"`
	// ProjectID, formally known as tenantID.
	ProjectID string `json:"projectID"`

	Domain string `json:"domain"`
	Region string `json:"region"`
}

KubeOneOpenStackCloudSpec specifies access data to an OpenStack cloud.

type KubeOneSSHKey added in v2.21.0

type KubeOneSSHKey struct {
	// PrivateKey Base64 encoded privateKey
	PrivateKey string `json:"privateKey,omitempty"`
	Passphrase string `json:"passphrase,omitempty"`
}

SSHKeySpec represents the details of a ssh key.

type KubeOneSpec added in v2.21.0

type KubeOneSpec struct {
	// Manifest Base64 encoded manifest
	Manifest         string            `json:"manifest,omitempty"`
	SSHKey           KubeOneSSHKey     `json:"sshKey,omitempty"`
	ContainerRuntime string            `json:"containerRuntime,omitempty"`
	CloudSpec        *KubeOneCloudSpec `json:"cloudSpec,omitempty"`
}

type KubeOneVMwareCloudDirectorCloudSpec added in v2.21.0

type KubeOneVMwareCloudDirectorCloudSpec struct {
	URL          string `json:"url"`
	Username     string `json:"username"`
	Password     string `json:"password"`
	Organization string `json:"organization"`
	VDC          string `json:"vdc"`
}

KubeOneVMwareCloudDirectorCloudSpec represents credentials for accessing VMWare Cloud Director.

type KubeOneVSphereCloudSpec added in v2.21.0

type KubeOneVSphereCloudSpec struct {
	Server   string `json:"server"`
	Username string `json:"username"`
	Password string `json:"password"`
}

KubeOneVSphereCloudSpec credentials represents a credential for accessing vSphere.

type StorageClass added in v2.19.0

type StorageClass struct {
	Name string `json:"name"`
}

StorageClass represents a Kubernetes StorageClass swagger:model StorageClass

type StorageClassList added in v2.19.0

type StorageClassList []StorageClass

StorageClassList represents a list of Kubernetes StorageClass. swagger:model StorageClassList

type Violation

type Violation struct {
	EnforcementAction string `json:"enforcementAction,omitempty"`
	Kind              string `json:"kind,omitempty"`
	Message           string `json:"message,omitempty"`
	Name              string `json:"name,omitempty"`
	Namespace         string `json:"namespace,omitempty"`
}

Violation represents a gatekeeper constraint violation.

type VpcConfigRequest added in v2.21.0

type VpcConfigRequest struct {
	// The VPC associated with your cluster.
	VpcId *string `json:"vpcId,omitempty"`

	// Specify one or more security groups for the cross-account elastic network
	// interfaces that Amazon EKS creates to use to allow communication between
	// your nodes and the Kubernetes control plane.
	// For more information, see Amazon EKS security group considerations (https://docs.aws.amazon.com/eks/latest/userguide/sec-group-reqs.html)
	// in the Amazon EKS User Guide .
	SecurityGroupIds []string `json:"securityGroupIds" required:"true"`

	// Specify subnets for your Amazon EKS nodes. Amazon EKS creates cross-account
	// elastic network interfaces in these subnets to allow communication between
	// your nodes and the Kubernetes control plane.
	SubnetIds []string `json:"subnetIds" required:"true"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL