Repository navigation
feat: publish Spamhaus text feeds - #4900
Merged
Merged
Conversation
@@ (root level) @@
# gateway.networking.k8s.io/v1/HTTPRoute/network/spamhaus-public
! + one document added:
+ apiVersion: gateway.networking.k8s.io/v1
+ kind: HTTPRoute
+ metadata:
+ name: spamhaus-public
+ namespace: network
+ labels:
+ kustomize.toolkit.fluxcd.io/name: spamhaus
+ kustomize.toolkit.fluxcd.io/namespace: flux-system
+ spec:
+ hostnames:
+ - spamhaus.damacus.io
+ parentRefs:
+ - name: traefik-internal
+ namespace: network
+ sectionName: websecure
+ rules:
+ - backendRefs:
+ - name: spamhaus-http
+ port: 8080
+ matches:
+ - method: GET
+ path:
+ type: Exact
+ value: /current/drop_v4.txt
+ - method: GET
+ path:
+ type: Exact
+ value: /current/drop_v6.txt
+ - method: HEAD
+ path:
+ type: Exact
+ value: /current/drop_v4.txt
+ - method: HEAD
+ path:
+ type: Exact
+ value: /current/drop_v6.txt
|
| apiVersion: gateway.networking.k8s.io/v1 | ||
| kind: HTTPRoute | ||
| metadata: | ||
| name: spamhaus-public |
Contributor
There was a problem hiding this comment.
🔍 Public route survives a Git revert
Reverting the PR leaves spamhaus-public live because the Spamhaus Kustomization disables pruning. With wildcard tunnel routing unchanged, withdrawing the feeds requires deleting the route separately.
Was this helpful? React with 👍 or 👎 to provide feedback.
Comment on lines
+139
to
+141
| hostnames: [spamhaus.damacus.io] | ||
| parentRefs: | ||
| - {name: traefik-internal, namespace: network, sectionName: websecure} |
Contributor
There was a problem hiding this comment.
🔍 Public feed outages bypass existing alerts
If DNS, Cloudflare, or the public route fails, SpamhausFeedUnavailable can stay quiet. The ServiceMonitor scrapes the backend directly, bypassing all three.
Was this helpful? React with 👍 or 👎 to provide feedback.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
UniFi rejects dynamic list URLs that resolve to private addresses. Expose the two generated IPv4 and IPv6 text feeds at
spamhaus.damacus.iothrough the existing Cloudflare tunnel. The route matches only those two paths with GET or HEAD. JSON feeds and metrics remain on the internal hostname.The manifests render and pass local schema validation. Docker Desktop has no Gateway API controller. After deployment, confirm both public files match the internal feeds and that JSON and metrics return 404. Verify the initial import and a refresh for both UniFi lists before enabling firewall rules.