Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
steps:
- name: gather-system-info
id: system-info
uses: kenchan0130/actions-system-info@59699597e84e80085a750998045983daa49274c4 # version: v1.4.0
uses: kenchan0130/actions-system-info@bc4d96a0885af9f87e23f018f87c86d800e334d9 # version: v1.4.0
continue-on-error: true
- name: print-system-info
run: |
Expand All @@ -55,13 +55,13 @@ jobs:
done
continue-on-error: true
- name: checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # version: v6.0.1
uses: actions/checkout@0c366fd6a839edf440554fa01a7085ccba70ac98 # version: v6.0.1
- name: Unshallow
run: |
git fetch --prune --unshallow
- name: Set up Docker Buildx
id: setup-buildx
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # version: v3.11.1
uses: docker/setup-buildx-action@c7c4c00f3eef127be487a50899a220e44c6bcc87 # version: v3.11.1
with:
driver: remote
endpoint: tcp://buildkit-amd64.ci.svc.cluster.local:1234
Expand Down Expand Up @@ -104,7 +104,7 @@ jobs:
steps:
- name: gather-system-info
id: system-info
uses: kenchan0130/actions-system-info@59699597e84e80085a750998045983daa49274c4 # version: v1.4.0
uses: kenchan0130/actions-system-info@bc4d96a0885af9f87e23f018f87c86d800e334d9 # version: v1.4.0
continue-on-error: true
- name: print-system-info
run: |
Expand All @@ -128,19 +128,19 @@ jobs:
done
continue-on-error: true
- name: checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # version: v6.0.1
uses: actions/checkout@0c366fd6a839edf440554fa01a7085ccba70ac98 # version: v6.0.1
- name: Unshallow
run: |
git fetch --prune --unshallow
- name: Set up Docker Buildx
id: setup-buildx
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # version: v3.11.1
uses: docker/setup-buildx-action@c7c4c00f3eef127be487a50899a220e44c6bcc87 # version: v3.11.1
with:
driver: remote
endpoint: tcp://buildkit-amd64.ci.svc.cluster.local:1234
timeout-minutes: 10
- name: login-to-registry
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # version: v3.6.0
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # version: v3.6.0
with:
password: ${{ secrets.GITHUB_TOKEN }}
registry: ghcr.io
Expand All @@ -165,7 +165,7 @@ jobs:
steps:
- name: gather-system-info
id: system-info
uses: kenchan0130/actions-system-info@59699597e84e80085a750998045983daa49274c4 # version: v1.4.0
uses: kenchan0130/actions-system-info@bc4d96a0885af9f87e23f018f87c86d800e334d9 # version: v1.4.0
continue-on-error: true
- name: print-system-info
run: |
Expand All @@ -189,13 +189,13 @@ jobs:
done
continue-on-error: true
- name: checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # version: v6.0.1
uses: actions/checkout@0c366fd6a839edf440554fa01a7085ccba70ac98 # version: v6.0.1
- name: Unshallow
run: |
git fetch --prune --unshallow
- name: Set up Docker Buildx
id: setup-buildx
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # version: v3.11.1
uses: docker/setup-buildx-action@c7c4c00f3eef127be487a50899a220e44c6bcc87 # version: v3.11.1
with:
driver: remote
endpoint: tcp://buildkit-amd64.ci.svc.cluster.local:1234
Expand All @@ -210,7 +210,7 @@ jobs:
run: |
make release
- name: login-to-registry
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # version: v3.6.0
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # version: v3.6.0
with:
password: ${{ secrets.GITHUB_TOKEN }}
registry: ghcr.io
Expand All @@ -227,7 +227,7 @@ jobs:
sha256sum control-plane-talos/*/* > sha256sum.txt
sha512sum control-plane-talos/*/* > sha512sum.txt
- name: release
uses: softprops/action-gh-release@a06a81a03ee405af7f2048a818ed3f03bbf83c7b # version: v2.5.0
uses: softprops/action-gh-release@78237c54eb15310cb292a15480c4be010be47aeb # version: v2.5.0
with:
body_path: _out/RELEASE_NOTES.md
draft: "true"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/slack-notify-ci-failure.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
if: github.event.workflow_run.conclusion == 'failure' && github.event.workflow_run.event != 'pull_request'
steps:
- name: Slack Notify
uses: slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a # version: v2.1.1
uses: slackapi/slack-github-action@68e45239df848a78735310b597eb3b7a93b23426 # version: v2.1.1
with:
method: chat.postMessage
payload: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/slack-notify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
run: |
echo pull_request_number=$(gh pr view -R ${{ github.repository }} ${{ github.event.workflow_run.head_repository.owner.login }}:${{ github.event.workflow_run.head_branch }} --json number --jq .number) >> $GITHUB_OUTPUT
- name: Slack Notify
uses: slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a # version: v2.1.1
uses: slackapi/slack-github-action@68e45239df848a78735310b597eb3b7a93b23426 # version: v2.1.1
with:
method: chat.postMessage
payload: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- ubuntu-latest
steps:
- name: Close stale issues and PRs
uses: actions/stale@997185467fa4f803885201cee163a9f38240193d # version: v10.1.1
uses: actions/stale@d6f8a33132340b15a7006f552936e4b9b39c00ec # version: v10.1.1
with:
close-issue-message: This issue was closed because it has been stalled for 7 days with no activity.
days-before-issue-close: "5"
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# syntax = docker/dockerfile-upstream:1.14.1-labs
# syntax = docker/dockerfile-upstream:1.21.0-labs

# Meta args applied to stage base names.

Expand Down Expand Up @@ -56,7 +56,7 @@ RUN --mount=type=cache,target=/root/.cache --mount=type=cache,target=/tmp go tes
FROM scratch AS unit-tests
COPY --from=unit-tests-run /src/coverage.txt /coverage.txt

FROM --platform=${BUILDPLATFORM} alpine:3.21 AS release-build
FROM --platform=${BUILDPLATFORM} alpine:3.23 AS release-build
ADD https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize%2Fv4.1.0/kustomize_v4.1.0_linux_amd64.tar.gz .
RUN tar -xf kustomize_v4.1.0_linux_amd64.tar.gz -C /usr/local/bin && rm kustomize_v4.1.0_linux_amd64.tar.gz
COPY ./config ./config
Expand Down
30 changes: 15 additions & 15 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,37 +3,37 @@ module github.com/siderolabs/cluster-api-control-plane-provider-talos
go 1.25.3

// compatibility with kube-apiserver v0.32.3, should be dropped once kube-apiserver dependency is updated
replace github.com/google/cel-go => github.com/google/cel-go v0.22.0
replace github.com/google/cel-go => github.com/google/cel-go v0.26.1

require (
github.com/coreos/go-semver v0.3.1
github.com/go-logr/logr v1.4.3
github.com/gobuffalo/flect v1.0.3
github.com/google/uuid v1.6.0
github.com/onsi/gomega v1.38.2
github.com/onsi/gomega v1.39.0
github.com/pkg/errors v0.9.1
github.com/siderolabs/capi-utils v0.0.0-20251124160722-4ee8a1b7d4d0
github.com/siderolabs/cluster-api-bootstrap-provider-talos v0.6.11
github.com/siderolabs/crypto v0.6.4
github.com/siderolabs/gen v0.8.6
github.com/siderolabs/go-retry v0.3.3
github.com/siderolabs/talos/pkg/machinery v1.12.0
github.com/siderolabs/talos/pkg/machinery v1.12.2
github.com/spf13/pflag v1.0.10
github.com/stretchr/testify v1.11.1
golang.org/x/sync v0.18.0
google.golang.org/grpc v1.76.0
google.golang.org/protobuf v1.36.10
golang.org/x/sync v0.19.0
google.golang.org/grpc v1.78.0
google.golang.org/protobuf v1.36.11
gopkg.in/yaml.v3 v3.0.1
k8s.io/api v0.32.3
k8s.io/apiextensions-apiserver v0.32.3
k8s.io/apimachinery v0.32.3
k8s.io/apiserver v0.32.3
k8s.io/client-go v0.32.3
k8s.io/component-base v0.32.3
k8s.io/api v0.35.0
k8s.io/apiextensions-apiserver v0.35.0
k8s.io/apimachinery v0.35.0
k8s.io/apiserver v0.35.0
k8s.io/client-go v0.35.0
k8s.io/component-base v0.35.0
k8s.io/klog/v2 v2.130.1
k8s.io/utils v0.0.0-20251002143259-bc988d571ff4
sigs.k8s.io/cluster-api v1.10.9
sigs.k8s.io/controller-runtime v0.20.4
k8s.io/utils 914a6e750570
sigs.k8s.io/cluster-api v1.12.2
sigs.k8s.io/controller-runtime v0.23.1
)

require (
Expand Down