-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
init controller webhook and informer
Signed-off-by: ii2day <[email protected]>
- Loading branch information
Showing
59 changed files
with
2,544 additions
and
1,303 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 |
---|---|---|
@@ -0,0 +1,75 @@ | ||
--- | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: (unknown) | ||
creationTimestamp: null | ||
name: kclustergroups.koffloader.koffloader.io | ||
spec: | ||
group: koffloader.koffloader.io | ||
names: | ||
categories: | ||
- koffloader | ||
kind: KClusterGroup | ||
listKind: KClusterGroupList | ||
plural: kclustergroups | ||
shortNames: | ||
- kcg | ||
singular: kclustergroup | ||
scope: Cluster | ||
versions: | ||
- additionalPrinterColumns: | ||
- description: clusterConnectorType | ||
jsonPath: .spec.clusterConnectorType | ||
name: clusterConnectorType | ||
type: string | ||
name: v1beta1 | ||
schema: | ||
openAPIV3Schema: | ||
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: | ||
properties: | ||
clusterConnector: | ||
properties: | ||
ciliumNamespace: | ||
type: string | ||
type: | ||
type: string | ||
type: object | ||
kubeconfig: | ||
properties: | ||
secretName: | ||
type: string | ||
secretNamespace: | ||
type: string | ||
type: object | ||
type: object | ||
status: | ||
properties: | ||
clusterConnector: | ||
type: string | ||
kClusterGroup: | ||
type: string | ||
required: | ||
- kClusterGroup | ||
type: object | ||
required: | ||
- metadata | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} |
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
70 changes: 70 additions & 0 deletions
70
charts/crds/koffloader.koffloader.io_serviceexportpolicies.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,70 @@ | ||
--- | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: (unknown) | ||
creationTimestamp: null | ||
name: serviceexportpolicies.koffloader.koffloader.io | ||
spec: | ||
group: koffloader.koffloader.io | ||
names: | ||
categories: | ||
- koffloader | ||
kind: ServiceExportPolicy | ||
listKind: ServiceExportPolicyList | ||
plural: serviceexportpolicies | ||
shortNames: | ||
- sep | ||
singular: serviceexportpolicy | ||
scope: Cluster | ||
versions: | ||
- name: v1beta1 | ||
schema: | ||
openAPIV3Schema: | ||
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: | ||
properties: | ||
clusterConnector: | ||
properties: | ||
ciliumNamespace: | ||
type: string | ||
type: | ||
type: string | ||
type: object | ||
kubeconfig: | ||
properties: | ||
secretName: | ||
type: string | ||
secretNamespace: | ||
type: string | ||
type: object | ||
type: object | ||
status: | ||
properties: | ||
clusterConnector: | ||
type: string | ||
kClusterGroup: | ||
type: string | ||
required: | ||
- kClusterGroup | ||
type: object | ||
required: | ||
- metadata | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} |
Oops, something went wrong.