Skip to content

Commit

Permalink
updated to new sds-node-configuration api version
Browse files Browse the repository at this point in the history
Signed-off-by: Viktor Kramarenko <viktor.kramarenko@flant.com>
  • Loading branch information
ViktorKram committed Sep 23, 2024
1 parent a9d5158 commit 6737140
Show file tree
Hide file tree
Showing 22 changed files with 143 additions and 140 deletions.
2 changes: 1 addition & 1 deletion images/sds-local-volume-controller/src/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.22.2

require (
github.com/deckhouse/sds-local-volume/api v0.0.0-20240816081122-3de604d3d889
github.com/deckhouse/sds-node-configurator/api v0.0.0-20240816031400-b001b5ab8337
github.com/deckhouse/sds-node-configurator/api v0.0.0-20240919102704-a035b4a92e77
github.com/go-logr/logr v1.4.2
github.com/onsi/ginkgo/v2 v2.20.0
github.com/onsi/gomega v1.34.1
Expand Down
2 changes: 2 additions & 0 deletions images/sds-local-volume-controller/src/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ github.com/deckhouse/sds-local-volume/api v0.0.0-20240816081122-3de604d3d889 h1:
github.com/deckhouse/sds-local-volume/api v0.0.0-20240816081122-3de604d3d889/go.mod h1:cYxHYJmIl6g9lXb1etqmLeQL/vsPMgscmact/FObd+U=
github.com/deckhouse/sds-node-configurator/api v0.0.0-20240816031400-b001b5ab8337 h1:v4HuZxGfTAfqV2Mec/yUXRDO9aVP1+Uhht0+1qZeMsg=
github.com/deckhouse/sds-node-configurator/api v0.0.0-20240816031400-b001b5ab8337/go.mod h1:H71+9G0Jr46Qs0BA3z3/xt0h9lbnJnCEYcaCJCWFBf0=
github.com/deckhouse/sds-node-configurator/api v0.0.0-20240919102704-a035b4a92e77 h1:Y3vswUk/rnCpkZzWBk+Mlr9LtMg6EI5LkQ4GvgHCslI=
github.com/deckhouse/sds-node-configurator/api v0.0.0-20240919102704-a035b4a92e77/go.mod h1:H71+9G0Jr46Qs0BA3z3/xt0h9lbnJnCEYcaCJCWFBf0=
github.com/emicklei/go-restful/v3 v3.12.1 h1:PJMDIM/ak7btuL8Ex0iYET9hxM3CI2sjZtzpL63nKAU=
github.com/emicklei/go-restful/v3 v3.12.1/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc=
github.com/evanphx/json-patch v4.12.0+incompatible h1:4onqiflcdA9EOZ4RxV643DvftH5pOlLGNtQ5lPWQu84=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ func addLabelOnTheLSCIfNotExist(ctx context.Context, cl client.Client, lsc slv.L
return true, nil
}

func addLabelOnTheLVGIfNotExist(ctx context.Context, cl client.Client, lvg snc.LvmVolumeGroup, label string) (bool, error) {
func addLabelOnTheLVGIfNotExist(ctx context.Context, cl client.Client, lvg snc.LVMVolumeGroup, label string) (bool, error) {
if _, exist := lvg.Labels[label]; exist {
return false, nil
}
Expand Down Expand Up @@ -303,12 +303,12 @@ func clearManualEvictionLabelsIfNeeded(ctx context.Context, cl client.Client, lo
return err
}

lvgs := make(map[string]snc.LvmVolumeGroup, len(lvgList.Items))
lvgs := make(map[string]snc.LVMVolumeGroup, len(lvgList.Items))
for _, lvg := range lvgList.Items {
lvgs[lvg.Name] = lvg
}

usedLvgs := make(map[string]snc.LvmVolumeGroup, len(lvgList.Items))
usedLvgs := make(map[string]snc.LVMVolumeGroup, len(lvgList.Items))
for _, lvg := range lvgList.Items {
for _, n := range lvg.Status.Nodes {
if n.Name == node.Name {
Expand Down Expand Up @@ -375,13 +375,13 @@ func clearManualEvictionLabelsIfNeeded(ctx context.Context, cl client.Client, lo
return nil
}

func getManuallyEvictedLVGsAndLSCs(ctx context.Context, cl client.Client, node v1.Node) (map[string]snc.LvmVolumeGroup, map[string]slv.LocalStorageClass, error) {
func getManuallyEvictedLVGsAndLSCs(ctx context.Context, cl client.Client, node v1.Node) (map[string]snc.LVMVolumeGroup, map[string]slv.LocalStorageClass, error) {
lvgList, err := getLVMVolumeGroups(ctx, cl)
if err != nil {
return nil, nil, err
}

usedLvgs := make(map[string]snc.LvmVolumeGroup, len(lvgList.Items))
usedLvgs := make(map[string]snc.LVMVolumeGroup, len(lvgList.Items))
for _, lvg := range lvgList.Items {
for _, n := range lvg.Status.Nodes {
if n.Name == node.Name {
Expand All @@ -396,7 +396,7 @@ func getManuallyEvictedLVGsAndLSCs(ctx context.Context, cl client.Client, node v
}

unhealthyLscs := make(map[string]slv.LocalStorageClass, len(lscList.Items))
unhealthyLvgs := make(map[string]snc.LvmVolumeGroup, len(usedLvgs))
unhealthyLvgs := make(map[string]snc.LVMVolumeGroup, len(usedLvgs))

// This case is a base case, when the controller did not label any resource.
for _, lsc := range lscList.Items {
Expand All @@ -418,8 +418,8 @@ func getManuallyEvictedLVGsAndLSCs(ctx context.Context, cl client.Client, node v
return unhealthyLvgs, unhealthyLscs, nil
}

func getLVMVolumeGroups(ctx context.Context, cl client.Client) (*snc.LvmVolumeGroupList, error) {
lvgList := &snc.LvmVolumeGroupList{}
func getLVMVolumeGroups(ctx context.Context, cl client.Client) (*snc.LVMVolumeGroupList, error) {
lvgList := &snc.LVMVolumeGroupList{}
err := cl.List(ctx, lvgList)

return lvgList, err
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@ func TestRunLocalCSINodeWatcherController(t *testing.T) {
t.Error(err)
}

lvgOnNode4 := &snc.LvmVolumeGroup{
lvgOnNode4 := &snc.LVMVolumeGroup{
ObjectMeta: metav1.ObjectMeta{
Name: "lvgOnNode4",
},
Status: snc.LvmVolumeGroupStatus{
Nodes: []snc.LvmVolumeGroupNode{
Status: snc.LVMVolumeGroupStatus{
Nodes: []snc.LVMVolumeGroupNode{
{
Name: "test-node4",
},
Expand Down Expand Up @@ -190,7 +190,7 @@ func TestRunLocalCSINodeWatcherController(t *testing.T) {
_, exist = node4.Labels[localCsiNodeSelectorLabel]
assert.True(t, exist)

updateLvg := &snc.LvmVolumeGroup{}
updateLvg := &snc.LVMVolumeGroup{}
err = cl.Get(ctx,
client.ObjectKey{
Name: "lvgOnNode4",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ func validateLocalStorageClass(
failedMsgBuilder.WriteString(fmt.Sprintf("There already is a storage class with the same name: %s but it is not managed by the LocalStorageClass controller\n", unmanagedScName))
}

lvgList := &snc.LvmVolumeGroupList{}
lvgList := &snc.LVMVolumeGroupList{}
err := cl.List(ctx, lvgList)
if err != nil {
valid = false
Expand Down Expand Up @@ -569,8 +569,8 @@ func findAnyThinPool(lsc *slv.LocalStorageClass) []string {
return badLvgs
}

func findNonexistentThinPools(lvgList *snc.LvmVolumeGroupList, lsc *slv.LocalStorageClass) []string {
lvgs := make(map[string]snc.LvmVolumeGroup, len(lvgList.Items))
func findNonexistentThinPools(lvgList *snc.LVMVolumeGroupList, lsc *slv.LocalStorageClass) []string {
lvgs := make(map[string]snc.LVMVolumeGroup, len(lvgList.Items))
for _, lvg := range lvgList.Items {
lvgs[lvg.Name] = lvg
}
Expand Down Expand Up @@ -600,7 +600,7 @@ func findNonexistentThinPools(lvgList *snc.LvmVolumeGroupList, lsc *slv.LocalSto
return badLvgs
}

func findNonexistentLVGs(lvgList *snc.LvmVolumeGroupList, lsc *slv.LocalStorageClass) []string {
func findNonexistentLVGs(lvgList *snc.LVMVolumeGroupList, lsc *slv.LocalStorageClass) []string {
lvgs := make(map[string]struct{}, len(lvgList.Items))
for _, lvg := range lvgList.Items {
lvgs[lvg.Name] = struct{}{}
Expand All @@ -616,7 +616,7 @@ func findNonexistentLVGs(lvgList *snc.LvmVolumeGroupList, lsc *slv.LocalStorageC
return nonexistent
}

func findLVMVolumeGroupsOnTheSameNode(lvgList *snc.LvmVolumeGroupList, lsc *slv.LocalStorageClass) []string {
func findLVMVolumeGroupsOnTheSameNode(lvgList *snc.LVMVolumeGroupList, lsc *slv.LocalStorageClass) []string {
nodesWithLVGs := make(map[string][]string, len(lsc.Spec.LVM.LVMVolumeGroups))
usedLVGs := make(map[string]struct{}, len(lsc.Spec.LVM.LVMVolumeGroups))
for _, lvg := range lsc.Spec.LVM.LVMVolumeGroups {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ import (

var _ = Describe(controller.LocalStorageClassCtrlName, func() {
const (
controllerNamespace = "test-namespace"
nameForLocalStorageClass = "sds-local-volume-storage-class"

existingThickLVG1Name = "test-thick-vg1"
Expand All @@ -63,13 +62,13 @@ var _ = Describe(controller.LocalStorageClassCtrlName, func() {
volumeBindingModeWFFC = string(v1.VolumeBindingWaitForFirstConsumer)
volumeBindingModeIM = string(v1.VolumeBindingImmediate)

existingThickLVG1Template = generateLVMVolumeGroup(existingThickLVG1Name, []string{"dev-1111", "dev-2222"}, []string{})
existingThickLVG2Template = generateLVMVolumeGroup(existingThickLVG2Name, []string{"dev-3333", "dev-4444"}, []string{})
newThickLVGTemplate = generateLVMVolumeGroup(newThickLVGName, []string{"dev-5555", "dev-6666"}, []string{})
existingThickLVG1Template = generateLVMVolumeGroup(existingThickLVG1Name, []string{})
existingThickLVG2Template = generateLVMVolumeGroup(existingThickLVG2Name, []string{})
newThickLVGTemplate = generateLVMVolumeGroup(newThickLVGName, []string{})

existingThinLVG1Template = generateLVMVolumeGroup(existingThinLVG1Name, []string{"dev-7777", "dev-8888"}, []string{"thin-pool-1", "thin-pool-2"})
existingThinLVG2Template = generateLVMVolumeGroup(existingThinLVG2Name, []string{"dev-9999", "dev-1010"}, []string{"thin-pool-1", "thin-pool-2"})
newThinLVGTemplate = generateLVMVolumeGroup(newThinLVGName, []string{"dev-1111", "dev-1212"}, []string{"thin-pool-1", "thin-pool-2"})
existingThinLVG1Template = generateLVMVolumeGroup(existingThinLVG1Name, []string{"thin-pool-1", "thin-pool-2"})
existingThinLVG2Template = generateLVMVolumeGroup(existingThinLVG2Name, []string{"thin-pool-1", "thin-pool-2"})
newThinLVGTemplate = generateLVMVolumeGroup(newThinLVGName, []string{"thin-pool-1", "thin-pool-2"})
)

It("Create_local_sc_with_existing_lvgs", func() {
Expand Down Expand Up @@ -742,38 +741,37 @@ var _ = Describe(controller.LocalStorageClassCtrlName, func() {

})

func generateLVMVolumeGroup(name string, devices, thinPoolNames []string) *snc.LvmVolumeGroup {
func generateLVMVolumeGroup(name string, thinPoolNames []string) *snc.LVMVolumeGroup {
lvmType := controller.LVMThickType

if len(thinPoolNames) > 0 {
lvmType = controller.LVMThinType
}

thinPoolsSpec := make([]snc.LvmVolumeGroupThinPoolSpec, 0)
thinPoolsStatus := make([]snc.LvmVolumeGroupThinPoolStatus, 0)
thinPoolsSpec := make([]snc.LVMVolumeGroupThinPoolSpec, 0)
thinPoolsStatus := make([]snc.LVMVolumeGroupThinPoolStatus, 0)
for i := 0; i < len(thinPoolNames); i++ {
thinPoolsSpec = append(thinPoolsSpec, snc.LvmVolumeGroupThinPoolSpec{
thinPoolsSpec = append(thinPoolsSpec, snc.LVMVolumeGroupThinPoolSpec{
Name: thinPoolNames[i],
Size: "10Gi",
})
thinPoolsStatus = append(thinPoolsStatus, snc.LvmVolumeGroupThinPoolStatus{
thinPoolsStatus = append(thinPoolsStatus, snc.LVMVolumeGroupThinPoolStatus{
Name: thinPoolNames[i],
ActualSize: resource.MustParse("10Gi"),
UsedSize: resource.MustParse("0Gi"),
})
}

return &snc.LvmVolumeGroup{
return &snc.LVMVolumeGroup{
ObjectMeta: metav1.ObjectMeta{
Name: name,
},
Spec: snc.LvmVolumeGroupSpec{
Spec: snc.LVMVolumeGroupSpec{
ActualVGNameOnTheNode: "vg1",
BlockDeviceNames: devices,
ThinPools: thinPoolsSpec,
Type: lvmType,
},
Status: snc.LvmVolumeGroupStatus{
Status: snc.LVMVolumeGroupStatus{
ThinPools: thinPoolsStatus,
},
}
Expand Down
2 changes: 1 addition & 1 deletion images/sds-local-volume-csi/driver/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ func (d *Driver) ControllerExpandVolume(ctx context.Context, request *csi.Contro
}, nil
}

lvg, err := utils.GetLVMVolumeGroup(ctx, d.cl, llv.Spec.LvmVolumeGroupName, llv.Namespace)
lvg, err := utils.GetLVMVolumeGroup(ctx, d.cl, llv.Spec.LVMVolumeGroupName, llv.Namespace)
if err != nil {
d.log.Error(err, fmt.Sprintf("[ControllerExpandVolume][traceID:%s][volumeID:%s] error getting LVMVolumeGroup", traceID, volumeID))
return nil, status.Errorf(codes.Internal, "error getting LVMVolumeGroup: %v", err)
Expand Down
2 changes: 1 addition & 1 deletion images/sds-local-volume-csi/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.22.3
require (
github.com/container-storage-interface/spec v1.10.0
github.com/deckhouse/sds-local-volume/api v0.0.0-20240903071950-ed9d3bba999b
github.com/deckhouse/sds-node-configurator/api v0.0.0-20240902155711-f525d7d805fa
github.com/deckhouse/sds-node-configurator/api v0.0.0-20240919102704-a035b4a92e77
github.com/go-logr/logr v1.4.2
github.com/golang/protobuf v1.5.4
github.com/google/uuid v1.6.0
Expand Down
2 changes: 2 additions & 0 deletions images/sds-local-volume-csi/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ github.com/deckhouse/sds-local-volume/api v0.0.0-20240903071950-ed9d3bba999b h1:
github.com/deckhouse/sds-local-volume/api v0.0.0-20240903071950-ed9d3bba999b/go.mod h1:cYxHYJmIl6g9lXb1etqmLeQL/vsPMgscmact/FObd+U=
github.com/deckhouse/sds-node-configurator/api v0.0.0-20240902155711-f525d7d805fa h1:VaqIf8flnAgl+MY59EYq5zUwRwaSfoLvxTZ4NfXxtgE=
github.com/deckhouse/sds-node-configurator/api v0.0.0-20240902155711-f525d7d805fa/go.mod h1:H71+9G0Jr46Qs0BA3z3/xt0h9lbnJnCEYcaCJCWFBf0=
github.com/deckhouse/sds-node-configurator/api v0.0.0-20240919102704-a035b4a92e77 h1:Y3vswUk/rnCpkZzWBk+Mlr9LtMg6EI5LkQ4GvgHCslI=
github.com/deckhouse/sds-node-configurator/api v0.0.0-20240919102704-a035b4a92e77/go.mod h1:H71+9G0Jr46Qs0BA3z3/xt0h9lbnJnCEYcaCJCWFBf0=
github.com/emicklei/go-restful/v3 v3.12.1 h1:PJMDIM/ak7btuL8Ex0iYET9hxM3CI2sjZtzpL63nKAU=
github.com/emicklei/go-restful/v3 v3.12.1/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc=
github.com/evanphx/json-patch/v5 v5.9.0 h1:kcBlZQbplgElYIlo/n1hJbls2z/1awpXxpRi0/FOJfg=
Expand Down
30 changes: 15 additions & 15 deletions images/sds-local-volume-csi/pkg/utils/func.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ func AreSizesEqualWithinDelta(leftSize, rightSize, allowedDelta resource.Quantit
return math.Abs(leftSizeFloat-rightSizeFloat) < float64(allowedDelta.Value())
}

func GetNodeWithMaxFreeSpace(lvgs []snc.LvmVolumeGroup, storageClassLVGParametersMap map[string]string, lvmType string) (nodeName string, freeSpace resource.Quantity, err error) {
func GetNodeWithMaxFreeSpace(lvgs []snc.LVMVolumeGroup, storageClassLVGParametersMap map[string]string, lvmType string) (nodeName string, freeSpace resource.Quantity, err error) {
var maxFreeSpace int64
for _, lvg := range lvgs {
switch lvmType {
Expand Down Expand Up @@ -182,9 +182,9 @@ func GetNodeWithMaxFreeSpace(lvgs []snc.LvmVolumeGroup, storageClassLVGParameter

// TODO: delete the method below?
func GetLVMVolumeGroupParams(ctx context.Context, kc client.Client, log logger.Logger, lvmVG map[string]string, nodeName, lvmType string) (lvgName, vgName string, err error) {
listLvgs := &snc.LvmVolumeGroupList{
listLvgs := &snc.LVMVolumeGroupList{
ListMeta: metav1.ListMeta{},
Items: []snc.LvmVolumeGroup{},
Items: []snc.LVMVolumeGroup{},
}

err = kc.List(ctx, listLvgs)
Expand Down Expand Up @@ -218,8 +218,8 @@ func GetLVMVolumeGroupParams(ctx context.Context, kc client.Client, log logger.L
return "", "", errors.New("there are no matches")
}

func GetLVMVolumeGroup(ctx context.Context, kc client.Client, lvgName, namespace string) (*snc.LvmVolumeGroup, error) {
var lvg snc.LvmVolumeGroup
func GetLVMVolumeGroup(ctx context.Context, kc client.Client, lvgName, namespace string) (*snc.LVMVolumeGroup, error) {
var lvg snc.LVMVolumeGroup

err := kc.Get(ctx, client.ObjectKey{
Name: lvgName,
Expand All @@ -229,14 +229,14 @@ func GetLVMVolumeGroup(ctx context.Context, kc client.Client, lvgName, namespace
return &lvg, err
}

func GetLVMVolumeGroupFreeSpace(lvg snc.LvmVolumeGroup) (vgFreeSpace resource.Quantity) {
func GetLVMVolumeGroupFreeSpace(lvg snc.LVMVolumeGroup) (vgFreeSpace resource.Quantity) {
vgFreeSpace = lvg.Status.VGSize
vgFreeSpace.Sub(lvg.Status.AllocatedSize)
return vgFreeSpace
}

func GetLVMThinPoolFreeSpace(lvg snc.LvmVolumeGroup, thinPoolName string) (thinPoolFreeSpace resource.Quantity, err error) {
var storagePoolThinPool *snc.LvmVolumeGroupThinPoolStatus
func GetLVMThinPoolFreeSpace(lvg snc.LVMVolumeGroup, thinPoolName string) (thinPoolFreeSpace resource.Quantity, err error) {
var storagePoolThinPool *snc.LVMVolumeGroupThinPoolStatus
for _, thinPool := range lvg.Status.ThinPools {
if thinPool.Name == thinPoolName {
storagePoolThinPool = &thinPool
Expand All @@ -256,7 +256,7 @@ func ExpandLVMLogicalVolume(ctx context.Context, kc client.Client, llv *snc.LVML
return kc.Update(ctx, llv)
}

func GetStorageClassLVGsAndParameters(ctx context.Context, kc client.Client, log *logger.Logger, storageClassLVGParametersString string) (storageClassLVGs []snc.LvmVolumeGroup, storageClassLVGParametersMap map[string]string, err error) {
func GetStorageClassLVGsAndParameters(ctx context.Context, kc client.Client, log *logger.Logger, storageClassLVGParametersString string) (storageClassLVGs []snc.LVMVolumeGroup, storageClassLVGParametersMap map[string]string, err error) {
var storageClassLVGParametersList LVMVolumeGroups
err = yaml.Unmarshal([]byte(storageClassLVGParametersString), &storageClassLVGParametersList)
if err != nil {
Expand Down Expand Up @@ -291,17 +291,17 @@ func GetStorageClassLVGsAndParameters(ctx context.Context, kc client.Client, log
return storageClassLVGs, storageClassLVGParametersMap, nil
}

func GetLVGList(ctx context.Context, kc client.Client) (*snc.LvmVolumeGroupList, error) {
listLvgs := &snc.LvmVolumeGroupList{}
func GetLVGList(ctx context.Context, kc client.Client) (*snc.LVMVolumeGroupList, error) {
listLvgs := &snc.LVMVolumeGroupList{}
return listLvgs, kc.List(ctx, listLvgs)
}

func GetLLVSpec(log *logger.Logger, lvName string, selectedLVG snc.LvmVolumeGroup, storageClassLVGParametersMap map[string]string, lvmType string, llvSize resource.Quantity, contiguous bool) snc.LVMLogicalVolumeSpec {
func GetLLVSpec(log *logger.Logger, lvName string, selectedLVG snc.LVMVolumeGroup, storageClassLVGParametersMap map[string]string, lvmType string, llvSize resource.Quantity, contiguous bool) snc.LVMLogicalVolumeSpec {
lvmLogicalVolumeSpec := snc.LVMLogicalVolumeSpec{
ActualLVNameOnTheNode: lvName,
Type: lvmType,
Size: llvSize.String(),
LvmVolumeGroupName: selectedLVG.Name,
LVMVolumeGroupName: selectedLVG.Name,
}

switch lvmType {
Expand All @@ -323,13 +323,13 @@ func GetLLVSpec(log *logger.Logger, lvName string, selectedLVG snc.LvmVolumeGrou
return lvmLogicalVolumeSpec
}

func SelectLVG(storageClassLVGs []snc.LvmVolumeGroup, nodeName string) (snc.LvmVolumeGroup, error) {
func SelectLVG(storageClassLVGs []snc.LVMVolumeGroup, nodeName string) (snc.LVMVolumeGroup, error) {
for _, lvg := range storageClassLVGs {
if lvg.Status.Nodes[0].Name == nodeName {
return lvg, nil
}
}
return snc.LvmVolumeGroup{}, fmt.Errorf("[SelectLVG] no LVMVolumeGroup found for node %s", nodeName)
return snc.LVMVolumeGroup{}, fmt.Errorf("[SelectLVG] no LVMVolumeGroup found for node %s", nodeName)
}

func removeLLVFinalizerIfExist(ctx context.Context, kc client.Client, log *logger.Logger, llv *snc.LVMLogicalVolume, finalizer string) (bool, error) {
Expand Down
2 changes: 1 addition & 1 deletion images/sds-local-volume-scheduler-extender/src/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.22.2

require (
github.com/deckhouse/sds-local-volume/api v0.0.0-20240903071950-ed9d3bba999b
github.com/deckhouse/sds-node-configurator/api v0.0.0-20240902155711-f525d7d805fa
github.com/deckhouse/sds-node-configurator/api v0.0.0-20240919102704-a035b4a92e77
github.com/go-logr/logr v1.4.2
github.com/go-logr/zapr v1.3.0
github.com/spf13/cobra v1.8.1
Expand Down
2 changes: 2 additions & 0 deletions images/sds-local-volume-scheduler-extender/src/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ github.com/deckhouse/sds-local-volume/api v0.0.0-20240903071950-ed9d3bba999b h1:
github.com/deckhouse/sds-local-volume/api v0.0.0-20240903071950-ed9d3bba999b/go.mod h1:cYxHYJmIl6g9lXb1etqmLeQL/vsPMgscmact/FObd+U=
github.com/deckhouse/sds-node-configurator/api v0.0.0-20240902155711-f525d7d805fa h1:VaqIf8flnAgl+MY59EYq5zUwRwaSfoLvxTZ4NfXxtgE=
github.com/deckhouse/sds-node-configurator/api v0.0.0-20240902155711-f525d7d805fa/go.mod h1:H71+9G0Jr46Qs0BA3z3/xt0h9lbnJnCEYcaCJCWFBf0=
github.com/deckhouse/sds-node-configurator/api v0.0.0-20240919102704-a035b4a92e77 h1:Y3vswUk/rnCpkZzWBk+Mlr9LtMg6EI5LkQ4GvgHCslI=
github.com/deckhouse/sds-node-configurator/api v0.0.0-20240919102704-a035b4a92e77/go.mod h1:H71+9G0Jr46Qs0BA3z3/xt0h9lbnJnCEYcaCJCWFBf0=
github.com/emicklei/go-restful/v3 v3.12.1 h1:PJMDIM/ak7btuL8Ex0iYET9hxM3CI2sjZtzpL63nKAU=
github.com/emicklei/go-restful/v3 v3.12.1/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc=
github.com/evanphx/json-patch v0.5.2 h1:xVCHIVMUu1wtM/VkR9jVZ45N3FhZfYMMYGorLCR8P3k=
Expand Down
Loading

0 comments on commit 6737140

Please sign in to comment.