Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
7f7aff8
add .vscode to gitignore
Mar 31, 2020
df816bd
migrate to c2devel repository
Mar 31, 2020
ca13594
replace new dependencies sources with c2devel
gaisin Jul 22, 2021
902a814
cloud: add io2 and gp2 volume types
Mar 31, 2020
eda75a6
cloud: switch to volumeId-based device managing
Mar 31, 2020
b5896ac
deploy: change deploy yamls to use new repo
Oct 8, 2019
4625bb9
examples: fix examples to meet c2 reqs
Apr 1, 2020
dd38992
change region to 'croc'
Apr 30, 2020
f3ef982
add prebuild kusctomize config
Jun 19, 2020
9121517
add AttachVolume method and remove Device from call
Jun 23, 2020
85c81e4
temporarily skip test for AttachDisk
Jun 25, 2020
683ab27
change sc1 to st2 in tests
Jun 25, 2020
5890000
readme: add release-process docs
Jun 30, 2020
56a9434
.github: remove github-actions release automation
Jun 30, 2020
d683f63
deploy: change image tags to c2 dhub
Jul 2, 2020
ca9271f
deploy: regenerete deployment bundle
Jul 2, 2020
ec7d28c
docs: add info abot k_bundle file in release docs
Jul 2, 2020
77e34c8
cloud: remove deprecated volume types
Jul 16, 2020
c5b7154
e2e driver: set valid minimal disk sizes
Jul 16, 2020
3a26890
e2e: change io1 to io2 volume type
Jul 16, 2020
c4bb7c6
docs: add test docs
Jul 16, 2020
d4ca900
cloud: rewrite metadata aws region from env
Apr 1, 2020
285cb5a
ignore VolumeIsNotAttached error while detaching disk
gaisin Sep 10, 2021
046fc06
use VolumeID instead of Device
gaisin Sep 10, 2021
6f05e1e
ignore invalid check for ec2
gaisin Sep 10, 2021
92865be
deploy: prepare kustomization for the release, del workflow
Sep 29, 2021
d9f4a59
deploy: update k_bundle
Sep 29, 2021
9b487f4
Merge pull request #12 from ancient07/prepare-release-v1.1.1-croc2
ancient07 Sep 29, 2021
a17cca0
tests: fix failures, fix vendoring
Oct 21, 2021
2ae9722
cloud: delete exceed volume types, fix io2 iops count
Oct 21, 2021
a3946ee
specs: change the supported snapshot api version in tests
Oct 22, 2021
5ca5abd
doc: change the documentation to actual
Oct 22, 2021
aae64dc
doc: change the go version to actual
Nov 10, 2021
d28c9d3
tests: fix unit io2 tests
Nov 10, 2021
e360a43
driver: change max iops per Gb
Nov 10, 2021
4943dbb
docs: add temporary workaround
Nov 10, 2021
a19312d
Merge pull request #13 from ancient07/fix-tests
ancient07 Nov 11, 2021
6b39c27
deploy: bump version
Nov 11, 2021
ffffad0
Merge pull request #14 from ancient07/prepare-release-croc3
ancient07 Nov 11, 2021
5bffc05
controller, cloud: add method ResizeDiskC2, update tests
Mar 23, 2022
cea4e41
e2e, docs: change size increment in resize test, update test docs
Mar 27, 2022
aead86c
Merge pull request #15 from PixarV/C2DEVEL-11573
Sharpeye90 May 12, 2022
83ebb5e
deploy: bump version
Akulaev May 12, 2022
4185b2f
Merge pull request #16 from Sharpeye90/bump
Sharpeye90 May 12, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 0 additions & 68 deletions .github/workflows/container-image.yaml

This file was deleted.

27 changes: 0 additions & 27 deletions .github/workflows/helm-chart-release.yaml

This file was deleted.

26 changes: 0 additions & 26 deletions .github/workflows/release.yaml

This file was deleted.

5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,7 @@ Vagrantfile
.idea/

#MacOS system files
*.DS_Store
*.DS_Store

# VSCode
.vscode/
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
language: go
go_import_path: github.com/kubernetes-sigs/aws-ebs-csi-driver
go_import_path: github.com/c2devel/aws-ebs-csi-driver
dist: xenial
env:
global:
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@
# limitations under the License.

FROM golang:1.16 AS builder
WORKDIR /go/src/github.com/kubernetes-sigs/aws-ebs-csi-driver
WORKDIR /go/src/github.com/c2devel/aws-ebs-csi-driver
COPY . .
RUN make

FROM amazonlinux:2 AS amazonlinux
RUN yum install ca-certificates e2fsprogs xfsprogs util-linux -y
COPY --from=builder /go/src/github.com/kubernetes-sigs/aws-ebs-csi-driver/bin/aws-ebs-csi-driver /bin/aws-ebs-csi-driver
COPY --from=builder /go/src/github.com/c2devel/aws-ebs-csi-driver/bin/aws-ebs-csi-driver /bin/aws-ebs-csi-driver

ENTRYPOINT ["/bin/aws-ebs-csi-driver"]

FROM k8s.gcr.io/build-image/debian-base:v2.1.3 AS debian-base
RUN clean-install ca-certificates e2fsprogs mount udev util-linux xfsprogs
COPY --from=builder /go/src/github.com/kubernetes-sigs/aws-ebs-csi-driver/bin/aws-ebs-csi-driver /bin/aws-ebs-csi-driver
COPY --from=builder /go/src/github.com/c2devel/aws-ebs-csi-driver/bin/aws-ebs-csi-driver /bin/aws-ebs-csi-driver

ENTRYPOINT ["/bin/aws-ebs-csi-driver"]
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

PKG=github.com/kubernetes-sigs/aws-ebs-csi-driver
IMAGE?=amazon/aws-ebs-csi-driver
PKG=github.com/c2devel/aws-ebs-csi-driver
IMAGE?=dhub.c2.croc.ru/kaas/aws-ebs-csi-driver
VERSION=v1.1.1
VERSION_AMAZONLINUX=$(VERSION)-amazonlinux
GIT_COMMIT?=$(shell git rev-parse HEAD)
Expand Down
4 changes: 2 additions & 2 deletions charts/aws-ebs-csi-driver/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ name: aws-ebs-csi-driver
description: A Helm chart for AWS EBS CSI Driver
version: 2.0.0
kubeVersion: ">=1.17.0-0"
home: https://github.com/kubernetes-sigs/aws-ebs-csi-driver
home: https://github.com/c2devel/aws-ebs-csi-driver
sources:
- https://github.com/kubernetes-sigs/aws-ebs-csi-driver
- https://github.com/c2devel/aws-ebs-csi-driver
keywords:
- aws
- ebs
Expand Down
4 changes: 2 additions & 2 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ import (
"flag"
"net/http"

"github.com/kubernetes-sigs/aws-ebs-csi-driver/pkg/cloud"
"github.com/kubernetes-sigs/aws-ebs-csi-driver/pkg/driver"
"github.com/c2devel/aws-ebs-csi-driver/pkg/cloud"
"github.com/c2devel/aws-ebs-csi-driver/pkg/driver"
"k8s.io/component-base/metrics/legacyregistry"

"k8s.io/klog"
Expand Down
4 changes: 2 additions & 2 deletions cmd/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ import (
"os"
"strings"

"github.com/kubernetes-sigs/aws-ebs-csi-driver/cmd/options"
"github.com/kubernetes-sigs/aws-ebs-csi-driver/pkg/driver"
"github.com/c2devel/aws-ebs-csi-driver/cmd/options"
"github.com/c2devel/aws-ebs-csi-driver/pkg/driver"

"k8s.io/klog"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/options/server_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package options
import (
"flag"

"github.com/kubernetes-sigs/aws-ebs-csi-driver/pkg/driver"
"github.com/c2devel/aws-ebs-csi-driver/pkg/driver"
)

// ServerOptions contains options and configuration settings for the driver server.
Expand Down
2 changes: 1 addition & 1 deletion cmd/options_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"strconv"
"testing"

"github.com/kubernetes-sigs/aws-ebs-csi-driver/pkg/driver"
"github.com/c2devel/aws-ebs-csi-driver/pkg/driver"
)

func TestGetOptions(t *testing.T) {
Expand Down
12 changes: 8 additions & 4 deletions deploy/kubernetes/base/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spec:
tolerationSeconds: 300
containers:
- name: ebs-plugin
image: k8s.gcr.io/provider-aws/aws-ebs-csi-driver:v1.1.1
image: dhub.c2.croc.ru/kaas/aws-ebs-csi-driver:latest
imagePullPolicy: IfNotPresent
args:
# - {all,controller,node} # specify the driver mode
Expand All @@ -45,6 +45,10 @@ spec:
valueFrom:
fieldRef:
fieldPath: spec.nodeName
- name: AWS_EC2_ENDPOINT
value: https://api.cloud.croc.ru
- name: AWS_REGION
value: croc
- name: AWS_ACCESS_KEY_ID
valueFrom:
secretKeyRef:
Expand Down Expand Up @@ -81,7 +85,7 @@ spec:
periodSeconds: 10
failureThreshold: 5
- name: csi-provisioner
image: k8s.gcr.io/sig-storage/csi-provisioner:v2.1.1
image: dhub.c2.croc.ru/kaas/csi-provisioner:v2.1.1
args:
- --csi-address=$(ADDRESS)
- --v=2
Expand All @@ -96,7 +100,7 @@ spec:
- name: socket-dir
mountPath: /var/lib/csi/sockets/pluginproxy/
- name: csi-attacher
image: k8s.gcr.io/sig-storage/csi-attacher:v3.1.0
image: dhub.c2.croc.ru/kaas/csi-attacher:v3.1.0
args:
- --csi-address=$(ADDRESS)
- --v=2
Expand Down Expand Up @@ -131,7 +135,7 @@ spec:
- name: socket-dir
mountPath: /var/lib/csi/sockets/pluginproxy/
- name: liveness-probe
image: k8s.gcr.io/sig-storage/livenessprobe:v2.2.0
image: dhub.c2.croc.ru/kaas/livenessprobe:v2.2.0
args:
- --csi-address=/csi/csi.sock
volumeMounts:
Expand Down
8 changes: 5 additions & 3 deletions deploy/kubernetes/base/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ spec:
- name: ebs-plugin
securityContext:
privileged: true
image: k8s.gcr.io/provider-aws/aws-ebs-csi-driver:v1.1.1
image: dhub.c2.croc.ru/kaas/aws-ebs-csi-driver:latest
args:
- node
- --endpoint=$(CSI_ENDPOINT)
Expand All @@ -54,6 +54,8 @@ spec:
valueFrom:
fieldRef:
fieldPath: spec.nodeName
- name: AWS_REGION
value: croc
volumeMounts:
- name: kubelet-dir
mountPath: /var/lib/kubelet
Expand All @@ -75,7 +77,7 @@ spec:
periodSeconds: 10
failureThreshold: 5
- name: node-driver-registrar
image: k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.1.0
image: dhub.c2.croc.ru/kaas/csi-node-driver-registrar:v2.1.0
args:
- --csi-address=$(ADDRESS)
- --kubelet-registration-path=$(DRIVER_REG_SOCK_PATH)
Expand All @@ -91,7 +93,7 @@ spec:
- name: registration-dir
mountPath: /registration
- name: liveness-probe
image: k8s.gcr.io/sig-storage/livenessprobe:v2.2.0
image: dhub.c2.croc.ru/kaas/livenessprobe:v2.2.0
args:
- --csi-address=/csi/csi.sock
volumeMounts:
Expand Down
Loading