You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
add --function-endpoint-suffix flag for custom function DNS
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>
Copy file name to clipboardExpand all lines: cmd/crossplane/core/core.go
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -107,7 +107,8 @@ type startCommand struct {
107
107
108
108
XpkgCacheDirstring`aliases:"cache-dir" default:"/cache/xpkg" env:"XPKG_CACHE_DIR,CACHE_DIR" help:"Directory used for caching package images." short:"c"`
109
109
110
-
PackageRuntimestring`default:"Deployment" env:"PACKAGE_RUNTIME" help:"The package runtime to use for packages with a runtime (e.g. Providers and Functions)" placeholder:"runtime | runtime1=package1;runtime2=package2"`
110
+
PackageRuntimestring`default:"Deployment" env:"PACKAGE_RUNTIME" help:"The package runtime to use for packages with a runtime (e.g. Providers and Functions)" placeholder:"runtime | runtime1=package1;runtime2=package2"`
111
+
FunctionEndpointSuffixstring`env:"FUNCTION_ENDPOINT_SUFFIX" help:"DNS suffix appended to function service endpoints."`
111
112
112
113
SyncInterval time.Duration`default:"1h" help:"How often all resources will be double-checked for drift from the desired state." short:"s"`
113
114
PollInterval time.Duration`default:"1m" help:"How often individual resources will be checked for drift from the desired state."`
WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name), o.EventFilterFunctions...)), //nolint:staticcheck // TODO(adamwg) Update crossplane-runtime to the new events API.
0 commit comments