Skip to content

Commit 204e2b6

Browse files
committed
fixup! refactor: Rebase against main
1 parent fb0368c commit 204e2b6

File tree

50 files changed

+55
-52
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+55
-52
lines changed

api/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ require (
1515
github.com/nutanix-cloud-native/prism-go-client v0.4.0
1616
github.com/onsi/gomega v1.33.1
1717
k8s.io/api v0.29.3
18+
k8s.io/apiextensions-apiserver v0.29.3
1819
k8s.io/apimachinery v0.29.3
1920
k8s.io/utils v0.0.0-20231127182322-b307cd553661
2021
sigs.k8s.io/cluster-api v1.7.1
@@ -69,7 +70,6 @@ require (
6970
gopkg.in/inf.v0 v0.9.1 // indirect
7071
gopkg.in/yaml.v2 v2.4.0 // indirect
7172
gopkg.in/yaml.v3 v3.0.1 // indirect
72-
k8s.io/apiextensions-apiserver v0.29.3 // indirect
7373
k8s.io/client-go v0.29.3 // indirect
7474
k8s.io/component-base v0.29.3 // indirect
7575
k8s.io/klog/v2 v2.120.1 // indirect

api/v1alpha1/crds/caren.nutanix.com_awsclusterconfigs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Nutanix. All rights reserved.
1+
# Copyright 2024 Nutanix. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0
33
---
44
apiVersion: apiextensions.k8s.io/v1

api/v1alpha1/crds/caren.nutanix.com_awsworkernodeconfigs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Nutanix. All rights reserved.
1+
# Copyright 2024 Nutanix. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0
33
---
44
apiVersion: apiextensions.k8s.io/v1

api/v1alpha1/crds/caren.nutanix.com_dockerclusterconfigs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Nutanix. All rights reserved.
1+
# Copyright 2024 Nutanix. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0
33
---
44
apiVersion: apiextensions.k8s.io/v1

api/v1alpha1/crds/caren.nutanix.com_dockernodeconfigs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Nutanix. All rights reserved.
1+
# Copyright 2024 Nutanix. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0
33
---
44
apiVersion: apiextensions.k8s.io/v1

api/v1alpha1/crds/caren.nutanix.com_nutanixclusterconfigs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Nutanix. All rights reserved.
1+
# Copyright 2024 Nutanix. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0
33
---
44
apiVersion: apiextensions.k8s.io/v1

api/v1alpha1/crds/caren.nutanix.com_nutanixnodeconfigs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Nutanix. All rights reserved.
1+
# Copyright 2024 Nutanix. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0
33
---
44
apiVersion: apiextensions.k8s.io/v1

api/v1alpha1/http_proxy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023 D2iQ, Inc. All rights reserved.
1+
// Copyright 2023 Nutanix. All rights reserved.
22
// SPDX-License-Identifier: Apache-2.0
33

44
package v1alpha1

api/v1alpha1/http_proxy_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023 D2iQ, Inc. All rights reserved.
1+
// Copyright 2023 Nutanix. All rights reserved.
22
// SPDX-License-Identifier: Apache-2.0
33

44
package v1alpha1_test

api/v1alpha1/zz_generated.deepcopy.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

charts/cluster-api-runtime-extensions-nutanix/templates/ccm/aws/manifests/aws-ccm-v1.27.1-configmap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Nutanix. All rights reserved.
1+
# Copyright 2024 Nutanix. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0
33

44
#=================================================================

charts/cluster-api-runtime-extensions-nutanix/templates/ccm/aws/manifests/aws-ccm-v1.28.1-configmap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Nutanix. All rights reserved.
1+
# Copyright 2024 Nutanix. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0
33

44
#=================================================================

charts/cluster-api-runtime-extensions-nutanix/templates/ccm/aws/manifests/aws-ccm-v1.29.2-configmap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 D2iQ, Inc. All rights reserved.
1+
# Copyright 2024 Nutanix. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0
33

44
#=================================================================

charts/cluster-api-runtime-extensions-nutanix/templates/cluster-autoscaler/manifests/cluster-autoscaler-configmap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Nutanix. All rights reserved.
1+
# Copyright 2024 Nutanix. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0
33

44
#=================================================================

charts/cluster-api-runtime-extensions-nutanix/templates/cni/calico/manifests/tigera-operator-configmap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Nutanix. All rights reserved.
1+
# Copyright 2024 Nutanix. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0
33

44
#=================================================================

charts/cluster-api-runtime-extensions-nutanix/templates/cni/cilium/manifests/cilium-configmap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Nutanix. All rights reserved.
1+
# Copyright 2024 Nutanix. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0
33

44
#=================================================================

charts/cluster-api-runtime-extensions-nutanix/templates/csi/aws-ebs/manifests/aws-ebs-csi-configmap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Nutanix. All rights reserved.
1+
# Copyright 2024 Nutanix. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0
33

44
#=================================================================

charts/cluster-api-runtime-extensions-nutanix/templates/helm-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Nutanix. All rights reserved.
1+
# Copyright 2024 Nutanix. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0
33

44
#=================================================================

charts/cluster-api-runtime-extensions-nutanix/templates/nfd/manifests/node-feature-discovery-configmap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Nutanix. All rights reserved.
1+
# Copyright 2024 Nutanix. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0
33

44
#=================================================================

charts/cluster-api-runtime-extensions-nutanix/templates/role.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Nutanix. All rights reserved.
1+
# Copyright 2024 Nutanix. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0
33
---
44
apiVersion: rbac.authorization.k8s.io/v1

charts/cluster-api-runtime-extensions-nutanix/templates/serviceloadbalancer/metallb/helm-addon-installation.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 D2iQ, Inc. All rights reserved.
1+
# Copyright 2023 Nutanix. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0
33

44
{{- if .Values.hooks.serviceLoadBalancer.metalLB.defaultValueTemplateConfigMap.create }}

charts/cluster-api-runtime-extensions-nutanix/templates/virtual-ip/kube-vip/manifests/kube-vip-configmap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 D2iQ, Inc. All rights reserved.
1+
# Copyright 2024 Nutanix. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0
33

44
#=================================================================

common/pkg/capi/clustertopology/variables/json.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 D2iQ, Inc. All rights reserved.
1+
// Copyright 2024 Nutanix. All rights reserved.
22
// SPDX-License-Identifier: Apache-2.0
33

44
package variables

common/pkg/capi/utils/labels.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023 D2iQ, Inc. All rights reserved.
1+
// Copyright 2023 Nutanix. All rights reserved.
22
// SPDX-License-Identifier: Apache-2.0
33

44
package utils

common/pkg/k8s/client/apply.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023 D2iQ, Inc. All rights reserved.
1+
// Copyright 2023 Nutanix. All rights reserved.
22
// SPDX-License-Identifier: Apache-2.0
33

44
package client

hack/addons/kustomize/aws-ccm/helm-values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2024 D2iQ, Inc. All rights reserved.
1+
# Copyright 2024 Nutanix. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0
33

44
---

hack/addons/kustomize/metallb/kustomization.yaml.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2024 D2iQ, Inc. All rights reserved.
1+
# Copyright 2024 Nutanix. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0
33

44
# NOTE This file is used by the tool in `hack/tools/helm-cm` to add

hack/license-header.go.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
// Copyright 2023 Nutanix. All rights reserved.
1+
// Copyright 2024 Nutanix. All rights reserved.
22
// SPDX-License-Identifier: Apache-2.0

hack/license-header.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Copyright 2023 Nutanix. All rights reserved.
1+
Copyright 2024 Nutanix. All rights reserved.
22
SPDX-License-Identifier: Apache-2.0

hack/license-header.yaml.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
# Copyright 2023 Nutanix. All rights reserved.
1+
# Copyright 2024 Nutanix. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0

pkg/handlers/aws/handlers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023 D2iQ, Inc. All rights reserved.
1+
// Copyright 2023 Nutanix. All rights reserved.
22
// SPDX-License-Identifier: Apache-2.0
33

44
package aws

pkg/handlers/docker/handlers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023 D2iQ, Inc. All rights reserved.
1+
// Copyright 2023 Nutanix. All rights reserved.
22
// SPDX-License-Identifier: Apache-2.0
33

44
package docker

pkg/handlers/generic/lifecycle/csi/handler.go

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,9 @@ func validateDefaultStorage(csi v1alpha1.CSI) error {
159159
}
160160
configs, ok := storageClassConfigsByProviderName[csi.DefaultStorage.ProviderName]
161161
if !ok {
162-
return fmt.Errorf("the DefaultStorage Provider name must be the name of a configured provider")
162+
return fmt.Errorf(
163+
"the DefaultStorage Provider name must be the name of a configured provider",
164+
)
163165
}
164166
defaultStorageClassConfigNameInProvider := false
165167
for _, config := range configs {
@@ -169,8 +171,9 @@ func validateDefaultStorage(csi v1alpha1.CSI) error {
169171
}
170172
}
171173
if !defaultStorageClassConfigNameInProvider {
172-
//nolint:lll // Long message.
173-
return fmt.Errorf("the DefaultStorage StorageClassConfig name must be the name of a StorageClassConfig for the default provider")
174+
return fmt.Errorf(
175+
"the DefaultStorage StorageClassConfig name must be the name of a StorageClassConfig for the default provider",
176+
)
174177
}
175178
}
176179
return nil

pkg/handlers/generic/lifecycle/csi/handler_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 D2iQ, Inc. All rights reserved.
1+
// Copyright 2024 Nutanix. All rights reserved.
22
// SPDX-License-Identifier: Apache-2.0
33

44
package csi

pkg/handlers/generic/lifecycle/serviceloadbalancer/handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023 D2iQ, Inc. All rights reserved.
1+
// Copyright 2023 Nutanix. All rights reserved.
22
// SPDX-License-Identifier: Apache-2.0
33

44
package serviceloadbalancer

pkg/handlers/generic/lifecycle/serviceloadbalancer/metallb/handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023 D2iQ, Inc. All rights reserved.
1+
// Copyright 2023 Nutanix. All rights reserved.
22
// SPDX-License-Identifier: Apache-2.0
33

44
package metallb

pkg/handlers/generic/lifecycle/utils/utils_integration_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023 D2iQ, Inc. All rights reserved.
1+
// Copyright 2023 Nutanix. All rights reserved.
22
// SPDX-License-Identifier: Apache-2.0
33

44
package utils

pkg/handlers/generic/lifecycle/utils/utils_suite_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023 D2iQ, Inc. All rights reserved.
1+
// Copyright 2023 Nutanix. All rights reserved.
22
// SPDX-License-Identifier: Apache-2.0
33

44
package utils

pkg/handlers/generic/mutation/controlplanevirtualip/inject.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023 D2iQ, Inc. All rights reserved.
1+
// Copyright 2023 Nutanix. All rights reserved.
22
// SPDX-License-Identifier: Apache-2.0
33

44
package controlplanevirtualip

pkg/handlers/generic/mutation/controlplanevirtualip/inject_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023 D2iQ, Inc. All rights reserved.
1+
// Copyright 2023 Nutanix. All rights reserved.
22
// SPDX-License-Identifier: Apache-2.0
33

44
package controlplanevirtualip

pkg/handlers/generic/mutation/controlplanevirtualip/providers/kubevip.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023 D2iQ, Inc. All rights reserved.
1+
// Copyright 2023 Nutanix. All rights reserved.
22
// SPDX-License-Identifier: Apache-2.0
33

44
package providers

pkg/handlers/generic/mutation/controlplanevirtualip/providers/kubevip_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023 D2iQ, Inc. All rights reserved.
1+
// Copyright 2023 Nutanix. All rights reserved.
22
// SPDX-License-Identifier: Apache-2.0
33

44
package providers

pkg/handlers/generic/mutation/controlplanevirtualip/providers/providers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023 D2iQ, Inc. All rights reserved.
1+
// Copyright 2023 Nutanix. All rights reserved.
22
// SPDX-License-Identifier: Apache-2.0
33

44
package providers

pkg/handlers/nutanix/handlers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023 D2iQ, Inc. All rights reserved.
1+
// Copyright 2023 Nutanix. All rights reserved.
22
// SPDX-License-Identifier: Apache-2.0
33

44
package nutanix

pkg/handlers/nutanix/mutation/controlplanevirtualip/inject.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2023 D2iQ, Inc. All rights reserved.
1+
// Copyright 2023 Nutanix. All rights reserved.
22
// SPDX-License-Identifier: Apache-2.0
33

44
package controlplanevirtualip

test/e2e/clusterautoscaler_helpers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//go:build e2e
22

3-
// Copyright 2024 D2iQ, Inc. All rights reserved.
3+
// Copyright 2024 Nutanix. All rights reserved.
44
// SPDX-License-Identifier: Apache-2.0
55

66
package e2e

test/e2e/data/shared/v1beta1-capx/metadata.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2024 D2iQ, Inc. All rights reserved.
1+
# Copyright 2024 Nutanix. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0
33

44
# maps release series of major.minor to cluster-api contract version

test/e2e/e2e_suite_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import (
3232
clusterctltemp "github.com/nutanix-cloud-native/cluster-api-runtime-extensions-nutanix/test/framework/clusterctl"
3333
)
3434

35-
func init() { //nolint:gochecknoinits // Idiomatically used to set up flags.
35+
func init() {
3636
flag.StringVar(&configPath, "e2e.config", "", "path to the e2e config file")
3737
flag.StringVar(
3838
&artifactFolder,

test/e2e/framework/self_hosted.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//go:build e2e
22

3-
// Copyright 2024 D2iQ, Inc. All rights reserved.
3+
// Copyright 2024 Nutanix. All rights reserved.
44
// SPDX-License-Identifier: Apache-2.0
55

66
package framework

test/e2e/self_hosted_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//go:build e2e
22

3-
// Copyright 2024 D2iQ, Inc. All rights reserved.
3+
// Copyright 2024 Nutanix. All rights reserved.
44
// SPDX-License-Identifier: Apache-2.0
55

66
package e2e

0 commit comments

Comments
 (0)