Compare commits

...

4 Commits

Author SHA1 Message Date
karmada-bot 7efb13b385
Merge pull request #5950 from XiShanYongYe-Chang/automated-cherry-pick-of-#5943-upstream-release-1.12
Automated cherry pick of #5943: Fix the problem of ResourceBinding remaining when the
2024-12-13 15:31:17 +08:00
changzhen 80323d6edb Fix the problem of ResourceBinding remaining when the workload is deleted in the dependencies distribution scenario
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-12-13 14:36:29 +08:00
karmada-bot a286244246
Merge pull request #5927 from karmada-io/dependabot/docker/cluster/images/release-1.12/alpine-3.21.0
build(deps): bump alpine from 3.20.3 to 3.21.0 in /cluster/images
2024-12-09 20:10:14 +08:00
dependabot[bot] 1bf91bd28f
build(deps): bump alpine from 3.20.3 to 3.21.0 in /cluster/images
Bumps alpine from 3.20.3 to 3.21.0.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-09 09:47:03 +00:00
3 changed files with 2 additions and 7 deletions

View File

@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
FROM alpine:3.20.3
FROM alpine:3.21.0
ARG BINARY

View File

@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
FROM alpine:3.20.3
FROM alpine:3.21.0
ARG BINARY
ARG TARGETPLATFORM

View File

@ -656,11 +656,6 @@ func (d *DependenciesDistributor) SetupWithManager(mgr controllerruntime.Manager
return false
}
// prevent newBindingObject from the queue if it's not scheduled yet.
if len(oldBindingObject.Spec.Clusters) == 0 && len(newBindingObject.Spec.Clusters) == 0 {
klog.V(4).Infof("Dropping resource binding(%s/%s) as it is not scheduled yet.", newBindingObject.Namespace, newBindingObject.Name)
return false
}
return oldBindingObject.Spec.PropagateDeps || newBindingObject.Spec.PropagateDeps
},
}).