Skip to content

Commit

Permalink
fix(cvc-controller): add support for policy/v1 PodDisruptionBudget
Browse files Browse the repository at this point in the history
Signed-off-by: Niladri Halder <niladri.halder26@gmail.com>
  • Loading branch information
niladrih committed Sep 27, 2022
1 parent 577fe9a commit 9fd3fc2
Show file tree
Hide file tree
Showing 2,791 changed files with 304,744 additions and 75,991 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ jobs:
runs-on: ubuntu-latest
steps:

- name: Set up Go 1.14
uses: actions/setup-go@v1
- name: Set up Go 1.19
uses: actions/setup-go@v3
with:
go-version: 1.14.7
go-version: 1.19.1
id: go

- name: Check out code into the Go module directory
Expand All @@ -72,15 +72,15 @@ jobs:
strategy:
fail-fast: false
matrix:
kubernetes: [v1.20.6]
kubernetes: [v1.19.16, v1.25.0]
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup Minikube-Kubernetes
uses: manusa/actions-setup-minikube@v2.4.1
uses: manusa/actions-setup-minikube@v2.7.0
with:
minikube version: v1.16.0
minikube version: 'v1.26.1'
kubernetes version: ${{ matrix.kubernetes }}
github token: ${{ secrets.GITHUB_TOKEN }}

Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,10 +189,10 @@ jobs:
runs-on: ubuntu-latest
steps:

- name: Set up Go 1.14
uses: actions/setup-go@v1
- name: Set up Go 1.19
uses: actions/setup-go@v3
with:
go-version: 1.14.7
go-version: 1.19.1
id: go

- name: Check out code into the Go module directory
Expand All @@ -213,15 +213,15 @@ jobs:
strategy:
fail-fast: false
matrix:
kubernetes: [v1.20.6]
kubernetes: [v1.19.16, v1.25.0]
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup Minikube-Kubernetes
uses: manusa/actions-setup-minikube@v2.4.1
uses: manusa/actions-setup-minikube@v2.7.0
with:
minikube version: 'v1.16.0'
minikube version: 'v1.26.1'
kubernetes version: ${{ matrix.kubernetes }}
github token: ${{ secrets.GITHUB_TOKEN }}

Expand Down
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/cstor-operators.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/cspc-operator/cspc-operator.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
FROM golang:1.14.7 as build
FROM golang:1.19.1 as build

ARG RELEASE_TAG
ARG BRANCH
Expand Down
2 changes: 1 addition & 1 deletion build/cstor-webhook/cstor-webhook.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
FROM golang:1.14.7 as build
FROM golang:1.19.1 as build

ARG RELEASE_TAG
ARG BRANCH
Expand Down
2 changes: 1 addition & 1 deletion build/cvc-operator/cvc-operator.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
FROM golang:1.14.7 as build
FROM golang:1.19.1 as build

ARG RELEASE_TAG
ARG BRANCH
Expand Down
2 changes: 1 addition & 1 deletion build/pool-manager/pool-manager.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

ARG BASE_IMAGE

FROM golang:1.14.7 as build
FROM golang:1.19.1 as build

ARG RELEASE_TAG
ARG BRANCH
Expand Down
2 changes: 1 addition & 1 deletion build/volume-manager/volume-manager.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang:1.14.7 as build
FROM golang:1.19.1 as build

ARG RELEASE_TAG
ARG BRANCH
Expand Down
125 changes: 69 additions & 56 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,75 +1,88 @@
module github.com/openebs/cstor-operators

go 1.13
go 1.19

require (
github.com/cespare/xxhash v1.1.0
github.com/davecgh/go-spew v1.1.1
github.com/ghodss/yaml v1.0.0
github.com/hashicorp/go-version v1.2.1
github.com/imdario/mergo v0.3.8 // indirect
github.com/onsi/ginkgo v1.12.0
github.com/onsi/gomega v1.9.0
github.com/onsi/ginkgo v1.16.4
github.com/onsi/gomega v1.20.1
github.com/openebs/api/v3 v3.0.0-20211116062351-ecd9a8a61d3e
github.com/pkg/errors v0.9.1
github.com/spf13/cobra v0.0.5
github.com/spf13/pflag v1.0.5
github.com/stretchr/testify v1.6.1
github.com/stretchr/testify v1.7.0
github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8
go.uber.org/zap v1.13.0
golang.org/x/net v0.0.0-20201110031124-69a78807bb2b
google.golang.org/grpc v1.27.1
k8s.io/api v0.20.2
k8s.io/apimachinery v0.20.2
k8s.io/client-go v0.20.2
golang.org/x/net v0.0.0-20220722155237-a158d28d115b
google.golang.org/grpc v1.40.0
k8s.io/api v0.25.2
k8s.io/apimachinery v0.25.2
k8s.io/client-go v0.25.2
k8s.io/klog v1.0.0
)

replace (
k8s.io/api => k8s.io/api v0.20.2
k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.20.2

k8s.io/apimachinery => k8s.io/apimachinery v0.20.2

k8s.io/apiserver => k8s.io/apiserver v0.20.2

k8s.io/cli-runtime => k8s.io/cli-runtime v0.20.2

k8s.io/client-go => k8s.io/client-go v0.20.2

k8s.io/cloud-provider => k8s.io/cloud-provider v0.20.2

k8s.io/cluster-bootstrap => k8s.io/cluster-bootstrap v0.20.2

k8s.io/code-generator => k8s.io/code-generator v0.20.2

k8s.io/component-base => k8s.io/component-base v0.20.2
k8s.io/component-helpers => k8s.io/component-helpers v0.20.2
k8s.io/cri-api => k8s.io/cri-api v0.20.2

k8s.io/csi-translation-lib => k8s.io/csi-translation-lib v0.20.2

k8s.io/kube-aggregator => k8s.io/kube-aggregator v0.20.2

k8s.io/kube-controller-manager => k8s.io/kube-controller-manager v0.20.2

k8s.io/kube-proxy => k8s.io/kube-proxy v0.20.2

k8s.io/kube-scheduler => k8s.io/kube-scheduler v0.20.2

k8s.io/kubectl => k8s.io/kubectl v0.20.2

k8s.io/kubelet => k8s.io/kubelet v0.20.2

k8s.io/legacy-cloud-providers => k8s.io/legacy-cloud-providers v0.20.2

k8s.io/metrics => k8s.io/metrics v0.20.2

k8s.io/node-api => k8s.io/node-api v0.20.2

k8s.io/sample-apiserver => k8s.io/sample-apiserver v0.20.2

k8s.io/sample-cli-plugin => k8s.io/sample-cli-plugin v0.20.2
require (
github.com/BurntSushi/toml v0.3.1 // indirect
github.com/PuerkitoBio/purell v1.1.1 // indirect
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect
github.com/emicklei/go-restful/v3 v3.8.0 // indirect
github.com/evanphx/json-patch v4.12.0+incompatible // indirect
github.com/fsnotify/fsnotify v1.4.9 // indirect
github.com/go-logr/logr v1.2.3 // indirect
github.com/go-openapi/jsonpointer v0.19.5 // indirect
github.com/go-openapi/jsonreference v0.19.5 // indirect
github.com/go-openapi/swag v0.19.14 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/google/gnostic v0.5.7-v3refs // indirect
github.com/google/go-cmp v0.5.8 // indirect
github.com/google/gofuzz v1.1.0 // indirect
github.com/google/uuid v1.1.2 // indirect
github.com/imdario/mergo v0.3.8 // indirect
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/mailru/easyjson v0.7.6 // indirect
github.com/moby/spdystream v0.2.0 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/nxadm/tail v1.4.8 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/ryanuber/columnize v2.1.0+incompatible // indirect
go.uber.org/atomic v1.5.0 // indirect
go.uber.org/multierr v1.3.0 // indirect
go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee // indirect
golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 // indirect
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4 // indirect
golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8 // indirect
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f // indirect
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect
golang.org/x/text v0.3.7 // indirect
golang.org/x/time v0.0.0-20220210224613-90d013bbcef8 // indirect
golang.org/x/tools v0.1.12 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto v0.0.0-20210924002016-3dee208752a0 // indirect
google.golang.org/protobuf v1.28.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
honnef.co/go/tools v0.0.1-2020.1.4 // indirect
k8s.io/klog/v2 v2.70.1 // indirect
k8s.io/kube-openapi v0.0.0-20220803162953-67bda5d908f1 // indirect
k8s.io/utils v0.0.0-20220728103510-ee6ede2d64ed // indirect
sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
sigs.k8s.io/yaml v1.2.0 // indirect
)

k8s.io/sample-controller => k8s.io/sample-controller v0.20.2
replace (
k8s.io/api => k8s.io/api v0.25.2
k8s.io/apimachinery => k8s.io/apimachinery v0.25.2
k8s.io/client-go => k8s.io/client-go v0.25.2
)
Loading

0 comments on commit 9fd3fc2

Please sign in to comment.