The bridge-components target removes its scratch directory only on
success, so a failed download or checksum left it behind and the next
run stopped at mkdir. Starting from a clean directory matches the
components targets of the provider charts.
Assisted-by: LLM
Signed-off-by: Aleksei Sviridkin <f@lex.la>
The comment justified the one-minute resync period by a restart bug in
the v0.19 operator. The operator shipped now already contains the
upstream fix for it, so that reason no longer holds; what keeps the
setting is that restart recovery on the new operator has not been
measured yet.
Assisted-by: LLM
Signed-off-by: Aleksei Sviridkin <f@lex.la>
On a v1.10 installation the kubeadm BootstrapProvider still selects its
repository by bootstrap-components and bootstrap-provider alone. The
bridge bootstrap ConfigMap carried both labels, so that selector matched
two ConfigMaps as soon as the operator chart was upgraded. When the hook
then moved core to the bridge, cluster-api-operator resolved kubeadm's
repository for the upgrade, refused the ambiguous selector, and core
never left v1.10; every retry hit the same state.
The bridge ConfigMaps now carry only the version label, and the hook
selects a bridge by that label alone, narrowing a selector that still
keeps legacy labels.
Assisted-by: LLM
Signed-off-by: Aleksei Sviridkin <f@lex.la>
Use the stable core and kubeadm release while retaining temporary
compatibility with v1beta1 providers. clusterctl rejects a direct jump
from v1.10, so legacy installations pass through v1.13.8 before Helm
applies the final provider manifests. CABPT v0.6.13 supports Talos v1.14
without changing its v1beta1 provider contract.
Select one repository at the full requested provider version. Change
bridge versions and selectors atomically, repair incomplete bridge
selectors, and reject concurrent configuration changes without
conflicting with status updates.
The transition must not accept stale readiness, overwrite another
requested upgrade or continue after an API error or deadline. Verify
both provider status and Deployment rollout, and leave fresh installs
and supported versions with matching selectors to normal installation.
Keep intermediate repositories in the operator dependency and ship
only their compressed bundles. The packages artifact does not apply
.helmignore, so unpacked duplicates can exceed the release Secret limit.
Retain the repositories for interrupted transitions, and preserve the
core startup probe across refreshes of either release.
BREAKING CHANGE: management clusters require Kubernetes v1.33 or later.
Link: https://github.com/kubernetes-sigs/cluster-api/blob/v1.14.0/cmd/clusterctl/client/cluster/upgrader.go#L377-L404
Assisted-by: LLM
Signed-off-by: Aleksei Sviridkin <f@lex.la>
cluster-api-operator v0.19 refuses providers whose metadata declares
contracts other than v1alpha4 or v1beta1. v0.30 supports Cluster API v1.14
and accepts v1beta1 providers alongside a v1beta2 core.
The operator.cluster.x-k8s.io/v1alpha1 API was removed in v0.20.0;
every provider object here already uses v1alpha2.
Keep existing host-address and global feature-gate overrides effective
across the chart upgrade. Explicit per-provider gate maps take priority,
including false gates and empty maps. Provider-only configuration must
remain under spec, and fetch overrides must not rely on duplicate YAML
keys. Profiling settings remain independent of leader election.
Retain the one-minute resync workaround until restart recovery is
measured independently.
Assisted-by: LLM
Signed-off-by: Aleksei Sviridkin <f@lex.la>
A restarted capi-operator v0.19.0 drops the create events for the
provider Deployments it finds already running
(kubernetes-sigs/cluster-api-operator#1031). A provider whose Ready
condition went False while the operator was down therefore keeps it
until that Deployment changes or the informer resyncs, and the first
resync after a restart lands two periods later because the handler
registers after the informer has listed. With the 10m default that is
about 20 minutes, during which capi-providers-core times out on the
CoreProvider and everything depending on it waits; every further
operator restart starts the clock again.
With a one-minute period the same repro recovered 2m02s after the
operator took its lease, against no recovery within 4m26s with the
default on the same cluster. A resync replays the cache and, with
providers in sync, ends in "No changes detected" and an unchanged
condition, so it writes nothing to the API server; the operator logged
about 15 lines a minute and used 2m CPU and 26Mi of memory.
The upstream chart has no value for the flag, so a package patch that
make update reapplies adds one, and a bats test holds the rendered
argument.
Assisted-by: LLM
Signed-off-by: Myasnikov Daniil <myasnikovdaniil2001@gmail.com>
Move common-envs.mk and package.mk from scripts/ to hack/ directory.
Update all Makefile includes to use new paths. Remove unused
issue-flux-certificates.sh script.
Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Introduced dynamic IP address management support.
- Enabled comprehensive lifecycle hooks that trigger during both
installation and upgrades.
- Expanded configuration options with new fields for flexible
deployments and customizations.
- **Chores**
- Upgraded the application and chart versions.
- Improved deployment settings with enhanced health checks, diagnostic
endpoints, and service account management.
- Updated provider versions to enhance overall stability and
performance.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
This change is aimed at improving the development experience.
- The option `make delete` has been added.
- Added check for `NAME` and `NAMESPACE` variables
- Now, any package (not just system ones) can include options such as
make show, make diff, make apply.
- Applications from packages/extra require explicit specification of the
`NAMESPACE`.
- Applications from packages/apps require explicit specification of both
`NAME` and `NAMESPACE`.
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>