Documentation
¶
Overview ¶
+kubebuilder:object:generate=true +groupName=tailscale.com
Index ¶
- Variables
- func Resource(resource string) schema.GroupResource
- type ConditionType
- type Connector
- type ConnectorList
- type ConnectorSpec
- type ConnectorStatus
- type Container
- type DNSConfig
- type DNSConfigList
- type DNSConfigSpec
- type DNSConfigStatus
- type Env
- type Hostname
- type HostnamePrefix
- type Metrics
- type Name
- type Nameserver
- type NameserverImage
- type NameserverStatus
- type Pod
- type ProxyClass
- type ProxyClassList
- type ProxyClassSpec
- type ProxyClassStatus
- type ProxyGroup
- type ProxyGroupList
- type ProxyGroupSpec
- type ProxyGroupStatus
- type ProxyGroupType
- type Recorder
- type RecorderContainer
- type RecorderList
- type RecorderPod
- type RecorderSpec
- type RecorderStatefulSet
- type RecorderStatus
- type RecorderTailnetDevice
- type Route
- type Routes
- type S3
- type S3Credentials
- type S3Secret
- type StatefulSet
- type Storage
- type SubnetRouter
- type Tag
- type Tags
- type TailnetDevice
- type TailscaleConfig
Constants ¶
This section is empty.
Variables ¶
var ( SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme GlobalScheme *runtime.Scheme )
var ConnectorKind = "Connector"
var DNSConfigKind = "DNSConfig"
var ProxyClassKind = "ProxyClass"
var SchemeGroupVersion = schema.GroupVersion{Group: apis.GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type ConditionType ¶ added in v1.70.0
type ConditionType string
const ( ConnectorReady ConditionType = `ConnectorReady` ProxyClassReady ConditionType = `ProxyClassReady` ProxyGroupReady ConditionType = `ProxyGroupReady` ProxyReady ConditionType = `TailscaleProxyReady` // a Tailscale-specific condition type for corev1.Service RecorderReady ConditionType = `RecorderReady` // EgressSvcValid gets set on a user configured ExternalName Service that defines a tailnet target to be exposed // on a ProxyGroup. // Set to true if the user provided configuration is valid. EgressSvcValid ConditionType = `TailscaleEgressSvcValid` // EgressSvcConfigured gets set on a user configured ExternalName Service that defines a tailnet target to be exposed // on a ProxyGroup. // Set to true if the cluster resources for the service have been successfully configured. EgressSvcConfigured ConditionType = `TailscaleEgressSvcConfigured` // EgressSvcReady gets set on a user configured ExternalName Service that defines a tailnet target to be exposed // on a ProxyGroup. // Set to true if the service is ready to route cluster traffic. EgressSvcReady ConditionType = `TailscaleEgressSvcReady` )
const NameserverReady ConditionType = `NameserverReady`
NameserverReady is set to True if the nameserver has been successfully deployed to cluster.
type Connector ¶
type Connector struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // ConnectorSpec describes the desired Tailscale component. // More info: // https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Spec ConnectorSpec `json:"spec"` // ConnectorStatus describes the status of the Connector. This is set // and managed by the Tailscale operator. // +optional Status ConnectorStatus `json:"status"` }
Connector defines a Tailscale node that will be deployed in the cluster. The node can be configured to act as a Tailscale subnet router and/or a Tailscale exit node. Connector is a cluster-scoped resource. More info: https://tailscale.com/kb/1441/kubernetes-operator-connector
func (*Connector) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Connector.
func (*Connector) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Connector) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ConnectorList ¶
type ConnectorList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Connector `json:"items"` }
func (*ConnectorList) DeepCopy ¶
func (in *ConnectorList) DeepCopy() *ConnectorList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectorList.
func (*ConnectorList) DeepCopyInto ¶
func (in *ConnectorList) DeepCopyInto(out *ConnectorList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConnectorList) DeepCopyObject ¶
func (in *ConnectorList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ConnectorSpec ¶
type ConnectorSpec struct { // Tags that the Tailscale node will be tagged with. // Defaults to [tag:k8s]. // To autoapprove the subnet routes or exit node defined by a Connector, // you can configure Tailscale ACLs to give these tags the necessary // permissions. // See https://tailscale.com/kb/1337/acl-syntax#autoapprovers. // If you specify custom tags here, you must also make the operator an owner of these tags. // See https://tailscale.com/kb/1236/kubernetes-operator/#setting-up-the-kubernetes-operator. // Tags cannot be changed once a Connector node has been created. // Tag values must be in form ^tag:[a-zA-Z][a-zA-Z0-9-]*$. // +optional Tags Tags `json:"tags,omitempty"` // Hostname is the tailnet hostname that should be assigned to the // Connector node. If unset, hostname defaults to <connector // name>-connector. Hostname can contain lower case letters, numbers and // dashes, it must not start or end with a dash and must be between 2 // and 63 characters long. // +optional Hostname Hostname `json:"hostname,omitempty"` // ProxyClass is the name of the ProxyClass custom resource that // contains configuration options that should be applied to the // resources created for this Connector. If unset, the operator will // create resources with the default configuration. // +optional ProxyClass string `json:"proxyClass,omitempty"` // SubnetRouter defines subnet routes that the Connector node should // expose to tailnet. If unset, none are exposed. // https://tailscale.com/kb/1019/subnets/ // +optional SubnetRouter *SubnetRouter `json:"subnetRouter"` // ExitNode defines whether the Connector node should act as a // Tailscale exit node. Defaults to false. // https://tailscale.com/kb/1103/exit-nodes // +optional ExitNode bool `json:"exitNode"` }
ConnectorSpec describes a Tailscale node to be deployed in the cluster. +kubebuilder:validation:XValidation:rule="has(self.subnetRouter) || self.exitNode == true",message="A Connector needs to be either an exit node or a subnet router, or both."
func (*ConnectorSpec) DeepCopy ¶
func (in *ConnectorSpec) DeepCopy() *ConnectorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectorSpec.
func (*ConnectorSpec) DeepCopyInto ¶
func (in *ConnectorSpec) DeepCopyInto(out *ConnectorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConnectorStatus ¶
type ConnectorStatus struct { // List of status conditions to indicate the status of the Connector. // Known condition types are `ConnectorReady`. // +listType=map // +listMapKey=type // +optional Conditions []metav1.Condition `json:"conditions"` // SubnetRoutes are the routes currently exposed to tailnet via this // Connector instance. // +optional SubnetRoutes string `json:"subnetRoutes"` // IsExitNode is set to true if the Connector acts as an exit node. // +optional IsExitNode bool `json:"isExitNode"` // TailnetIPs is the set of tailnet IP addresses (both IPv4 and IPv6) // assigned to the Connector node. // +optional TailnetIPs []string `json:"tailnetIPs,omitempty"` // Hostname is the fully qualified domain name of the Connector node. // If MagicDNS is enabled in your tailnet, it is the MagicDNS name of the // node. // +optional Hostname string `json:"hostname,omitempty"` }
ConnectorStatus defines the observed state of the Connector.
func (*ConnectorStatus) DeepCopy ¶
func (in *ConnectorStatus) DeepCopy() *ConnectorStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectorStatus.
func (*ConnectorStatus) DeepCopyInto ¶
func (in *ConnectorStatus) DeepCopyInto(out *ConnectorStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Container ¶ added in v1.60.0
type Container struct { // List of environment variables to set in the container. // https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#environment-variables // Note that environment variables provided here will take precedence // over Tailscale-specific environment variables set by the operator, // however running proxies with custom values for Tailscale environment // variables (i.e TS_USERSPACE) is not recommended and might break in // the future. // +optional Env []Env `json:"env,omitempty"` // Container image name. By default images are pulled from // docker.io/tailscale/tailscale, but the official images are also // available at ghcr.io/tailscale/tailscale. Specifying image name here // will override any proxy image values specified via the Kubernetes // operator's Helm chart values or PROXY_IMAGE env var in the operator // Deployment. // https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#image // +optional Image string `json:"image,omitempty"` // Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always. // https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#image // +kubebuilder:validation:Enum=Always;Never;IfNotPresent // +optional ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy,omitempty"` // Container resource requirements. // By default Tailscale Kubernetes operator does not apply any resource // requirements. The amount of resources required wil depend on the // amount of resources the operator needs to parse, usage patterns and // cluster size. // https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#resources // +optional Resources corev1.ResourceRequirements `json:"resources,omitempty"` // Container security context. // Security context specified here will override the security context by the operator. // By default the operator: // - sets 'privileged: true' for the init container // - set NET_ADMIN capability for tailscale container for proxies that // are created for Services or Connector. // https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#security-context // +optional SecurityContext *corev1.SecurityContext `json:"securityContext,omitempty"` }
func (*Container) DeepCopy ¶ added in v1.60.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Container.
func (*Container) DeepCopyInto ¶ added in v1.60.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DNSConfig ¶ added in v1.66.0
type DNSConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // Spec describes the desired DNS configuration. // More info: // https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Spec DNSConfigSpec `json:"spec"` // Status describes the status of the DNSConfig. This is set // and managed by the Tailscale operator. // +optional Status DNSConfigStatus `json:"status"` }
DNSConfig can be deployed to cluster to make a subset of Tailscale MagicDNS names resolvable by cluster workloads. Use this if: A) you need to refer to tailnet services, exposed to cluster via Tailscale Kubernetes operator egress proxies by the MagicDNS names of those tailnet services (usually because the services run over HTTPS) B) you have exposed a cluster workload to the tailnet using Tailscale Ingress and you also want to refer to the workload from within the cluster over the Ingress's MagicDNS name (usually because you have some callback component that needs to use the same URL as that used by a non-cluster client on tailnet). When a DNSConfig is applied to a cluster, Tailscale Kubernetes operator will deploy a nameserver for ts.net DNS names and automatically populate it with records for any Tailscale egress or Ingress proxies deployed to that cluster. Currently you must manually update your cluster DNS configuration to add the IP address of the deployed nameserver as a ts.net stub nameserver. Instructions for how to do it: https://kubernetes.io/docs/tasks/administer-cluster/dns-custom-nameservers/#configuration-of-stub-domain-and-upstream-nameserver-using-coredns (for CoreDNS), https://cloud.google.com/kubernetes-engine/docs/how-to/kube-dns (for kube-dns). Tailscale Kubernetes operator will write the address of a Service fronting the nameserver to dsnconfig.status.nameserver.ip. DNSConfig is a singleton - you must not create more than one. NB: if you want cluster workloads to be able to refer to Tailscale Ingress using its MagicDNS name, you must also annotate the Ingress resource with tailscale.com/experimental-forward-cluster-traffic-via-ingress annotation to ensure that the proxy created for the Ingress listens on its Pod IP address. NB: Clusters where Pods get assigned IPv6 addresses only are currently not supported.
func (*DNSConfig) DeepCopy ¶ added in v1.66.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSConfig.
func (*DNSConfig) DeepCopyInto ¶ added in v1.66.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DNSConfig) DeepCopyObject ¶ added in v1.66.0
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DNSConfigList ¶ added in v1.66.0
type DNSConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []DNSConfig `json:"items"` }
func (*DNSConfigList) DeepCopy ¶ added in v1.66.0
func (in *DNSConfigList) DeepCopy() *DNSConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSConfigList.
func (*DNSConfigList) DeepCopyInto ¶ added in v1.66.0
func (in *DNSConfigList) DeepCopyInto(out *DNSConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DNSConfigList) DeepCopyObject ¶ added in v1.66.0
func (in *DNSConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DNSConfigSpec ¶ added in v1.66.0
type DNSConfigSpec struct { // Configuration for a nameserver that can resolve ts.net DNS names // associated with in-cluster proxies for Tailscale egress Services and // Tailscale Ingresses. The operator will always deploy this nameserver // when a DNSConfig is applied. Nameserver *Nameserver `json:"nameserver"` }
func (*DNSConfigSpec) DeepCopy ¶ added in v1.66.0
func (in *DNSConfigSpec) DeepCopy() *DNSConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSConfigSpec.
func (*DNSConfigSpec) DeepCopyInto ¶ added in v1.66.0
func (in *DNSConfigSpec) DeepCopyInto(out *DNSConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DNSConfigStatus ¶ added in v1.66.0
type DNSConfigStatus struct { // +listType=map // +listMapKey=type // +optional Conditions []metav1.Condition `json:"conditions"` // Nameserver describes the status of nameserver cluster resources. // +optional Nameserver *NameserverStatus `json:"nameserver"` }
func (*DNSConfigStatus) DeepCopy ¶ added in v1.66.0
func (in *DNSConfigStatus) DeepCopy() *DNSConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSConfigStatus.
func (*DNSConfigStatus) DeepCopyInto ¶ added in v1.66.0
func (in *DNSConfigStatus) DeepCopyInto(out *DNSConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Env ¶ added in v1.66.0
type Env struct { // Name of the environment variable. Must be a C_IDENTIFIER. Name Name `json:"name"` // Variable references $(VAR_NAME) are expanded using the previously defined // environment variables in the container and any service environment // variables. If a variable cannot be resolved, the reference in the input // string will be unchanged. Double $$ are reduced to a single $, which // allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will // produce the string literal "$(VAR_NAME)". Escaped references will never // be expanded, regardless of whether the variable exists or not. Defaults // to "". // +optional Value string `json:"value,omitempty"` }
func (*Env) DeepCopy ¶ added in v1.66.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Env.
func (*Env) DeepCopyInto ¶ added in v1.66.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Hostname ¶
type Hostname string
+kubebuilder:validation:Type=string +kubebuilder:validation:Pattern=`^[a-z0-9][a-z0-9-]{0,61}[a-z0-9]$`
type HostnamePrefix ¶ added in v1.76.0
type HostnamePrefix string
+kubebuilder:validation:Type=string +kubebuilder:validation:Pattern=`^[a-z0-9][a-z0-9-]{0,61}$`
type Metrics ¶ added in v1.66.0
type Metrics struct { // Setting enable to true will make the proxy serve Tailscale metrics // at <pod-ip>:9001/debug/metrics. // Defaults to false. Enable bool `json:"enable"` }
func (*Metrics) DeepCopy ¶ added in v1.66.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Metrics.
func (*Metrics) DeepCopyInto ¶ added in v1.66.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Name ¶ added in v1.66.0
type Name string
+kubebuilder:validation:Type=string +kubebuilder:validation:Pattern=`^[-._a-zA-Z][-._a-zA-Z0-9]*$`
type Nameserver ¶ added in v1.66.0
type Nameserver struct { // Nameserver image. Defaults to tailscale/k8s-nameserver:unstable. // +optional Image *NameserverImage `json:"image,omitempty"` }
func (*Nameserver) DeepCopy ¶ added in v1.66.0
func (in *Nameserver) DeepCopy() *Nameserver
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Nameserver.
func (*Nameserver) DeepCopyInto ¶ added in v1.66.0
func (in *Nameserver) DeepCopyInto(out *Nameserver)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NameserverImage ¶ added in v1.74.0
type NameserverImage struct { // Repo defaults to tailscale/k8s-nameserver. // +optional Repo string `json:"repo,omitempty"` // Tag defaults to unstable. // +optional Tag string `json:"tag,omitempty"` }
func (*NameserverImage) DeepCopy ¶ added in v1.74.0
func (in *NameserverImage) DeepCopy() *NameserverImage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NameserverImage.
func (*NameserverImage) DeepCopyInto ¶ added in v1.74.0
func (in *NameserverImage) DeepCopyInto(out *NameserverImage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NameserverStatus ¶ added in v1.66.0
type NameserverStatus struct { // IP is the ClusterIP of the Service fronting the deployed ts.net nameserver. // Currently you must manually update your cluster DNS config to add // this address as a stub nameserver for ts.net for cluster workloads to be // able to resolve MagicDNS names associated with egress or Ingress // proxies. // The IP address will change if you delete and recreate the DNSConfig. // +optional IP string `json:"ip"` }
func (*NameserverStatus) DeepCopy ¶ added in v1.66.0
func (in *NameserverStatus) DeepCopy() *NameserverStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NameserverStatus.
func (*NameserverStatus) DeepCopyInto ¶ added in v1.66.0
func (in *NameserverStatus) DeepCopyInto(out *NameserverStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Pod ¶ added in v1.60.0
type Pod struct { // Labels that will be added to the proxy Pod. // Any labels specified here will be merged with the default labels // applied to the Pod by the Tailscale Kubernetes operator. // Label keys and values must be valid Kubernetes label keys and values. // https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set // +optional Labels map[string]string `json:"labels,omitempty"` // Annotations that will be added to the proxy Pod. // Any annotations specified here will be merged with the default // annotations applied to the Pod by the Tailscale Kubernetes operator. // Annotations must be valid Kubernetes annotations. // https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/#syntax-and-character-set // +optional Annotations map[string]string `json:"annotations,omitempty"` // Proxy Pod's affinity rules. // By default, the Tailscale Kubernetes operator does not apply any affinity rules. // https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#affinity // +optional Affinity *corev1.Affinity `json:"affinity,omitempty"` // Configuration for the proxy container running tailscale. // +optional TailscaleContainer *Container `json:"tailscaleContainer,omitempty"` // Configuration for the proxy init container that enables forwarding. // +optional TailscaleInitContainer *Container `json:"tailscaleInitContainer,omitempty"` // Proxy Pod's security context. // By default Tailscale Kubernetes operator does not apply any Pod // security context. // https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#security-context-2 // +optional SecurityContext *corev1.PodSecurityContext `json:"securityContext,omitempty"` // Proxy Pod's image pull Secrets. // https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#PodSpec // +optional ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty"` // Proxy Pod's node name. // https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#scheduling // +optional NodeName string `json:"nodeName,omitempty"` // Proxy Pod's node selector. // By default Tailscale Kubernetes operator does not apply any node // selector. // https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#scheduling // +optional NodeSelector map[string]string `json:"nodeSelector,omitempty"` // Proxy Pod's tolerations. // By default Tailscale Kubernetes operator does not apply any // tolerations. // https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#scheduling // +optional Tolerations []corev1.Toleration `json:"tolerations,omitempty"` }
func (*Pod) DeepCopy ¶ added in v1.60.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Pod.
func (*Pod) DeepCopyInto ¶ added in v1.60.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProxyClass ¶ added in v1.60.0
type ProxyClass struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // Specification of the desired state of the ProxyClass resource. // https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Spec ProxyClassSpec `json:"spec"` // +optional // Status of the ProxyClass. This is set and managed automatically. // https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Status ProxyClassStatus `json:"status"` }
ProxyClass describes a set of configuration parameters that can be applied to proxy resources created by the Tailscale Kubernetes operator. To apply a given ProxyClass to resources created for a tailscale Ingress or Service, use tailscale.com/proxy-class=<proxyclass-name> label. To apply a given ProxyClass to resources created for a Connector, use connector.spec.proxyClass field. ProxyClass is a cluster scoped resource. More info: https://tailscale.com/kb/1445/kubernetes-operator-customization#cluster-resource-customization-using-proxyclass-custom-resource
func (*ProxyClass) DeepCopy ¶ added in v1.60.0
func (in *ProxyClass) DeepCopy() *ProxyClass
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxyClass.
func (*ProxyClass) DeepCopyInto ¶ added in v1.60.0
func (in *ProxyClass) DeepCopyInto(out *ProxyClass)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProxyClass) DeepCopyObject ¶ added in v1.60.0
func (in *ProxyClass) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProxyClassList ¶ added in v1.60.0
type ProxyClassList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []ProxyClass `json:"items"` }
+kubebuilder:object:root=true
func (*ProxyClassList) DeepCopy ¶ added in v1.60.0
func (in *ProxyClassList) DeepCopy() *ProxyClassList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxyClassList.
func (*ProxyClassList) DeepCopyInto ¶ added in v1.60.0
func (in *ProxyClassList) DeepCopyInto(out *ProxyClassList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProxyClassList) DeepCopyObject ¶ added in v1.60.0
func (in *ProxyClassList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProxyClassSpec ¶ added in v1.60.0
type ProxyClassSpec struct { // Configuration parameters for the proxy's StatefulSet. Tailscale // Kubernetes operator deploys a StatefulSet for each of the user // configured proxies (Tailscale Ingress, Tailscale Service, Connector). // +optional StatefulSet *StatefulSet `json:"statefulSet"` // Configuration for proxy metrics. Metrics are currently not supported // for egress proxies and for Ingress proxies that have been configured // with tailscale.com/experimental-forward-cluster-traffic-via-ingress // annotation. Note that the metrics are currently considered unstable // and will likely change in breaking ways in the future - we only // recommend that you use those for debugging purposes. // +optional Metrics *Metrics `json:"metrics,omitempty"` // TailscaleConfig contains options to configure the tailscale-specific // parameters of proxies. // +optional TailscaleConfig *TailscaleConfig `json:"tailscale,omitempty"` }
func (*ProxyClassSpec) DeepCopy ¶ added in v1.60.0
func (in *ProxyClassSpec) DeepCopy() *ProxyClassSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxyClassSpec.
func (*ProxyClassSpec) DeepCopyInto ¶ added in v1.60.0
func (in *ProxyClassSpec) DeepCopyInto(out *ProxyClassSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProxyClassStatus ¶ added in v1.60.0
type ProxyClassStatus struct { // List of status conditions to indicate the status of the ProxyClass. // Known condition types are `ProxyClassReady`. // +listType=map // +listMapKey=type // +optional Conditions []metav1.Condition `json:"conditions,omitempty"` }
func (*ProxyClassStatus) DeepCopy ¶ added in v1.60.0
func (in *ProxyClassStatus) DeepCopy() *ProxyClassStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxyClassStatus.
func (*ProxyClassStatus) DeepCopyInto ¶ added in v1.60.0
func (in *ProxyClassStatus) DeepCopyInto(out *ProxyClassStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProxyGroup ¶ added in v1.76.0
type ProxyGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // Spec describes the desired ProxyGroup instances. Spec ProxyGroupSpec `json:"spec"` // ProxyGroupStatus describes the status of the ProxyGroup resources. This is // set and managed by the Tailscale operator. // +optional Status ProxyGroupStatus `json:"status"` }
func (*ProxyGroup) DeepCopy ¶ added in v1.76.0
func (in *ProxyGroup) DeepCopy() *ProxyGroup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxyGroup.
func (*ProxyGroup) DeepCopyInto ¶ added in v1.76.0
func (in *ProxyGroup) DeepCopyInto(out *ProxyGroup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProxyGroup) DeepCopyObject ¶ added in v1.76.0
func (in *ProxyGroup) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProxyGroupList ¶ added in v1.76.0
type ProxyGroupList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []ProxyGroup `json:"items"` }
func (*ProxyGroupList) DeepCopy ¶ added in v1.76.0
func (in *ProxyGroupList) DeepCopy() *ProxyGroupList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxyGroupList.
func (*ProxyGroupList) DeepCopyInto ¶ added in v1.76.0
func (in *ProxyGroupList) DeepCopyInto(out *ProxyGroupList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProxyGroupList) DeepCopyObject ¶ added in v1.76.0
func (in *ProxyGroupList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProxyGroupSpec ¶ added in v1.76.0
type ProxyGroupSpec struct { // Type of the ProxyGroup proxies. Currently the only supported type is egress. Type ProxyGroupType `json:"type"` // Tags that the Tailscale devices will be tagged with. Defaults to [tag:k8s]. // If you specify custom tags here, make sure you also make the operator // an owner of these tags. // See https://tailscale.com/kb/1236/kubernetes-operator/#setting-up-the-kubernetes-operator. // Tags cannot be changed once a ProxyGroup device has been created. // Tag values must be in form ^tag:[a-zA-Z][a-zA-Z0-9-]*$. // +optional Tags Tags `json:"tags,omitempty"` // Replicas specifies how many replicas to create the StatefulSet with. // Defaults to 2. // +optional Replicas *int32 `json:"replicas,omitempty"` // HostnamePrefix is the hostname prefix to use for tailnet devices created // by the ProxyGroup. Each device will have the integer number from its // StatefulSet pod appended to this prefix to form the full hostname. // HostnamePrefix can contain lower case letters, numbers and dashes, it // must not start with a dash and must be between 1 and 62 characters long. // +optional HostnamePrefix HostnamePrefix `json:"hostnamePrefix,omitempty"` // ProxyClass is the name of the ProxyClass custom resource that contains // configuration options that should be applied to the resources created // for this ProxyGroup. If unset, and there is no default ProxyClass // configured, the operator will create resources with the default // configuration. // +optional ProxyClass string `json:"proxyClass,omitempty"` }
func (*ProxyGroupSpec) DeepCopy ¶ added in v1.76.0
func (in *ProxyGroupSpec) DeepCopy() *ProxyGroupSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxyGroupSpec.
func (*ProxyGroupSpec) DeepCopyInto ¶ added in v1.76.0
func (in *ProxyGroupSpec) DeepCopyInto(out *ProxyGroupSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProxyGroupStatus ¶ added in v1.76.0
type ProxyGroupStatus struct { // List of status conditions to indicate the status of the ProxyGroup // resources. Known condition types are `ProxyGroupReady`. // +listType=map // +listMapKey=type // +optional Conditions []metav1.Condition `json:"conditions,omitempty"` // List of tailnet devices associated with the ProxyGroup StatefulSet. // +listType=map // +listMapKey=hostname // +optional Devices []TailnetDevice `json:"devices,omitempty"` }
func (*ProxyGroupStatus) DeepCopy ¶ added in v1.76.0
func (in *ProxyGroupStatus) DeepCopy() *ProxyGroupStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxyGroupStatus.
func (*ProxyGroupStatus) DeepCopyInto ¶ added in v1.76.0
func (in *ProxyGroupStatus) DeepCopyInto(out *ProxyGroupStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProxyGroupType ¶ added in v1.76.0
type ProxyGroupType string
+kubebuilder:validation:Type=string +kubebuilder:validation:Enum=egress
const (
ProxyGroupTypeEgress ProxyGroupType = "egress"
)
type Recorder ¶ added in v1.74.0
type Recorder struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // Spec describes the desired recorder instance. Spec RecorderSpec `json:"spec"` // RecorderStatus describes the status of the recorder. This is set // and managed by the Tailscale operator. // +optional Status RecorderStatus `json:"status"` }
func (*Recorder) DeepCopy ¶ added in v1.74.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Recorder.
func (*Recorder) DeepCopyInto ¶ added in v1.74.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Recorder) DeepCopyObject ¶ added in v1.74.0
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RecorderContainer ¶ added in v1.74.0
type RecorderContainer struct { // List of environment variables to set in the container. // https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#environment-variables // Note that environment variables provided here will take precedence // over Tailscale-specific environment variables set by the operator, // however running proxies with custom values for Tailscale environment // variables (i.e TS_USERSPACE) is not recommended and might break in // the future. // +optional Env []Env `json:"env,omitempty"` // Container image name including tag. Defaults to docker.io/tailscale/tsrecorder // with the same tag as the operator, but the official images are also // available at ghcr.io/tailscale/tsrecorder. // https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#image // +optional Image string `json:"image,omitempty"` // Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always. // https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#image // +kubebuilder:validation:Enum=Always;Never;IfNotPresent // +optional ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy,omitempty"` // Container resource requirements. // By default, the operator does not apply any resource requirements. The // amount of resources required wil depend on the volume of recordings sent. // https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#resources // +optional Resources corev1.ResourceRequirements `json:"resources,omitempty"` // Container security context. By default, the operator does not apply any // container security context. // https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#security-context // +optional SecurityContext *corev1.SecurityContext `json:"securityContext,omitempty"` }
func (*RecorderContainer) DeepCopy ¶ added in v1.74.0
func (in *RecorderContainer) DeepCopy() *RecorderContainer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecorderContainer.
func (*RecorderContainer) DeepCopyInto ¶ added in v1.74.0
func (in *RecorderContainer) DeepCopyInto(out *RecorderContainer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RecorderList ¶ added in v1.74.0
type RecorderList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Recorder `json:"items"` }
func (*RecorderList) DeepCopy ¶ added in v1.74.0
func (in *RecorderList) DeepCopy() *RecorderList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecorderList.
func (*RecorderList) DeepCopyInto ¶ added in v1.74.0
func (in *RecorderList) DeepCopyInto(out *RecorderList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RecorderList) DeepCopyObject ¶ added in v1.74.0
func (in *RecorderList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RecorderPod ¶ added in v1.74.0
type RecorderPod struct { // Labels that will be added to Recorder Pods. Any labels specified here // will be merged with the default labels applied to the Pod by the operator. // https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set // +optional Labels map[string]string `json:"labels,omitempty"` // Annotations that will be added to Recorder Pods. Any annotations // specified here will be merged with the default annotations applied to // the Pod by the operator. // https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/#syntax-and-character-set // +optional Annotations map[string]string `json:"annotations,omitempty"` // Affinity rules for Recorder Pods. By default, the operator does not // apply any affinity rules. // https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#affinity // +optional Affinity *corev1.Affinity `json:"affinity,omitempty"` // Configuration for the Recorder container running tailscale. // +optional Container RecorderContainer `json:"container,omitempty"` // Security context for Recorder Pods. By default, the operator does not // apply any Pod security context. // https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#security-context-2 // +optional SecurityContext *corev1.PodSecurityContext `json:"securityContext,omitempty"` // Image pull Secrets for Recorder Pods. // https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#PodSpec // +optional ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty"` // Node selector rules for Recorder Pods. By default, the operator does // not apply any node selector rules. // https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#scheduling // +optional NodeSelector map[string]string `json:"nodeSelector,omitempty"` // Tolerations for Recorder Pods. By default, the operator does not apply // any tolerations. // https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#scheduling // +optional Tolerations []corev1.Toleration `json:"tolerations,omitempty"` }
func (*RecorderPod) DeepCopy ¶ added in v1.74.0
func (in *RecorderPod) DeepCopy() *RecorderPod
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecorderPod.
func (*RecorderPod) DeepCopyInto ¶ added in v1.74.0
func (in *RecorderPod) DeepCopyInto(out *RecorderPod)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RecorderSpec ¶ added in v1.74.0
type RecorderSpec struct { // Configuration parameters for the Recorder's StatefulSet. The operator // deploys a StatefulSet for each Recorder resource. // +optional StatefulSet RecorderStatefulSet `json:"statefulSet"` // Tags that the Tailscale device will be tagged with. Defaults to [tag:k8s]. // If you specify custom tags here, make sure you also make the operator // an owner of these tags. // See https://tailscale.com/kb/1236/kubernetes-operator/#setting-up-the-kubernetes-operator. // Tags cannot be changed once a Recorder node has been created. // Tag values must be in form ^tag:[a-zA-Z][a-zA-Z0-9-]*$. // +optional Tags Tags `json:"tags,omitempty"` // Set to true to enable the Recorder UI. The UI lists and plays recorded sessions. // The UI will be served at <MagicDNS name of the recorder>:443. Defaults to false. // Corresponds to --ui tsrecorder flag https://tailscale.com/kb/1246/tailscale-ssh-session-recording#deploy-a-recorder-node. // Required if S3 storage is not set up, to ensure that recordings are accessible. // +optional EnableUI bool `json:"enableUI,omitempty"` // Configure where to store session recordings. By default, recordings will // be stored in a local ephemeral volume, and will not be persisted past the // lifetime of a specific pod. // +optional Storage Storage `json:"storage,omitempty"` }
func (*RecorderSpec) DeepCopy ¶ added in v1.74.0
func (in *RecorderSpec) DeepCopy() *RecorderSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecorderSpec.
func (*RecorderSpec) DeepCopyInto ¶ added in v1.74.0
func (in *RecorderSpec) DeepCopyInto(out *RecorderSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RecorderStatefulSet ¶ added in v1.74.0
type RecorderStatefulSet struct { // Labels that will be added to the StatefulSet created for the Recorder. // Any labels specified here will be merged with the default labels applied // to the StatefulSet by the operator. // https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set // +optional Labels map[string]string `json:"labels,omitempty"` // Annotations that will be added to the StatefulSet created for the Recorder. // Any Annotations specified here will be merged with the default annotations // applied to the StatefulSet by the operator. // https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/#syntax-and-character-set // +optional Annotations map[string]string `json:"annotations,omitempty"` // Configuration for pods created by the Recorder's StatefulSet. // +optional Pod RecorderPod `json:"pod,omitempty"` }
func (*RecorderStatefulSet) DeepCopy ¶ added in v1.74.0
func (in *RecorderStatefulSet) DeepCopy() *RecorderStatefulSet
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecorderStatefulSet.
func (*RecorderStatefulSet) DeepCopyInto ¶ added in v1.74.0
func (in *RecorderStatefulSet) DeepCopyInto(out *RecorderStatefulSet)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RecorderStatus ¶ added in v1.74.0
type RecorderStatus struct { // List of status conditions to indicate the status of the Recorder. // Known condition types are `RecorderReady`. // +listType=map // +listMapKey=type // +optional Conditions []metav1.Condition `json:"conditions,omitempty"` // List of tailnet devices associated with the Recorder StatefulSet. // +listType=map // +listMapKey=hostname // +optional Devices []RecorderTailnetDevice `json:"devices,omitempty"` }
func (*RecorderStatus) DeepCopy ¶ added in v1.74.0
func (in *RecorderStatus) DeepCopy() *RecorderStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecorderStatus.
func (*RecorderStatus) DeepCopyInto ¶ added in v1.74.0
func (in *RecorderStatus) DeepCopyInto(out *RecorderStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RecorderTailnetDevice ¶ added in v1.76.0
type RecorderTailnetDevice struct { // Hostname is the fully qualified domain name of the device. // If MagicDNS is enabled in your tailnet, it is the MagicDNS name of the // node. Hostname string `json:"hostname"` // TailnetIPs is the set of tailnet IP addresses (both IPv4 and IPv6) // assigned to the device. // +optional TailnetIPs []string `json:"tailnetIPs,omitempty"` // URL where the UI is available if enabled for replaying recordings. This // will be an HTTPS MagicDNS URL. You must be connected to the same tailnet // as the recorder to access it. // +optional URL string `json:"url,omitempty"` }
func (*RecorderTailnetDevice) DeepCopy ¶ added in v1.76.0
func (in *RecorderTailnetDevice) DeepCopy() *RecorderTailnetDevice
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecorderTailnetDevice.
func (*RecorderTailnetDevice) DeepCopyInto ¶ added in v1.76.0
func (in *RecorderTailnetDevice) DeepCopyInto(out *RecorderTailnetDevice)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Route ¶
type Route string
+kubebuilder:validation:Type=string +kubebuilder:validation:Format=cidr
type Routes ¶
type Routes []Route
+kubebuilder:validation:MinItems=1
func (Routes) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Routes.
func (Routes) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type S3 ¶ added in v1.74.0
type S3 struct { // S3-compatible endpoint, e.g. s3.us-east-1.amazonaws.com. Endpoint string `json:"endpoint,omitempty"` // Bucket name to write to. The bucket is expected to be used solely for // recordings, as there is no stable prefix for written object names. Bucket string `json:"bucket,omitempty"` // Configure environment variable credentials for managing objects in the // configured bucket. If not set, tsrecorder will try to acquire credentials // first from the file system and then the STS API. // +optional Credentials S3Credentials `json:"credentials,omitempty"` }
func (*S3) DeepCopy ¶ added in v1.74.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3.
func (*S3) DeepCopyInto ¶ added in v1.74.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type S3Credentials ¶ added in v1.74.0
type S3Credentials struct { // Use a Kubernetes Secret from the operator's namespace as the source of // credentials. // +optional Secret S3Secret `json:"secret,omitempty"` }
func (*S3Credentials) DeepCopy ¶ added in v1.74.0
func (in *S3Credentials) DeepCopy() *S3Credentials
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3Credentials.
func (*S3Credentials) DeepCopyInto ¶ added in v1.74.0
func (in *S3Credentials) DeepCopyInto(out *S3Credentials)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type S3Secret ¶ added in v1.74.0
type S3Secret struct { // The name of a Kubernetes Secret in the operator's namespace that contains // credentials for writing to the configured bucket. Each key-value pair // from the secret's data will be mounted as an environment variable. It // should include keys for AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY if // using a static access key. //+optional Name string `json:"name,omitempty"` }
func (*S3Secret) DeepCopy ¶ added in v1.74.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3Secret.
func (*S3Secret) DeepCopyInto ¶ added in v1.74.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StatefulSet ¶ added in v1.60.0
type StatefulSet struct { // Labels that will be added to the StatefulSet created for the proxy. // Any labels specified here will be merged with the default labels // applied to the StatefulSet by the Tailscale Kubernetes operator as // well as any other labels that might have been applied by other // actors. // Label keys and values must be valid Kubernetes label keys and values. // https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set // +optional Labels map[string]string `json:"labels,omitempty"` // Annotations that will be added to the StatefulSet created for the proxy. // Any Annotations specified here will be merged with the default annotations // applied to the StatefulSet by the Tailscale Kubernetes operator as // well as any other annotations that might have been applied by other // actors. // Annotations must be valid Kubernetes annotations. // https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/#syntax-and-character-set // +optional Annotations map[string]string `json:"annotations,omitempty"` // Configuration for the proxy Pod. // +optional Pod *Pod `json:"pod,omitempty"` }
func (*StatefulSet) DeepCopy ¶ added in v1.60.0
func (in *StatefulSet) DeepCopy() *StatefulSet
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSet.
func (*StatefulSet) DeepCopyInto ¶ added in v1.60.0
func (in *StatefulSet) DeepCopyInto(out *StatefulSet)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Storage ¶ added in v1.74.0
type Storage struct { // Configure an S3-compatible API for storage. Required if the UI is not // enabled, to ensure that recordings are accessible. // +optional S3 *S3 `json:"s3,omitempty"` }
func (*Storage) DeepCopy ¶ added in v1.74.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Storage.
func (*Storage) DeepCopyInto ¶ added in v1.74.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubnetRouter ¶
type SubnetRouter struct { // AdvertiseRoutes refer to CIDRs that the subnet router should make // available. Route values must be strings that represent a valid IPv4 // or IPv6 CIDR range. Values can be Tailscale 4via6 subnet routes. // https://tailscale.com/kb/1201/4via6-subnets/ AdvertiseRoutes Routes `json:"advertiseRoutes"` }
SubnetRouter defines subnet routes that should be exposed to tailnet via a Connector node.
func (*SubnetRouter) DeepCopy ¶
func (in *SubnetRouter) DeepCopy() *SubnetRouter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetRouter.
func (*SubnetRouter) DeepCopyInto ¶
func (in *SubnetRouter) DeepCopyInto(out *SubnetRouter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Tag ¶
type Tag string
+kubebuilder:validation:Type=string +kubebuilder:validation:Pattern=`^tag:[a-zA-Z][a-zA-Z0-9-]*$`
type Tags ¶
type Tags []Tag
func (Tags) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Tags.
func (Tags) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TailnetDevice ¶ added in v1.74.0
type TailnetDevice struct { // Hostname is the fully qualified domain name of the device. // If MagicDNS is enabled in your tailnet, it is the MagicDNS name of the // node. Hostname string `json:"hostname"` // TailnetIPs is the set of tailnet IP addresses (both IPv4 and IPv6) // assigned to the device. // +optional TailnetIPs []string `json:"tailnetIPs,omitempty"` }
func (*TailnetDevice) DeepCopy ¶ added in v1.74.0
func (in *TailnetDevice) DeepCopy() *TailnetDevice
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TailnetDevice.
func (*TailnetDevice) DeepCopyInto ¶ added in v1.74.0
func (in *TailnetDevice) DeepCopyInto(out *TailnetDevice)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TailscaleConfig ¶ added in v1.68.0
type TailscaleConfig struct { // AcceptRoutes can be set to true to make the proxy instance accept // routes advertized by other nodes on the tailnet, such as subnet // routes. // This is equivalent of passing --accept-routes flag to a tailscale Linux client. // https://tailscale.com/kb/1019/subnets#use-your-subnet-routes-from-other-devices // Defaults to false. AcceptRoutes bool `json:"acceptRoutes,omitempty"` }
func (*TailscaleConfig) DeepCopy ¶ added in v1.68.0
func (in *TailscaleConfig) DeepCopy() *TailscaleConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TailscaleConfig.
func (*TailscaleConfig) DeepCopyInto ¶ added in v1.68.0
func (in *TailscaleConfig) DeepCopyInto(out *TailscaleConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.