Skip to content

Commit b7d75af

Browse files
Merge branch 'master' into chore-service-fqdn-5549
* master: (175 commits) chore(deps): bump renovatebot/github-action (kubernetes-sigs#5890) chore(cloudflare): migrate DeleteCustomHostname() to new lib (kubernetes-sigs#5880) docs(advanced): configuration precedence (kubernetes-sigs#5871) test: update goversion label to 1.25 in metrics test (kubernetes-sigs#5886) ci(linter): add go-critic (kubernetes-sigs#5875) docs(providers): add info about Myra protection option and docker image (kubernetes-sigs#5879) refactor(pihole): reduce cyclomatic complexity of TestProviderV6 (kubernetes-sigs#5876) test(source/service): add serviceTypeFilter edge case (kubernetes-sigs#5872) chore(ci): speed-up & coveralls (kubernetes-sigs#5870) feat(provider/cloudflare): add support for tags (kubernetes-sigs#5862) chore(deps): bump renovatebot/github-action (kubernetes-sigs#5874) feat: add new flags to allow migration of OwnerID (kubernetes-sigs#4823) docs(volcengine): add volcengine provider to readme (kubernetes-sigs#5866) chore(deps): bump renovatebot/github-action (kubernetes-sigs#5856) docs improve txt registry documentation formatting and examples for apex record (kubernetes-sigs#5863) chore: upgrade ExternalDNS to go v1.25 and golangci-lint v2.5 (kubernetes-sigs#5869) refactor(pihole): reduce cyclomatic complexity of TestProvider (kubernetes-sigs#5865) refactor(service): reduce cyclomatic complexity of extractHeadlessEndpoints (kubernetes-sigs#5822) test(cloudflare): clear environment variables before setting test values (kubernetes-sigs#5851) fix(endpoint/source) Allow '.' in TXT Records (kubernetes-sigs#5844) ...
2 parents 64d7172 + 9810a6e commit b7d75af

File tree

277 files changed

+19998
-5139
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

277 files changed

+19998
-5139
lines changed

.editorconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,7 @@ insert_final_newline = true
2020
[{Makefile,go.mod,go.sum,*.go}]
2121
indent_style = tab
2222
indent_size = 4
23+
24+
[*.py]
25+
indent_style = space
26+
indent_size = 4

.github/ISSUE_TEMPLATE/---bug-report.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@ assignees: ''
77

88
---
99

10-
<!-- Please use this template while reporting a bug and provide as much info as possible. Not doing so may result in your bug not being addressed in a timely manner. Thanks!
10+
<!--
11+
Please use this template while reporting a bug and provide as much info as possible. Not doing so may result in your bug not being addressed in a timely manner. Thanks!
1112
13+
Make sure to validate the behavior against latest release https://github.com/kubernetes-sigs/external-dns/releases as we don't support past versions.
1214
-->
1315

1416
**What happened**:
@@ -17,6 +19,10 @@ assignees: ''
1719

1820
**How to reproduce it (as minimally and precisely as possible)**:
1921

22+
<!--
23+
Please provide as much detail as possible, including Kubernetes manifests with spec.status, ExternalDNS arguments, and logs. A bug that cannot be reproduced won't be fixed.
24+
-->
25+
2026
**Anything else we need to know?**:
2127

2228
**Environment**:

.github/workflows/ci.yaml

Lines changed: 25 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ permissions:
1111

1212
jobs:
1313

14-
build:
14+
test:
1515
permissions:
1616
contents: read # to fetch code (actions/checkout)
1717
checks: write # to create a new check based on the results (shogo82148/actions-goveralls)
1818

19-
name: Build
19+
name: Test
2020
runs-on: ${{ matrix.os }}
2121
strategy:
2222
matrix:
@@ -25,31 +25,41 @@ jobs:
2525
steps:
2626

2727
- name: Check out code into the Go module directory
28-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
28+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2929

3030
- name: Set up Go 1.x
31-
uses: actions/setup-go@v5
31+
uses: actions/setup-go@v6
3232
with:
3333
go-version-file: go.mod
3434
check-latest: true
3535
id: go
3636

37-
- name: Install CI
37+
- name: Install Dependencies
3838
run: |
3939
go get -v -t -d ./...
4040
41-
- name: Install additional CI for nektos/act
42-
run: |
43-
apt update
44-
apt install -y make gcc libc-dev git
45-
if: github.actor == 'nektos/act' && matrix.os == 'ubuntu-latest'
46-
4741
- name: Test
48-
run: make test
42+
env:
43+
GOMAXPROCS: 4
44+
GOMEMLIMIT: 8192MiB
45+
run: make go-test
4946

5047
- name: Send coverage
51-
uses: shogo82148/actions-goveralls@v1
48+
uses: coverallsapp/github-action@v2
5249
with:
53-
path-to-profile: profile.cov
54-
if: github.actor != 'nektos/act' && matrix.os == 'ubuntu-latest'
50+
file: profile.cov
51+
format: golang
52+
flag-name: run-${{ join(matrix.*, '-') }}
53+
parallel: true
5554
continue-on-error: true
55+
56+
finish:
57+
needs: test
58+
if: ${{ always() }}
59+
runs-on: ubuntu-latest
60+
steps:
61+
- name: Coveralls Finished
62+
uses: coverallsapp/github-action@v2
63+
with:
64+
parallel-finished: true
65+
carryforward: "run-ubuntu-latest,run-macos-latest"

.github/workflows/codeql-analysis.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ jobs:
2626

2727
steps:
2828
- name: Checkout repository
29-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
29+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3030
- name: Install go version
31-
uses: actions/setup-go@v5
31+
uses: actions/setup-go@v6
3232
with:
3333
go-version-file: go.mod
3434

.github/workflows/dependency-update.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
if: github.repository == 'kubernetes-sigs/external-dns'
1515
steps:
1616
- name: checkout
17-
uses: actions/checkout@v4.2.2
17+
uses: actions/checkout@v5.0.0
1818
# https://github.com/renovatebot/github-action
1919
- name: self-hosted renovate
20-
uses: renovatebot/github-action@v42.0.6
20+
uses: renovatebot/github-action@v43.0.15
2121
with:
2222
# https://docs.github.com/en/actions/security-for-github-actions/security-guides/automatic-token-authentication
2323
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/docs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ jobs:
1818
name: Release Docs
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
21+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2222
with:
2323
fetch-depth: 0
2424

25-
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
25+
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
2626
with:
2727
python-version: "3.12"
2828
cache: "pip"

.github/workflows/gh-workflow-approve.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
actions: write
1818
steps:
1919
- name: Update PR
20-
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
20+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
2121
continue-on-error: true
2222
with:
2323
github-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/json-yaml-validate.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
json-yaml-validate:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
17+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1818

1919
- name: json-yaml-validate
20-
uses: GrantBirki/json-yaml-validate@v3.2.1 # pin @v3.2.1 bug in 3.3.0: https://github.com/GrantBirki/json-yaml-validate/issues/86
20+
uses: GrantBirki/json-yaml-validate@v3.3.1
2121
with:
2222
# ref: https://github.com/GrantBirki/json-yaml-validate?tab=readme-ov-file#inputs-
2323
comment: "true" # enable comment mode

.github/workflows/lint-test-chart.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ jobs:
2525
shell: bash
2626
steps:
2727
- name: Checkout
28-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
28+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2929
with:
3030
fetch-depth: 0
3131

3232
- name: Install Helm
33-
uses: azure/setup-helm@b9e51907a09c216f16ebe8536097933489208112 # v4.3.0
33+
uses: azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 # v4.3.1
3434
with:
3535
version: latest
3636

@@ -178,7 +178,7 @@ jobs:
178178
run: ah lint --kind helm --path ./charts/external-dns || exit 1
179179

180180
- name: Install Python
181-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
181+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
182182
with:
183183
token: ${{ github.token }}
184184
python-version: "3.x"

.github/workflows/lint.yaml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
steps:
1919

2020
- name: Check out code into the Go module directory
21-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
21+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2222

2323
- name: Lint markdown
2424
uses: nosborn/[email protected]
@@ -27,7 +27,7 @@ jobs:
2727
config_file: ".markdownlint.json"
2828

2929
- name: Set up Go
30-
uses: actions/setup-go@v5
30+
uses: actions/setup-go@v6
3131
with:
3232
go-version-file: go.mod
3333

@@ -48,15 +48,16 @@ jobs:
4848
with:
4949
verify: true
5050
args: --timeout=30m
51-
version: v2.1
51+
version: v2.5
5252

53-
# Run Spectral
53+
# https://github.com/daveshanley/vacuum
5454
- name: Lint OpenAPI spec
55-
uses: stoplightio/spectral-action@577bade2d6e0eeb50528c94182a5588bf961ae8f # v0.8.12
56-
with:
57-
file_glob: 'api/*.yaml'
55+
env:
56+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Increases rate limit from 60 to 5000 requests
57+
run: |
58+
go tool vacuum lint -d --fail-severity warn --show-rules api/*.yaml
5859
59-
- uses: actions/setup-python@v5
60+
- uses: actions/setup-python@v6
6061
# https://github.com/pre-commit/action
6162
- name: Verify with pre-commit
6263
uses: pre-commit/[email protected]

0 commit comments

Comments
 (0)