Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API for client cert #2984

Closed
wants to merge 17 commits into from
Closed
6 changes: 6 additions & 0 deletions api/v1alpha1/envoyproxy_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ package v1alpha1

import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
gwapiv1 "sigs.k8s.io/gateway-api/apis/v1"
)

const (
Expand Down Expand Up @@ -86,6 +87,11 @@ type EnvoyProxySpec struct {
//
// +optional
Shutdown *ShutdownConfig `json:"shutdown,omitempty"`

// ClientCertRef defines the reference to a Kubernetes Secret that contains
// the client certificate and private key for Envoy to use when connecting to
// backend services and external services, such as ExtAuth, ALS, OpenTelemetry, etc.
ClientCertRef *gwapiv1.SecretObjectReference `json:"clientCertRef,omitempty"`
zhaohuabing marked this conversation as resolved.
Show resolved Hide resolved
zhaohuabing marked this conversation as resolved.
Show resolved Hide resolved
}

type ProxyTelemetry struct {
Expand Down
Loading