Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .github/workflows/charts-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release Charts
on:
push:
branches:
- master
- main
paths:
- 'charts/**'

Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ name: Release
on:
push:
branches:
- master
- main
tags:
- v*

env:
REGISTRY_NAME: ghcr.io/shapeblue
REGISTRY_NAME: ghcr.io/cloudstack
IMAGES: "cloudstack-csi-driver cloudstack-csi-sc-syncer"

jobs:
Expand Down Expand Up @@ -38,12 +38,12 @@ jobs:
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}

- name: Push master
if: github.ref == 'refs/heads/master'
- name: Push main
if: github.ref == 'refs/heads/main'
run: |
for img in $IMAGES; do
docker tag ${img} ${REGISTRY_NAME}/${img}:master
docker push ${REGISTRY_NAME}/${img}:master
docker tag ${img} ${REGISTRY_NAME}/${img}:main
docker push ${REGISTRY_NAME}/${img}:main
done

- name: Push tagged release
Expand Down
4 changes: 2 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ linters-settings:
sections:
- standard
- default
- prefix(github.com/shapeblue/cloudstack-csi-driver)
- prefix(github.com/cloudstack/cloudstack-csi-driver)
goimports:
local-prefixes: github.com/shapeblue/cloudstack-csi-driver
local-prefixes: github.com/cloudstack/cloudstack-csi-driver

misspell:
locale: US
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# CloudStack CSI Driver

[![Go Reference](https://pkg.go.dev/badge/github.com/shapeblue/cloudstack-csi-driver.svg)](https://pkg.go.dev/github.com/shapeblue/cloudstack-csi-driver)
[![Go Report Card](https://goreportcard.com/badge/github.com/shapeblue/cloudstack-csi-driver)](https://goreportcard.com/report/github.com/shapeblue/cloudstack-csi-driver)
[![Release](https://github.com/shapeblue/cloudstack-csi-driver/workflows/Release/badge.svg?branch=master)](https://github.com/shapeblue/cloudstack-csi-driver/actions)
[![Go Reference](https://pkg.go.dev/badge/github.com/cloudstack/cloudstack-csi-driver.svg)](https://pkg.go.dev/github.com/cloudstack/cloudstack-csi-driver)
[![Go Report Card](https://goreportcard.com/badge/github.com/cloudstack/cloudstack-csi-driver)](https://goreportcard.com/report/github.com/cloudstack/cloudstack-csi-driver)
[![Release](https://github.com/cloudstack/cloudstack-csi-driver/workflows/Release/badge.svg?branch=main)](https://github.com/cloudstack/cloudstack-csi-driver/actions)

This repository provides a [Container Storage Interface (CSI)](https://github.com/container-storage-interface/spec)
plugin for [Apache CloudStack](https://cloudstack.apache.org/).
Expand Down Expand Up @@ -56,7 +56,7 @@ you may use the same secret for both tools.
### Deployment

```
kubectl apply -f https://github.com/shapeblue/cloudstack-csi-driver/releases/latest/download/manifest.yaml
kubectl apply -f https://github.com/cloudstack/cloudstack-csi-driver/releases/latest/download/manifest.yaml
```

### Creation of Storage classes
Expand Down Expand Up @@ -130,4 +130,4 @@ License at <http://www.apache.org/licenses/LICENSE-2.0>

## Contributors

[![CloudStack CSI Driver Contributors](https://contrib.rocks/image?repo=shapeblue/cloudstack-csi-driver&anon=0&max=500)](https://github.com/shapeblue/cloudstack-csi-driver/graphs/contributors)
[![CloudStack CSI Driver Contributors](https://contrib.rocks/image?repo=cloudstack/cloudstack-csi-driver&anon=0&max=500)](https://github.com/cloudstack/cloudstack-csi-driver/graphs/contributors)
4 changes: 2 additions & 2 deletions charts/cloudstack-csi/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ apiVersion: v2
name: cloudstack-csi
description: A Helm chart for CloudStack CSI driver
type: application
version: 2.0.2
version: 2.0.3
appVersion: 0.6.1
sources:
- https://github.com/shapeblue/cloudstack-csi-driver
- https://github.com/cloudstack/cloudstack-csi-driver
keywords:
- csi
- cloudStack
Expand Down
6 changes: 3 additions & 3 deletions charts/cloudstack-csi/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ sidecars:
controller:
enabled: true
image:
repository: ghcr.io/shapeblue/cloudstack-csi-driver
repository: ghcr.io/cloudstack/cloudstack-csi-driver
# Overrides the image tag whose default is v{{ .Chart.AppVersion }}
tag: ""
pullPolicy: IfNotPresent
Expand Down Expand Up @@ -241,7 +241,7 @@ controller:
node:
enabled: true
image:
repository: ghcr.io/shapeblue/cloudstack-csi-driver
repository: ghcr.io/cloudstack/cloudstack-csi-driver
# Overrides the image tag whose default is v{{ .Chart.AppVersion }}
tag: ""
pullPolicy: IfNotPresent
Expand Down Expand Up @@ -323,7 +323,7 @@ syncer:
enabled: true
# Job image
image:
repository: "ghcr.io/shapeblue/cloudstack-csi-sc-syncer"
repository: "ghcr.io/cloudstack/cloudstack-csi-sc-syncer"
# Overrides the image tag. Default is {{ .Chart.AppVersion }}
tag: ""
imagePullPolicy: IfNotPresent
Expand Down
2 changes: 1 addition & 1 deletion cmd/cloudstack-csi-driver/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM alpine:3.18

LABEL \
org.opencontainers.image.description="CloudStack CSI driver" \
org.opencontainers.image.source="https://github.com/shapeblue/cloudstack-csi-driver/"
org.opencontainers.image.source="https://github.com/cloudstack/cloudstack-csi-driver/"

RUN apk add --no-cache \
ca-certificates \
Expand Down
4 changes: 2 additions & 2 deletions cmd/cloudstack-csi-driver/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import (
"k8s.io/component-base/logs/json"
"k8s.io/klog/v2"

"github.com/shapeblue/cloudstack-csi-driver/pkg/cloud"
"github.com/shapeblue/cloudstack-csi-driver/pkg/driver"
"github.com/cloudstack/cloudstack-csi-driver/pkg/cloud"
"github.com/cloudstack/cloudstack-csi-driver/pkg/driver"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion cmd/cloudstack-csi-sc-syncer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM alpine:3.18

LABEL \
org.opencontainers.image.description="CloudStack disk offering to Kubernetes storage class syncer" \
org.opencontainers.image.source="https://github.com/shapeblue/cloudstack-csi-driver/"
org.opencontainers.image.source="https://github.com/cloudstack/cloudstack-csi-driver/"

RUN apk add --no-cache ca-certificates

Expand Down
4 changes: 2 additions & 2 deletions cmd/cloudstack-csi-sc-syncer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ You may use it locally or as a Kubernetes Job.
You must have a CloudStack configuration file and a Kubernetes `kubeconfig`
file.

1. Download `cloudstack-csi-sc-syncer` from [latest release](https://github.com/shapeblue/cloudstack-csi-driver/releases/latest/);
1. Download `cloudstack-csi-sc-syncer` from [latest release](https://github.com/cloudstack/cloudstack-csi-driver/releases/latest/);

1. Set the execution permission:

Expand Down Expand Up @@ -85,7 +85,7 @@ spec:
serviceAccountName: cloudstack-csi-sc-syncer
containers:
- name: cloudstack-csi-sc-syncer
image: ghcr.io/shapeblue/cloudstack-csi-sc-syncer:${version}
image: ghcr.io/cloudstack/cloudstack-csi-sc-syncer:${version}
args:
- "-cloudstackconfig=/etc/cloudstack-csi-driver/cloud-config"
- "-kubeconfig=-"
Expand Down
2 changes: 1 addition & 1 deletion cmd/cloudstack-csi-sc-syncer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"os"
"path"

"github.com/shapeblue/cloudstack-csi-driver/pkg/syncer"
"github.com/cloudstack/cloudstack-csi-driver/pkg/syncer"
)

const agent = "cloudstack-csi-sc-syncer"
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/shapeblue/cloudstack-csi-driver
module github.com/cloudstack/cloudstack-csi-driver

go 1.21

Expand Down
4 changes: 2 additions & 2 deletions pkg/cloud/fake/fake.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (

"github.com/hashicorp/go-uuid"

"github.com/shapeblue/cloudstack-csi-driver/pkg/cloud"
"github.com/shapeblue/cloudstack-csi-driver/pkg/util"
"github.com/cloudstack/cloudstack-csi-driver/pkg/cloud"
"github.com/cloudstack/cloudstack-csi-driver/pkg/util"
)

const zoneID = "a1887604-237c-4212-a9cd-94620b7880fa"
Expand Down
2 changes: 1 addition & 1 deletion pkg/cloud/volumes.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/apache/cloudstack-go/v2/cloudstack"
"k8s.io/klog/v2"

"github.com/shapeblue/cloudstack-csi-driver/pkg/util"
"github.com/cloudstack/cloudstack-csi-driver/pkg/util"
)

func (c *client) listVolumes(p *cloudstack.ListVolumesParams) (*Volume, error) {
Expand Down
4 changes: 2 additions & 2 deletions pkg/driver/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import (
"google.golang.org/grpc/status"
"k8s.io/klog/v2"

"github.com/shapeblue/cloudstack-csi-driver/pkg/cloud"
"github.com/shapeblue/cloudstack-csi-driver/pkg/util"
"github.com/cloudstack/cloudstack-csi-driver/pkg/cloud"
"github.com/cloudstack/cloudstack-csi-driver/pkg/util"
)

// onlyVolumeCapAccessMode is the only volume capability access
Expand Down
6 changes: 3 additions & 3 deletions pkg/driver/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import (
"google.golang.org/grpc"
"k8s.io/klog/v2"

"github.com/shapeblue/cloudstack-csi-driver/pkg/cloud"
"github.com/shapeblue/cloudstack-csi-driver/pkg/mount"
"github.com/shapeblue/cloudstack-csi-driver/pkg/util"
"github.com/cloudstack/cloudstack-csi-driver/pkg/cloud"
"github.com/cloudstack/cloudstack-csi-driver/pkg/mount"
"github.com/cloudstack/cloudstack-csi-driver/pkg/util"
)

// Interface is the CloudStack CSI driver interface.
Expand Down
6 changes: 3 additions & 3 deletions pkg/driver/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ import (
"google.golang.org/grpc/status"
"k8s.io/klog/v2"

"github.com/shapeblue/cloudstack-csi-driver/pkg/cloud"
"github.com/shapeblue/cloudstack-csi-driver/pkg/mount"
"github.com/shapeblue/cloudstack-csi-driver/pkg/util"
"github.com/cloudstack/cloudstack-csi-driver/pkg/cloud"
"github.com/cloudstack/cloudstack-csi-driver/pkg/mount"
"github.com/cloudstack/cloudstack-csi-driver/pkg/util"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion pkg/syncer/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/labels"

"github.com/shapeblue/cloudstack-csi-driver/pkg/driver"
"github.com/cloudstack/cloudstack-csi-driver/pkg/driver"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion pkg/syncer/syncer.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"k8s.io/client-go/rest"
"k8s.io/client-go/tools/clientcmd"

"github.com/shapeblue/cloudstack-csi-driver/pkg/cloud"
"github.com/cloudstack/cloudstack-csi-driver/pkg/cloud"
)

// Config holds the syncer tool configuration.
Expand Down
6 changes: 3 additions & 3 deletions test/sanity/sanity_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ import (

"k8s.io/klog/v2"

"github.com/cloudstack/cloudstack-csi-driver/pkg/cloud/fake"
"github.com/cloudstack/cloudstack-csi-driver/pkg/driver"
"github.com/cloudstack/cloudstack-csi-driver/pkg/mount"
"github.com/kubernetes-csi/csi-test/v5/pkg/sanity"
"github.com/shapeblue/cloudstack-csi-driver/pkg/cloud/fake"
"github.com/shapeblue/cloudstack-csi-driver/pkg/driver"
"github.com/shapeblue/cloudstack-csi-driver/pkg/mount"
)

func TestSanity(t *testing.T) {
Expand Down
Loading