diff --git a/apis/ingress/v1/pomerium_types.go b/apis/ingress/v1/pomerium_types.go
index 224d6ac7..cadda415 100644
--- a/apis/ingress/v1/pomerium_types.go
+++ b/apis/ingress/v1/pomerium_types.go
@@ -287,9 +287,9 @@ type PomeriumSpec struct {
// +optional
JWTClaimHeaders map[string]string `json:"jwtClaimHeaders,omitempty"`
- // SetRequestHeaders sets HTTP headers on the request before sending it to the upstream service.
+ // SetResponseHeaders specifies a mapping of HTTP Header to be added globally to all managed routes and pomerium's authenticate service.
// +optional
- // See Set Request Headers
+ // See Set Response Headers
SetResponseHeaders map[string]string `json:"setResponseHeaders,omitempty"`
}
diff --git a/config/crd/bases/ingress.pomerium.io_pomerium.yaml b/config/crd/bases/ingress.pomerium.io_pomerium.yaml
index 12107908..a2d9a345 100644
--- a/config/crd/bases/ingress.pomerium.io_pomerium.yaml
+++ b/config/crd/bases/ingress.pomerium.io_pomerium.yaml
@@ -212,9 +212,10 @@ spec:
setResponseHeaders:
additionalProperties:
type: string
- description: SetRequestHeaders sets HTTP headers on the request before
- sending it to the upstream service. See Set
- Request Headers
+ description: SetResponseHeaders specifies a mapping of HTTP Header
+ to be added globally to all managed routes and pomerium's authenticate
+ service. See Set
+ Response Headers
type: object
storage:
description: Storage defines persistent storage for sessions and other
diff --git a/deployment.yaml b/deployment.yaml
index 522c764d..b7b46922 100644
--- a/deployment.yaml
+++ b/deployment.yaml
@@ -220,9 +220,10 @@ spec:
setResponseHeaders:
additionalProperties:
type: string
- description: SetRequestHeaders sets HTTP headers on the request before
- sending it to the upstream service. See Set
- Request Headers
+ description: SetResponseHeaders specifies a mapping of HTTP Header
+ to be added globally to all managed routes and pomerium's authenticate
+ service. See Set
+ Response Headers
type: object
storage:
description: Storage defines persistent storage for sessions and other