omni/internal/backend/workloadproxy/workloadproxy.go
Artem Chernyshev ed946b30a6
feat: display OMNI_ENDPOINT in the service account creation UI
Fixes: https://github.com/siderolabs/omni/issues/858

Signed-off-by: Artem Chernyshev <artem.chernyshev@talos-systems.com>
2025-01-29 15:27:36 +03:00

23 lines
936 B
Go

// Copyright (c) 2025 Sidero Labs, Inc.
//
// Use of this software is governed by the Business Source License
// included in the LICENSE file.
// Package workloadproxy provides functions for proxying traffic to workload clusters.
package workloadproxy
const (
// LegacyHostPrefix is the prefix used to distinguish subdomain requests in the legacy domain format which should be proxied to the workload clusters.
LegacyHostPrefix = "p"
// PublicKeyIDCookie is the name of the cookie used for workload proxy request authentication that contains the public key ID.
//
// tsgen:workloadProxyPublicKeyIdCookie
PublicKeyIDCookie = "publicKeyId"
// PublicKeyIDSignatureBase64Cookie is the name of the cookie used for workload proxy request authentication that contains the signed & base64'd public key ID.
//
// tsgen:workloadProxyPublicKeyIdSignatureBase64Cookie
PublicKeyIDSignatureBase64Cookie = "publicKeyIdSignatureBase64"
)