mirror of
https://github.com/tailscale/tailscale.git
synced 2025-04-21 14:11:56 +00:00
cmd/k8s-operator,k8s-operator: include top-level CRD descriptions (#14435)
When reading https://doc.crds.dev/github.com/tailscale/tailscale/tailscale.com/ProxyGroup/v1alpha1@v1.78.3 I noticed there is no top-level description for ProxyGroup and Recorder. Add one to give some high-level direction. Updates #cleanup Change-Id: I3666c5445be272ea5a1d4d02b6d5ad4c23afb09f Signed-off-by: Tom Proctor <tomhjp@users.noreply.github.com>
This commit is contained in:
parent
89adcd853d
commit
3adad364f1
@ -23,6 +23,17 @@ spec:
|
|||||||
name: v1alpha1
|
name: v1alpha1
|
||||||
schema:
|
schema:
|
||||||
openAPIV3Schema:
|
openAPIV3Schema:
|
||||||
|
description: |-
|
||||||
|
ProxyGroup defines a set of Tailscale devices that will act as proxies.
|
||||||
|
Currently only egress ProxyGroups are supported.
|
||||||
|
|
||||||
|
Use the tailscale.com/proxy-group annotation on a Service to specify that
|
||||||
|
the egress proxy should be implemented by a ProxyGroup instead of a single
|
||||||
|
dedicated proxy. In addition to running a highly available set of proxies,
|
||||||
|
ProxyGroup also allows for serving many annotated Services from a single
|
||||||
|
set of proxies to minimise resource consumption.
|
||||||
|
|
||||||
|
More info: https://tailscale.com/kb/1438/kubernetes-operator-cluster-egress
|
||||||
type: object
|
type: object
|
||||||
required:
|
required:
|
||||||
- spec
|
- spec
|
||||||
|
@ -27,6 +27,12 @@ spec:
|
|||||||
name: v1alpha1
|
name: v1alpha1
|
||||||
schema:
|
schema:
|
||||||
openAPIV3Schema:
|
openAPIV3Schema:
|
||||||
|
description: |-
|
||||||
|
Recorder defines a tsrecorder device for recording SSH sessions. By default,
|
||||||
|
it will store recordings in a local ephemeral volume. If you want to persist
|
||||||
|
recordings, you can configure an S3-compatible API for storage.
|
||||||
|
|
||||||
|
More info: https://tailscale.com/kb/1484/kubernetes-operator-deploying-tsrecorder
|
||||||
type: object
|
type: object
|
||||||
required:
|
required:
|
||||||
- spec
|
- spec
|
||||||
|
@ -2724,6 +2724,17 @@ spec:
|
|||||||
name: v1alpha1
|
name: v1alpha1
|
||||||
schema:
|
schema:
|
||||||
openAPIV3Schema:
|
openAPIV3Schema:
|
||||||
|
description: |-
|
||||||
|
ProxyGroup defines a set of Tailscale devices that will act as proxies.
|
||||||
|
Currently only egress ProxyGroups are supported.
|
||||||
|
|
||||||
|
Use the tailscale.com/proxy-group annotation on a Service to specify that
|
||||||
|
the egress proxy should be implemented by a ProxyGroup instead of a single
|
||||||
|
dedicated proxy. In addition to running a highly available set of proxies,
|
||||||
|
ProxyGroup also allows for serving many annotated Services from a single
|
||||||
|
set of proxies to minimise resource consumption.
|
||||||
|
|
||||||
|
More info: https://tailscale.com/kb/1438/kubernetes-operator-cluster-egress
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
description: |-
|
description: |-
|
||||||
@ -2916,6 +2927,12 @@ spec:
|
|||||||
name: v1alpha1
|
name: v1alpha1
|
||||||
schema:
|
schema:
|
||||||
openAPIV3Schema:
|
openAPIV3Schema:
|
||||||
|
description: |-
|
||||||
|
Recorder defines a tsrecorder device for recording SSH sessions. By default,
|
||||||
|
it will store recordings in a local ephemeral volume. If you want to persist
|
||||||
|
recordings, you can configure an S3-compatible API for storage.
|
||||||
|
|
||||||
|
More info: https://tailscale.com/kb/1484/kubernetes-operator-deploying-tsrecorder
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
description: |-
|
description: |-
|
||||||
|
@ -508,7 +508,16 @@ _Appears in:_
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
ProxyGroup defines a set of Tailscale devices that will act as proxies.
|
||||||
|
Currently only egress ProxyGroups are supported.
|
||||||
|
|
||||||
|
Use the tailscale.com/proxy-group annotation on a Service to specify that
|
||||||
|
the egress proxy should be implemented by a ProxyGroup instead of a single
|
||||||
|
dedicated proxy. In addition to running a highly available set of proxies,
|
||||||
|
ProxyGroup also allows for serving many annotated Services from a single
|
||||||
|
set of proxies to minimise resource consumption.
|
||||||
|
|
||||||
|
More info: https://tailscale.com/kb/1438/kubernetes-operator-cluster-egress
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -602,7 +611,11 @@ _Appears in:_
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Recorder defines a tsrecorder device for recording SSH sessions. By default,
|
||||||
|
it will store recordings in a local ephemeral volume. If you want to persist
|
||||||
|
recordings, you can configure an S3-compatible API for storage.
|
||||||
|
|
||||||
|
More info: https://tailscale.com/kb/1484/kubernetes-operator-deploying-tsrecorder
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,6 +14,16 @@ import (
|
|||||||
// +kubebuilder:resource:scope=Cluster,shortName=pg
|
// +kubebuilder:resource:scope=Cluster,shortName=pg
|
||||||
// +kubebuilder:printcolumn:name="Status",type="string",JSONPath=`.status.conditions[?(@.type == "ProxyGroupReady")].reason`,description="Status of the deployed ProxyGroup resources."
|
// +kubebuilder:printcolumn:name="Status",type="string",JSONPath=`.status.conditions[?(@.type == "ProxyGroupReady")].reason`,description="Status of the deployed ProxyGroup resources."
|
||||||
|
|
||||||
|
// ProxyGroup defines a set of Tailscale devices that will act as proxies.
|
||||||
|
// Currently only egress ProxyGroups are supported.
|
||||||
|
//
|
||||||
|
// Use the tailscale.com/proxy-group annotation on a Service to specify that
|
||||||
|
// the egress proxy should be implemented by a ProxyGroup instead of a single
|
||||||
|
// dedicated proxy. In addition to running a highly available set of proxies,
|
||||||
|
// ProxyGroup also allows for serving many annotated Services from a single
|
||||||
|
// set of proxies to minimise resource consumption.
|
||||||
|
//
|
||||||
|
// More info: https://tailscale.com/kb/1438/kubernetes-operator-cluster-egress
|
||||||
type ProxyGroup struct {
|
type ProxyGroup struct {
|
||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
metav1.ObjectMeta `json:"metadata,omitempty"`
|
metav1.ObjectMeta `json:"metadata,omitempty"`
|
||||||
|
@ -16,6 +16,11 @@ import (
|
|||||||
// +kubebuilder:printcolumn:name="Status",type="string",JSONPath=`.status.conditions[?(@.type == "RecorderReady")].reason`,description="Status of the deployed Recorder resources."
|
// +kubebuilder:printcolumn:name="Status",type="string",JSONPath=`.status.conditions[?(@.type == "RecorderReady")].reason`,description="Status of the deployed Recorder resources."
|
||||||
// +kubebuilder:printcolumn:name="URL",type="string",JSONPath=`.status.devices[?(@.url != "")].url`,description="URL on which the UI is exposed if enabled."
|
// +kubebuilder:printcolumn:name="URL",type="string",JSONPath=`.status.devices[?(@.url != "")].url`,description="URL on which the UI is exposed if enabled."
|
||||||
|
|
||||||
|
// Recorder defines a tsrecorder device for recording SSH sessions. By default,
|
||||||
|
// it will store recordings in a local ephemeral volume. If you want to persist
|
||||||
|
// recordings, you can configure an S3-compatible API for storage.
|
||||||
|
//
|
||||||
|
// More info: https://tailscale.com/kb/1484/kubernetes-operator-deploying-tsrecorder
|
||||||
type Recorder struct {
|
type Recorder struct {
|
||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
metav1.ObjectMeta `json:"metadata,omitempty"`
|
metav1.ObjectMeta `json:"metadata,omitempty"`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user