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
10 changes: 5 additions & 5 deletions PROJECT
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ domain: cluster.x-k8s.io
layout:
- go.kubebuilder.io/v4
projectName: cluster-api-provider-stackit
repo: github.com/voigt/cluster-api-provider-stackit
repo: github.com/stackitcloud/cluster-api-provider-stackit
resources:
- api:
crdVersion: v1
Expand All @@ -16,7 +16,7 @@ resources:
domain: cluster.x-k8s.io
group: infrastructure
kind: StackitCluster
path: github.com/voigt/cluster-api-provider-stackit/api/v1alpha1
path: github.com/stackitcloud/cluster-api-provider-stackit/api/v1alpha1
version: v1alpha1
webhooks:
defaulting: true
Expand All @@ -29,7 +29,7 @@ resources:
domain: cluster.x-k8s.io
group: infrastructure
kind: StackitMachine
path: github.com/voigt/cluster-api-provider-stackit/api/v1alpha1
path: github.com/stackitcloud/cluster-api-provider-stackit/api/v1alpha1
version: v1alpha1
webhooks:
defaulting: true
Expand All @@ -41,7 +41,7 @@ resources:
domain: cluster.x-k8s.io
group: infrastructure
kind: StackitClusterTemplate
path: github.com/voigt/cluster-api-provider-stackit/api/v1alpha1
path: github.com/stackitcloud/cluster-api-provider-stackit/api/v1alpha1
version: v1alpha1
webhooks:
defaulting: true
Expand All @@ -53,7 +53,7 @@ resources:
domain: cluster.x-k8s.io
group: infrastructure
kind: StackitMachineTemplate
path: github.com/voigt/cluster-api-provider-stackit/api/v1alpha1
path: github.com/stackitcloud/cluster-api-provider-stackit/api/v1alpha1
version: v1alpha1
webhooks:
defaulting: true
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Kubernetes Cluster API Provider STACKIT (CAPSTK)

<p align="center">
<img src="https://github.com/kubernetes/kubernetes/raw/master/logo/logo.png" width="100x"><a href="https://stackit.com/"><img width="192x" src="https://raw.githubusercontent.com/voigt/cluster-api-provider-stackit/refs/heads/main/docs/src/STACKIT_Logo_RGB_Regular_Navyblue-MZ.svg" alt="STACKIT - A Brand By Schwarz Digits"></a>
<img src="https://github.com/kubernetes/kubernetes/raw/master/logo/logo.png" width="100x"><a href="https://stackit.com/"><img width="192x" src="https://raw.githubusercontent.com/stackitcloud/cluster-api-provider-stackit/refs/heads/main/docs/src/STACKIT_Logo_RGB_Regular_Navyblue-MZ.svg" alt="STACKIT - A Brand By Schwarz Digits"></a>
</p>

<p align="center">
<a href="https://pkg.go.dev/github.com/voigt/cluster-api-provider-stackit"><img src="https://pkg.go.dev/badge/github.com/voigt/cluster-api-provider-stackit.svg" alt="Go Reference"></a>
<a href="https://pkg.go.dev/github.com/stackitcloud/cluster-api-provider-stackit"><img src="https://pkg.go.dev/badge/github.com/stackitcloud/cluster-api-provider-stackit.svg" alt="Go Reference"></a>
</p>

------
Expand All @@ -30,7 +30,7 @@ Cluster API Provider STACKIT is abbreviated as CAPSTK.

## Documentation

Please see our [book](https://capstk.voigt.fyi/) for in-depth documentation.
Please see our [book](https://stackitcloud.github.io/cluster-api-provider-stackit) for in-depth documentation.

Use `make serve-book` to serve the book locally from this repository.

Expand Down
4 changes: 2 additions & 2 deletions cmd/cleanup-stackit/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import (
"fmt"
"os"

"github.com/voigt/cluster-api-provider-stackit/pkg/cloud"
"github.com/voigt/cluster-api-provider-stackit/pkg/util"
"github.com/stackitcloud/cluster-api-provider-stackit/pkg/cloud"
"github.com/stackitcloud/cluster-api-provider-stackit/pkg/util"
)

const (
Expand Down
8 changes: 4 additions & 4 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ import (
metricsserver "sigs.k8s.io/controller-runtime/pkg/metrics/server"
"sigs.k8s.io/controller-runtime/pkg/webhook"

infrastructurev1alpha1 "github.com/voigt/cluster-api-provider-stackit/api/v1alpha1"
"github.com/voigt/cluster-api-provider-stackit/internal/controller"
webhookv1alpha1 "github.com/voigt/cluster-api-provider-stackit/internal/webhook/v1alpha1"
"github.com/voigt/cluster-api-provider-stackit/pkg/cloud"
infrastructurev1alpha1 "github.com/stackitcloud/cluster-api-provider-stackit/api/v1alpha1"
"github.com/stackitcloud/cluster-api-provider-stackit/internal/controller"
webhookv1alpha1 "github.com/stackitcloud/cluster-api-provider-stackit/internal/webhook/v1alpha1"
"github.com/stackitcloud/cluster-api-provider-stackit/pkg/cloud"
// +kubebuilder:scaffold:imports
)

Expand Down
4 changes: 2 additions & 2 deletions docs/book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ src = "src"
title = "Cluster API Provider STACKIT"

[output.html]
git-repository-url = "https://github.com/voigt/cluster-api-provider-stackit"
edit-url-template = "https://github.com/voigt/cluster-api-provider-stackit/edit/main/docs/{path}"
git-repository-url = "https://github.com/stackitcloud/cluster-api-provider-stackit"
edit-url-template = "https://github.com/stackitcloud/cluster-api-provider-stackit/edit/main/docs/{path}"
no-section-label = true
admonitions = true

Expand Down
6 changes: 1 addition & 5 deletions docs/src/development/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,7 @@ coverage. SDK integration tests are opt-in and require real STACKIT credentials.
## STACKIT ProviderID Compatibility

The providerID format is verified against the local `cloud-provider-stackit`
repository at:

```text
/Users/c.voigt/go/src/tangled.org/voigt.tngl.sh/cloud-provider-stackit
```
repository.

Relevant reference points:

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/voigt/cluster-api-provider-stackit
module github.com/stackitcloud/cluster-api-provider-stackit

go 1.25.7

Expand Down
2 changes: 1 addition & 1 deletion internal/controller/contract_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"sigs.k8s.io/cluster-api/util/annotations"
"sigs.k8s.io/controller-runtime/pkg/client"

"github.com/voigt/cluster-api-provider-stackit/pkg/util"
"github.com/stackitcloud/cluster-api-provider-stackit/pkg/util"
)

func reconciliationPaused(cluster *clusterv1.Cluster, obj client.Object) (bool, string) {
Expand Down
4 changes: 2 additions & 2 deletions internal/controller/controller_test_helpers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import (

clusterv1 "sigs.k8s.io/cluster-api/api/core/v1beta2"

infrav1 "github.com/voigt/cluster-api-provider-stackit/api/v1alpha1"
"github.com/voigt/cluster-api-provider-stackit/pkg/cloud"
infrav1 "github.com/stackitcloud/cluster-api-provider-stackit/api/v1alpha1"
"github.com/stackitcloud/cluster-api-provider-stackit/pkg/cloud"
)

const (
Expand Down
8 changes: 4 additions & 4 deletions internal/controller/stackitcluster_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ import (
logf "sigs.k8s.io/controller-runtime/pkg/log"
"sigs.k8s.io/controller-runtime/pkg/reconcile"

infrav1 "github.com/voigt/cluster-api-provider-stackit/api/v1alpha1"
"github.com/voigt/cluster-api-provider-stackit/pkg/cloud"
"github.com/voigt/cluster-api-provider-stackit/pkg/scope"
"github.com/voigt/cluster-api-provider-stackit/pkg/util"
infrav1 "github.com/stackitcloud/cluster-api-provider-stackit/api/v1alpha1"
"github.com/stackitcloud/cluster-api-provider-stackit/pkg/cloud"
"github.com/stackitcloud/cluster-api-provider-stackit/pkg/scope"
"github.com/stackitcloud/cluster-api-provider-stackit/pkg/util"
)

const (
Expand Down
6 changes: 3 additions & 3 deletions internal/controller/stackitcluster_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ import (
clusterv1 "sigs.k8s.io/cluster-api/api/core/v1beta2"
"sigs.k8s.io/controller-runtime/pkg/reconcile"

infrav1 "github.com/voigt/cluster-api-provider-stackit/api/v1alpha1"
"github.com/voigt/cluster-api-provider-stackit/pkg/cloud"
cloudfake "github.com/voigt/cluster-api-provider-stackit/pkg/cloud/fake"
infrav1 "github.com/stackitcloud/cluster-api-provider-stackit/api/v1alpha1"
"github.com/stackitcloud/cluster-api-provider-stackit/pkg/cloud"
cloudfake "github.com/stackitcloud/cluster-api-provider-stackit/pkg/cloud/fake"
)

var _ = Describe("StackitCluster Controller", func() {
Expand Down
8 changes: 4 additions & 4 deletions internal/controller/stackitmachine_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ import (
logf "sigs.k8s.io/controller-runtime/pkg/log"
"sigs.k8s.io/controller-runtime/pkg/reconcile"

infrav1 "github.com/voigt/cluster-api-provider-stackit/api/v1alpha1"
"github.com/voigt/cluster-api-provider-stackit/pkg/cloud"
"github.com/voigt/cluster-api-provider-stackit/pkg/scope"
"github.com/voigt/cluster-api-provider-stackit/pkg/util"
infrav1 "github.com/stackitcloud/cluster-api-provider-stackit/api/v1alpha1"
"github.com/stackitcloud/cluster-api-provider-stackit/pkg/cloud"
"github.com/stackitcloud/cluster-api-provider-stackit/pkg/scope"
"github.com/stackitcloud/cluster-api-provider-stackit/pkg/util"
)

// StackitMachineReconciler reconciles a StackitMachine object.
Expand Down
8 changes: 4 additions & 4 deletions internal/controller/stackitmachine_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ import (
clusterv1 "sigs.k8s.io/cluster-api/api/core/v1beta2"
"sigs.k8s.io/controller-runtime/pkg/reconcile"

infrav1 "github.com/voigt/cluster-api-provider-stackit/api/v1alpha1"
"github.com/voigt/cluster-api-provider-stackit/pkg/cloud"
cloudfake "github.com/voigt/cluster-api-provider-stackit/pkg/cloud/fake"
"github.com/voigt/cluster-api-provider-stackit/pkg/util"
infrav1 "github.com/stackitcloud/cluster-api-provider-stackit/api/v1alpha1"
"github.com/stackitcloud/cluster-api-provider-stackit/pkg/cloud"
cloudfake "github.com/stackitcloud/cluster-api-provider-stackit/pkg/cloud/fake"
"github.com/stackitcloud/cluster-api-provider-stackit/pkg/util"
)

var _ = Describe("StackitMachine Controller", func() {
Expand Down
2 changes: 1 addition & 1 deletion internal/controller/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import (
logf "sigs.k8s.io/controller-runtime/pkg/log"
"sigs.k8s.io/controller-runtime/pkg/log/zap"

infrastructurev1alpha1 "github.com/voigt/cluster-api-provider-stackit/api/v1alpha1"
infrastructurev1alpha1 "github.com/stackitcloud/cluster-api-provider-stackit/api/v1alpha1"
// +kubebuilder:scaffold:imports
)

Expand Down
2 changes: 1 addition & 1 deletion internal/webhook/v1alpha1/stackitcluster_webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
logf "sigs.k8s.io/controller-runtime/pkg/log"
"sigs.k8s.io/controller-runtime/pkg/webhook/admission"

infrastructurev1alpha1 "github.com/voigt/cluster-api-provider-stackit/api/v1alpha1"
infrastructurev1alpha1 "github.com/stackitcloud/cluster-api-provider-stackit/api/v1alpha1"
)

// nolint:unused
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
logf "sigs.k8s.io/controller-runtime/pkg/log"
"sigs.k8s.io/controller-runtime/pkg/webhook/admission"

infrastructurev1alpha1 "github.com/voigt/cluster-api-provider-stackit/api/v1alpha1"
infrastructurev1alpha1 "github.com/stackitcloud/cluster-api-provider-stackit/api/v1alpha1"
)

// nolint:unused
Expand Down
2 changes: 1 addition & 1 deletion internal/webhook/v1alpha1/stackitmachine_webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
logf "sigs.k8s.io/controller-runtime/pkg/log"
"sigs.k8s.io/controller-runtime/pkg/webhook/admission"

infrastructurev1alpha1 "github.com/voigt/cluster-api-provider-stackit/api/v1alpha1"
infrastructurev1alpha1 "github.com/stackitcloud/cluster-api-provider-stackit/api/v1alpha1"
)

// nolint:unused
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
logf "sigs.k8s.io/controller-runtime/pkg/log"
"sigs.k8s.io/controller-runtime/pkg/webhook/admission"

infrastructurev1alpha1 "github.com/voigt/cluster-api-provider-stackit/api/v1alpha1"
infrastructurev1alpha1 "github.com/stackitcloud/cluster-api-provider-stackit/api/v1alpha1"
)

// nolint:unused
Expand Down
4 changes: 2 additions & 2 deletions internal/webhook/v1alpha1/validation_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ import (
"k8s.io/apimachinery/pkg/util/validation/field"
clusterv1 "sigs.k8s.io/cluster-api/api/core/v1beta2"

infrav1 "github.com/voigt/cluster-api-provider-stackit/api/v1alpha1"
"github.com/voigt/cluster-api-provider-stackit/pkg/cloud"
infrav1 "github.com/stackitcloud/cluster-api-provider-stackit/api/v1alpha1"
"github.com/stackitcloud/cluster-api-provider-stackit/pkg/cloud"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion internal/webhook/v1alpha1/webhook_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import (
metricsserver "sigs.k8s.io/controller-runtime/pkg/metrics/server"
"sigs.k8s.io/controller-runtime/pkg/webhook"

infrastructurev1alpha1 "github.com/voigt/cluster-api-provider-stackit/api/v1alpha1"
infrastructurev1alpha1 "github.com/stackitcloud/cluster-api-provider-stackit/api/v1alpha1"
// +kubebuilder:scaffold:imports
)

Expand Down
2 changes: 1 addition & 1 deletion internal/webhook/v1alpha1/webhook_validation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"sigs.k8s.io/controller-runtime/pkg/client"

infrav1 "github.com/voigt/cluster-api-provider-stackit/api/v1alpha1"
infrav1 "github.com/stackitcloud/cluster-api-provider-stackit/api/v1alpha1"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions pkg/cloud/cleanup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import (
"context"
"testing"

"github.com/voigt/cluster-api-provider-stackit/pkg/cloud"
cloudfake "github.com/voigt/cluster-api-provider-stackit/pkg/cloud/fake"
"github.com/stackitcloud/cluster-api-provider-stackit/pkg/cloud"
cloudfake "github.com/stackitcloud/cluster-api-provider-stackit/pkg/cloud/fake"
)

func TestCleanupByTagsDeletesMatchingCloudResources(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/cloud/fake/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"slices"
"sync"

"github.com/voigt/cluster-api-provider-stackit/pkg/cloud"
"github.com/stackitcloud/cluster-api-provider-stackit/pkg/cloud"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion pkg/scope/cluster_scope.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
clusterv1 "sigs.k8s.io/cluster-api/api/core/v1beta2"
"sigs.k8s.io/cluster-api/util/patch"

infrav1 "github.com/voigt/cluster-api-provider-stackit/api/v1alpha1"
infrav1 "github.com/stackitcloud/cluster-api-provider-stackit/api/v1alpha1"
)

// ClusterScope holds the per-reconcile state for a StackitCluster.
Expand Down
2 changes: 1 addition & 1 deletion pkg/scope/machine_scope.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
clusterv1 "sigs.k8s.io/cluster-api/api/core/v1beta2"
"sigs.k8s.io/cluster-api/util/patch"

infrav1 "github.com/voigt/cluster-api-provider-stackit/api/v1alpha1"
infrav1 "github.com/stackitcloud/cluster-api-provider-stackit/api/v1alpha1"
)

// MachineScope holds the per-reconcile state for a StackitMachine.
Expand Down
2 changes: 1 addition & 1 deletion pkg/util/credentials.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (

corev1 "k8s.io/api/core/v1"

"github.com/voigt/cluster-api-provider-stackit/pkg/cloud"
"github.com/stackitcloud/cluster-api-provider-stackit/pkg/cloud"
)

// Keys expected in the credentials Secret. The format mirrors the existing
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/e2e_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"

"github.com/voigt/cluster-api-provider-stackit/test/utils"
"github.com/stackitcloud/cluster-api-provider-stackit/test/utils"
)

var (
Expand Down
6 changes: 3 additions & 3 deletions test/e2e/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ import (
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"

"github.com/voigt/cluster-api-provider-stackit/pkg/cloud"
"github.com/voigt/cluster-api-provider-stackit/pkg/util"
"github.com/voigt/cluster-api-provider-stackit/test/utils"
"github.com/stackitcloud/cluster-api-provider-stackit/pkg/cloud"
"github.com/stackitcloud/cluster-api-provider-stackit/pkg/util"
"github.com/stackitcloud/cluster-api-provider-stackit/test/utils"
)

// namespace where the project is deployed in
Expand Down