-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Rewant Soni <resoni@redhat.com>
- Loading branch information
1 parent
ede4515
commit 1cafbac
Showing
15 changed files
with
725 additions
and
2 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
71 changes: 71 additions & 0 deletions
71
config/crd/bases/ocs.openshift.io_storageclusterpeers.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,71 @@ | ||
--- | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.15.0 | ||
name: storageclusterpeers.ocs.openshift.io | ||
spec: | ||
group: ocs.openshift.io | ||
names: | ||
kind: StorageClusterPeer | ||
listKind: StorageClusterPeerList | ||
plural: storageclusterpeers | ||
singular: storageclusterpeer | ||
scope: Namespaced | ||
versions: | ||
- name: v1 | ||
schema: | ||
openAPIV3Schema: | ||
description: StorageClusterPeer is the Schema for the storageclusterpeers | ||
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: StorageClusterPeerSpec defines the desired state of StorageClusterPeer | ||
properties: | ||
APIServerEndpoint: | ||
description: APIServerEndpoint is the URI of the ocs api server | ||
type: string | ||
onboardingTicket: | ||
description: OnboardingTicket holds an identity information required | ||
for provider to onboard. | ||
type: string | ||
required: | ||
- APIServerEndpoint | ||
- onboardingTicket | ||
type: object | ||
status: | ||
description: StorageClusterPeerStatus defines the observed state of StorageClusterPeer | ||
properties: | ||
id: | ||
description: PeerID will hold the ID of representation of this resource | ||
in the attached provider cluster | ||
type: string | ||
phase: | ||
description: |- | ||
Phase describes the Phase of StorageClusterPeer | ||
This is used by OLM UI to provide status information to the user | ||
type: string | ||
type: object | ||
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
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
66 changes: 66 additions & 0 deletions
66
deploy/csv-templates/crds/ocs/ocs.openshift.io_storageclusterpeers.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,66 @@ | ||
--- | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.9.2 | ||
creationTimestamp: null | ||
name: storageclusterpeers.ocs.openshift.io | ||
spec: | ||
group: ocs.openshift.io | ||
names: | ||
kind: StorageClusterPeer | ||
listKind: StorageClusterPeerList | ||
plural: storageclusterpeers | ||
singular: storageclusterpeer | ||
scope: Namespaced | ||
versions: | ||
- name: v1 | ||
schema: | ||
openAPIV3Schema: | ||
description: StorageClusterPeer is the Schema for the storageclusterpeers | ||
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: StorageClusterPeerSpec defines the desired state of StorageClusterPeer | ||
properties: | ||
APIServerEndpoint: | ||
description: APIServerEndpoint is the URI of the ocs api server | ||
type: string | ||
onboardingTicket: | ||
description: OnboardingTicket holds an identity information required | ||
for provider to onboard. | ||
type: string | ||
required: | ||
- APIServerEndpoint | ||
- onboardingTicket | ||
type: object | ||
status: | ||
description: StorageClusterPeerStatus defines the observed state of StorageClusterPeer | ||
properties: | ||
id: | ||
description: PeerID will hold the ID of representation of this resource | ||
in the attached provider cluster | ||
type: string | ||
phase: | ||
description: Phase describes the Phase of StorageClusterPeer This | ||
is used by OLM UI to provide status information to the user | ||
type: string | ||
type: object | ||
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
Oops, something went wrong.