Skip to content

Add configurable function endpoint DNS suffix#14

Merged
cahillsf merged 1 commit into
v2.2-ddfrom
stephen.cahill/CLOUDR-1422-custom-function-dns
May 5, 2026
Merged

Add configurable function endpoint DNS suffix#14
cahillsf merged 1 commit into
v2.2-ddfrom
stephen.cahill/CLOUDR-1422-custom-function-dns

Conversation

@cahillsf
Copy link
Copy Markdown

@cahillsf cahillsf commented Feb 25, 2026

Based on PR #3

Chain of upstream PRs as of 2026-04-24

Summary

  • Adds --function-endpoint-suffix CLI flag (and FUNCTION_ENDPOINT_SUFFIX env var) to the crossplane core start command
  • When set, function gRPC endpoints use dns:///svc.ns.SUFFIX:port instead of dns:///svc.ns:port
  • The suffixed FQDN is also appended to the TLS certificate SAN list

Test plan

  • go build ./... passes
  • go test ./internal/controller/pkg/runtime/... passes (including new SuccessWithEndpointSuffix test case)
  • Deploy to staging with FUNCTION_ENDPOINT_SUFFIX set and verify FunctionRevision endpoints and TLS SANs

🤖 Generated with Claude Code

@cahillsf cahillsf changed the base branch from main to stephen.cahill/fix-tls-generator February 25, 2026 19:08
@cahillsf cahillsf force-pushed the stephen.cahill/CLOUDR-1422-custom-function-dns branch from cc9eae0 to 28f1a52 Compare February 26, 2026 14:31
@cahillsf cahillsf mentioned this pull request Feb 26, 2026
7 tasks
@cahillsf cahillsf force-pushed the stephen.cahill/fix-tls-generator branch 3 times, most recently from ff4ead9 to b68fcba Compare March 13, 2026 19:44
@cahillsf cahillsf force-pushed the stephen.cahill/CLOUDR-1422-custom-function-dns branch from 28f1a52 to e0d7753 Compare March 16, 2026 13:26
@cahillsf cahillsf force-pushed the stephen.cahill/fix-tls-generator branch 2 times, most recently from 62304b1 to a1314d1 Compare March 16, 2026 18:59
@cahillsf cahillsf force-pushed the stephen.cahill/CLOUDR-1422-custom-function-dns branch from e0d7753 to e9f498b Compare April 21, 2026 14:06
@cahillsf cahillsf force-pushed the stephen.cahill/fix-tls-generator branch from a1314d1 to d5ca3fa Compare April 24, 2026 17:38
Adds a configurable DNS suffix (via CLI flag or FUNCTION_ENDPOINT_SUFFIX
env var) that gets appended to function service endpoints and included
in TLS SANs. This allows function gRPC endpoints to use custom DNS
names instead of the default in-cluster service DNS.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@cahillsf cahillsf force-pushed the stephen.cahill/CLOUDR-1422-custom-function-dns branch from e9f498b to 18ab4a7 Compare April 24, 2026 17:38
Base automatically changed from stephen.cahill/fix-tls-generator to v2.2-dd April 28, 2026 13:36
@cahillsf cahillsf marked this pull request as ready for review May 4, 2026 21:05
@cahillsf
Copy link
Copy Markdown
Author

cahillsf commented May 5, 2026

allows us to use fabric dns (configured like this)

@cahillsf cahillsf merged commit a516223 into v2.2-dd May 5, 2026
3 checks passed
@cahillsf cahillsf deleted the stephen.cahill/CLOUDR-1422-custom-function-dns branch May 5, 2026 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants