Skip to content

Commit

Permalink
ceph: pin volume replication to release-v0.1 branch
Browse files Browse the repository at this point in the history
added volume replication operator release-v0.1
branch to the go.mod as we are doing enhancements to the
volume replicaiton CRDS. Once we have a release will
change this to release-v0.1 branch.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
  • Loading branch information
Madhu-1 committed May 25, 2021
1 parent d3c18d0 commit 95d1bb9
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 9 deletions.
32 changes: 30 additions & 2 deletions cluster/charts/rook-ceph/templates/resources.yaml
Expand Up @@ -7501,10 +7501,16 @@ spec:
kind: VolumeReplicationClass
listKind: VolumeReplicationClassList
plural: volumereplicationclasses
shortNames:
- vrc
singular: volumereplicationclass
scope: Cluster
versions:
- name: v1alpha1
- additionalPrinterColumns:
- jsonPath: .spec.provisioner
name: provisioner
type: string
name: v1alpha1
schema:
openAPIV3Schema:
description: VolumeReplicationClass is the Schema for the volumereplicationclasses API
Expand Down Expand Up @@ -7560,10 +7566,28 @@ spec:
kind: VolumeReplication
listKind: VolumeReplicationList
plural: volumereplications
shortNames:
- vr
singular: volumereplication
scope: Namespaced
versions:
- name: v1alpha1
- additionalPrinterColumns:
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
- jsonPath: .spec.volumeReplicationClass
name: volumeReplicationClass
type: string
- jsonPath: .spec.dataSource.name
name: pvcName
type: string
- jsonPath: .spec.replicationState
name: desiredState
type: string
- jsonPath: .status.state
name: currentState
type: string
name: v1alpha1
schema:
openAPIV3Schema:
description: VolumeReplication is the Schema for the volumereplications API
Expand Down Expand Up @@ -7597,6 +7621,10 @@ spec:
type: object
replicationState:
description: ReplicationState represents the replication operation to be performed on the volume. Supported operations are "primary", "secondary" and "resync"
enum:
- primary
- secondary
- resync
type: string
volumeReplicationClass:
description: VolumeReplicationClass is the VolumeReplicationClass name for this VolumeReplication resource
Expand Down
32 changes: 30 additions & 2 deletions cluster/examples/kubernetes/ceph/crds.yaml
Expand Up @@ -7487,10 +7487,16 @@ spec:
kind: VolumeReplicationClass
listKind: VolumeReplicationClassList
plural: volumereplicationclasses
shortNames:
- vrc
singular: volumereplicationclass
scope: Cluster
versions:
- name: v1alpha1
- additionalPrinterColumns:
- jsonPath: .spec.provisioner
name: provisioner
type: string
name: v1alpha1
schema:
openAPIV3Schema:
description: VolumeReplicationClass is the Schema for the volumereplicationclasses API
Expand Down Expand Up @@ -7545,10 +7551,28 @@ spec:
kind: VolumeReplication
listKind: VolumeReplicationList
plural: volumereplications
shortNames:
- vr
singular: volumereplication
scope: Namespaced
versions:
- name: v1alpha1
- additionalPrinterColumns:
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
- jsonPath: .spec.volumeReplicationClass
name: volumeReplicationClass
type: string
- jsonPath: .spec.dataSource.name
name: pvcName
type: string
- jsonPath: .spec.replicationState
name: desiredState
type: string
- jsonPath: .status.state
name: currentState
type: string
name: v1alpha1
schema:
openAPIV3Schema:
description: VolumeReplication is the Schema for the volumereplications API
Expand Down Expand Up @@ -7582,6 +7606,10 @@ spec:
type: object
replicationState:
description: ReplicationState represents the replication operation to be performed on the volume. Supported operations are "primary", "secondary" and "resync"
enum:
- primary
- secondary
- resync
type: string
volumeReplicationClass:
description: VolumeReplicationClass is the VolumeReplicationClass name for this VolumeReplication resource
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Expand Up @@ -7,7 +7,7 @@ require (
github.com/banzaicloud/k8s-objectmatcher v1.1.0
github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f
github.com/corpix/uarand v0.1.1 // indirect
github.com/csi-addons/volume-replication-operator v0.1.0
github.com/csi-addons/volume-replication-operator v0.1.1-0.20210525040814-ab575a2879fb
github.com/davecgh/go-spew v1.1.1
github.com/ghodss/yaml v1.0.1-0.20190212211648-25d852aebe32
github.com/go-ini/ini v1.51.1
Expand Down
8 changes: 4 additions & 4 deletions go.sum
Expand Up @@ -350,10 +350,10 @@ github.com/cpuguy83/go-md2man v1.0.10/go.mod h1:SmD6nW6nTyfqj6ABTjUi3V3JVMnlJmwc
github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU=
github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU=
github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY=
github.com/csi-addons/spec v0.0.0-20210302071931-ad3b1446aba1 h1:iecYPYpGJEiTaxdl5sNeiJPMx8O+5fnRIE7B5bWxYuQ=
github.com/csi-addons/spec v0.0.0-20210302071931-ad3b1446aba1/go.mod h1:Mwq4iLiUV4s+K1bszcWU6aMsR5KPsbIYzzszJ6+56vI=
github.com/csi-addons/volume-replication-operator v0.1.0 h1:kZal9GG4WnNZX2Sz/lm3shiGzQcKa8dLfCoElZ0F4Xo=
github.com/csi-addons/volume-replication-operator v0.1.0/go.mod h1:BnUtthSLJf4POTRRwWn9WyovogYuXhdEilueIIb2fh4=
github.com/csi-addons/spec v0.1.0 h1:y3TOd7qtnwBQPikGa1VvaL7ObyddAZehYW8DNGBlOyc=
github.com/csi-addons/spec v0.1.0/go.mod h1:Mwq4iLiUV4s+K1bszcWU6aMsR5KPsbIYzzszJ6+56vI=
github.com/csi-addons/volume-replication-operator v0.1.1-0.20210525040814-ab575a2879fb h1:SAD+o8nvVErQkOIa31u1BblVHAXXEPQl7mRc+U5GBp8=
github.com/csi-addons/volume-replication-operator v0.1.1-0.20210525040814-ab575a2879fb/go.mod h1:cQvrR2fRQ7Z9jbbt3+PGZzFmByNfAH3KW8OuH3bkMbY=
github.com/cyphar/filepath-securejoin v0.2.2/go.mod h1:FpkQEhXnPnOthhzymB7CGsFk2G9VLXONKD9G7QGMM+4=
github.com/cznic/b v0.0.0-20180115125044-35e9bbe41f07/go.mod h1:URriBxXwVq5ijiJ12C7iIZqlA69nTlI+LgI6/pwftG8=
github.com/cznic/fileutil v0.0.0-20180108211300-6a051e75936f/go.mod h1:8S58EK26zhXSxzv7NQFpnliaOQsmDUxvoQO3rt154Vg=
Expand Down

0 comments on commit 95d1bb9

Please sign in to comment.