Skip to content

Commit

Permalink
fix: set rbd-node storage request (#199)
Browse files Browse the repository at this point in the history
Co-authored-by: 曲源成 <quyc@goodrain.com>
  • Loading branch information
quyuancheng and 曲源成 authored May 16, 2023
1 parent 8ae52f5 commit 5e288d0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ steps:
from_secret: version
GOOS: linux
GOARCH: arm64
DOCKER_BUILDKIT: 0
COMPOSE_DOCKER_CLI_BUILD: 0
commands:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- docker build --build-arg ARCH=$GOARCH --build-arg GOPROXY="https://goproxy.cn" -t rainbond/rainbond-operator:$VERSION .
Expand Down
2 changes: 1 addition & 1 deletion controllers/handler/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func NewNode(ctx context.Context, client client.Client, component *rainbondv1alp
component: component,
cluster: cluster,
labels: LabelsForRainbondComponent(component),
grdataStorageRequest: getStorageRequest("GRDATA_STORAGE_REQUEST", 50),
grdataStorageRequest: getStorageRequest("GRDATA_STORAGE_REQUEST", 20),
containerRuntime: containerutil.GetContainerRuntime(),
}
}
Expand Down

0 comments on commit 5e288d0

Please sign in to comment.