Skip to content

feat: add subdomain field to HTTPS Upstream spec #16

Description

@cyxou

The UpstreamSpec_HTTP struct has a Subdomain field, but UpstreamSpec_HTTPS only has CustomDomains.

frp itself supports subdomain for both HTTP and HTTPS type proxies (docs). When frps has subdomainHost configured, customDomains cannot overlap with it — the only way to register an HTTPS proxy under subdomainHost is to use subdomain.

This makes the operator's HTTPS upstream unusable with subdomainHost-based FRP servers.

Source: api/v1alpha1/upstream_types.goUpstreamSpec_HTTPS struct needs:

// +optional
Subdomain string `json:"subdomain,omitempty"`

Workaround: Standalone frpc deployment with a manually managed ConfigMap using subdomain for the HTTPS proxy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions