Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change references to shapeblue #1

Merged
merged 1 commit into from
Jul 31, 2024
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/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- v*

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

jobs:
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/leaseweb/cloudstack-csi-driver)
- prefix(github.com/shapeblue/cloudstack-csi-driver)
goimports:
local-prefixes: github.com/leaseweb/cloudstack-csi-driver
local-prefixes: github.com/shapeblue/cloudstack-csi-driver

misspell:
locale: US
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CMDS=cloudstack-csi-driver cloudstack-csi-sc-syncer

PKG=github.com/leaseweb/cloudstack-csi-driver
PKG=github.com/shapeblue/cloudstack-csi-driver
# Revision that gets built into each binary via the main.version
# string. Uses the `git describe` output based on the most recent
# version tag with a short revision suffix or, if nothing has been
Expand Down
8 changes: 4 additions & 4 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/leaseweb/cloudstack-csi-driver.svg)](https://pkg.go.dev/github.com/leaseweb/cloudstack-csi-driver)
[![Go Report Card](https://goreportcard.com/badge/github.com/leaseweb/cloudstack-csi-driver)](https://goreportcard.com/report/github.com/leaseweb/cloudstack-csi-driver)
[![Release](https://github.com/leaseweb/cloudstack-csi-driver/workflows/Release/badge.svg?branch=master)](https://github.com/leaseweb/cloudstack-csi-driver/actions)
[![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)

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/leaseweb/cloudstack-csi-driver/releases/latest/download/manifest.yaml
kubectl apply -f https://github.com/shapeblue/cloudstack-csi-driver/releases/latest/download/manifest.yaml
```

### Creation of Storage classes
Expand Down
2 changes: 1 addition & 1 deletion charts/cloudstack-csi/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ type: application
version: 2.0.2
appVersion: 0.6.1
sources:
- https://github.com/Leaseweb/cloudstack-csi-driver
- https://github.com/shapeblue/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/leaseweb/cloudstack-csi-driver
repository: ghcr.io/shapeblue/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/leaseweb/cloudstack-csi-driver
repository: ghcr.io/shapeblue/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/leaseweb/cloudstack-csi-sc-syncer"
repository: "ghcr.io/shapeblue/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/leaseweb/cloudstack-csi-driver/"
org.opencontainers.image.source="https://github.com/shapeblue/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/leaseweb/cloudstack-csi-driver/pkg/cloud"
"github.com/leaseweb/cloudstack-csi-driver/pkg/driver"
"github.com/shapeblue/cloudstack-csi-driver/pkg/cloud"
"github.com/shapeblue/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/leaseweb/cloudstack-csi-driver/"
org.opencontainers.image.source="https://github.com/shapeblue/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/leaseweb/cloudstack-csi-driver/releases/latest/);
1. Download `cloudstack-csi-sc-syncer` from [latest release](https://github.com/shapeblue/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/leaseweb/cloudstack-csi-sc-syncer:${version}
image: ghcr.io/shapeblue/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/leaseweb/cloudstack-csi-driver/pkg/syncer"
"github.com/shapeblue/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/leaseweb/cloudstack-csi-driver
module github.com/shapeblue/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/leaseweb/cloudstack-csi-driver/pkg/cloud"
"github.com/leaseweb/cloudstack-csi-driver/pkg/util"
"github.com/shapeblue/cloudstack-csi-driver/pkg/cloud"
"github.com/shapeblue/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/leaseweb/cloudstack-csi-driver/pkg/util"
"github.com/shapeblue/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/leaseweb/cloudstack-csi-driver/pkg/cloud"
"github.com/leaseweb/cloudstack-csi-driver/pkg/util"
"github.com/shapeblue/cloudstack-csi-driver/pkg/cloud"
"github.com/shapeblue/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/leaseweb/cloudstack-csi-driver/pkg/cloud"
"github.com/leaseweb/cloudstack-csi-driver/pkg/mount"
"github.com/leaseweb/cloudstack-csi-driver/pkg/util"
"github.com/shapeblue/cloudstack-csi-driver/pkg/cloud"
"github.com/shapeblue/cloudstack-csi-driver/pkg/mount"
"github.com/shapeblue/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/leaseweb/cloudstack-csi-driver/pkg/cloud"
"github.com/leaseweb/cloudstack-csi-driver/pkg/mount"
"github.com/leaseweb/cloudstack-csi-driver/pkg/util"
"github.com/shapeblue/cloudstack-csi-driver/pkg/cloud"
"github.com/shapeblue/cloudstack-csi-driver/pkg/mount"
"github.com/shapeblue/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/leaseweb/cloudstack-csi-driver/pkg/driver"
"github.com/shapeblue/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/leaseweb/cloudstack-csi-driver/pkg/cloud"
"github.com/shapeblue/cloudstack-csi-driver/pkg/cloud"
)

// Config holds the syncer tool configuration.
Expand Down
9 changes: 5 additions & 4 deletions test/sanity/sanity_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@ package sanity
import (
"context"
"io/ioutil"
"k8s.io/klog/v2"
"os"
"path/filepath"
"testing"

"k8s.io/klog/v2"

"github.com/kubernetes-csi/csi-test/v5/pkg/sanity"
"github.com/leaseweb/cloudstack-csi-driver/pkg/cloud/fake"
"github.com/leaseweb/cloudstack-csi-driver/pkg/driver"
"github.com/leaseweb/cloudstack-csi-driver/pkg/mount"
"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