-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature(main): change gomod sealyun to labring crd (#84)
- Loading branch information
1 parent
c6c0de8
commit 383c423
Showing
12 changed files
with
494 additions
and
510 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
domain: sealyun.com | ||
domain: sealos.io | ||
repo: endpoints-operator | ||
version: "2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
235 changes: 235 additions & 0 deletions
235
config/charts/endpoints-operator/crds/sealos.io_clusterendpoints.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,235 @@ | ||
|
||
--- | ||
apiVersion: apiextensions.k8s.io/v1beta1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.2.5 | ||
creationTimestamp: null | ||
name: clusterendpoints.sealos.io | ||
spec: | ||
additionalPrinterColumns: | ||
- JSONPath: .metadata.creationTimestamp | ||
description: The creation date | ||
name: Age | ||
type: date | ||
- JSONPath: .status.phase | ||
description: The status | ||
name: Status | ||
type: string | ||
group: sealos.io | ||
names: | ||
kind: ClusterEndpoint | ||
listKind: ClusterEndpointList | ||
plural: clusterendpoints | ||
shortNames: | ||
- cep | ||
singular: clusterendpoint | ||
scope: Namespaced | ||
subresources: | ||
status: {} | ||
validation: | ||
openAPIV3Schema: | ||
description: ClusterEndpoint is the Schema for the tests API | ||
properties: | ||
apiVersion: | ||
description: 'APIVersion defines the versioned schema of this representation | ||
of an object. Servers should convert recognized schemas to the latest | ||
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' | ||
type: string | ||
kind: | ||
description: 'Kind is a string value representing the REST resource this | ||
object represents. Servers may infer this from the endpoint the client | ||
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' | ||
type: string | ||
metadata: | ||
type: object | ||
spec: | ||
description: ClusterEndpointSpec defines the desired state of ClusterEndpoint | ||
properties: | ||
clusterIP: | ||
type: string | ||
hosts: | ||
items: | ||
type: string | ||
type: array | ||
periodSeconds: | ||
description: How often (in seconds) to perform the probe. Default to | ||
10 seconds. Minimum value is 1. | ||
format: int32 | ||
type: integer | ||
ports: | ||
items: | ||
description: ServicePort contains information on service's port. | ||
properties: | ||
failureThreshold: | ||
description: Minimum consecutive failures for the probe to be | ||
considered failed after having succeeded. Defaults to 3. Minimum | ||
value is 1. | ||
format: int32 | ||
type: integer | ||
grpc: | ||
description: GRPC specifies an action involving a GRPC port. This | ||
is an alpha field and requires enabling GRPCContainerProbe feature | ||
gate. | ||
properties: | ||
enable: | ||
type: boolean | ||
service: | ||
description: "Service is the name of the service to place | ||
in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). | ||
\n If this is not specified, the default behavior is defined | ||
by gRPC." | ||
type: string | ||
required: | ||
- enable | ||
type: object | ||
httpGet: | ||
description: HTTPGet specifies the http request to perform. | ||
properties: | ||
httpHeaders: | ||
description: Custom headers to set in the request. HTTP allows | ||
repeated headers. | ||
items: | ||
description: HTTPHeader describes a custom header to be | ||
used in HTTP probes | ||
properties: | ||
name: | ||
description: The header field name | ||
type: string | ||
value: | ||
description: The header field value | ||
type: string | ||
required: | ||
- name | ||
- value | ||
type: object | ||
type: array | ||
path: | ||
description: Path to access on the HTTP server. | ||
type: string | ||
scheme: | ||
description: Scheme to use for connecting to the host. Defaults | ||
to HTTP. | ||
type: string | ||
type: object | ||
name: | ||
description: The name of this port within the service. This must | ||
be a DNS_LABEL. All ports within a ServiceSpec must have unique | ||
names. When considering the endpoints for a Service, this must | ||
match the 'name' field in the EndpointPort. Optional if only | ||
one ServicePort is defined on this service. | ||
type: string | ||
port: | ||
description: The port that will be exposed by this service. | ||
format: int32 | ||
type: integer | ||
protocol: | ||
description: The IP protocol for this port. Supports "TCP", "UDP", | ||
and "SCTP". Default is TCP. | ||
type: string | ||
successThreshold: | ||
description: Minimum consecutive successes for the probe to be | ||
considered successful after having failed. Defaults to 1. Must | ||
be 1 for liveness and startup. Minimum value is 1. | ||
format: int32 | ||
type: integer | ||
targetPort: | ||
description: Number or name of the port to access on the pods | ||
targeted by the service. Number must be in the range 1 to 65535. | ||
Name must be an IANA_SVC_NAME. If this is a string, it will | ||
be looked up as a named port in the target Pod's container ports. | ||
If this is not specified, the value of the 'port' field is used | ||
(an identity map). | ||
format: int32 | ||
type: integer | ||
tcpSocket: | ||
description: TCPSocket specifies an action involving a TCP port. | ||
TCP hooks not yet supported | ||
properties: | ||
enable: | ||
type: boolean | ||
required: | ||
- enable | ||
type: object | ||
timeoutSeconds: | ||
description: 'Number of seconds after which the probe times out. | ||
Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes' | ||
format: int32 | ||
type: integer | ||
udpSocket: | ||
description: UDPSocketAction specifies an action involving a UDP | ||
port. UDP hooks not yet supported | ||
properties: | ||
data: | ||
description: UDP test data | ||
items: | ||
type: integer | ||
type: array | ||
enable: | ||
type: boolean | ||
required: | ||
- enable | ||
type: object | ||
required: | ||
- port | ||
- targetPort | ||
type: object | ||
type: array | ||
type: object | ||
status: | ||
description: ClusterEndpointStatus defines the observed state of ClusterEndpoint | ||
properties: | ||
conditions: | ||
description: Conditions contains the different condition statuses for | ||
this workspace. | ||
items: | ||
properties: | ||
lastHeartbeatTime: | ||
description: LastHeartbeatTime is the last time this condition | ||
was updated. | ||
format: date-time | ||
type: string | ||
lastTransitionTime: | ||
description: LastTransitionTime is the last time the condition | ||
changed from one status to another. | ||
format: date-time | ||
type: string | ||
message: | ||
description: Message is a human-readable message indicating details | ||
about the last status change. | ||
type: string | ||
reason: | ||
description: Reason is a (brief) reason for the condition's last | ||
status change. | ||
type: string | ||
status: | ||
description: Status is the status of the condition. One of True, | ||
False, Unknown. | ||
type: string | ||
type: | ||
type: string | ||
required: | ||
- status | ||
- type | ||
type: object | ||
type: array | ||
phase: | ||
description: Phase is the recently observed lifecycle phase of the | ||
cluster endpoints. | ||
type: string | ||
required: | ||
- conditions | ||
type: object | ||
type: object | ||
version: v1beta1 | ||
versions: | ||
- name: v1beta1 | ||
served: true | ||
storage: true | ||
status: | ||
acceptedNames: | ||
kind: "" | ||
plural: "" | ||
conditions: [] | ||
storedVersions: [] |
Oops, something went wrong.