Skip to content

Commit

Permalink
setResponseHeaders: fix typo (pomerium#601)
Browse files Browse the repository at this point in the history
  • Loading branch information
wasaga authored Apr 20, 2023
1 parent b354fe1 commit 22d6054
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
4 changes: 2 additions & 2 deletions apis/ingress/v1/pomerium_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 <a href="https://www.pomerium.com/docs/reference/#set-request-headers">Set Request Headers</a>
// See <a href="https://www.pomerium.com/docs/reference/set-response-headers">Set Response Headers</a>
SetResponseHeaders map[string]string `json:"setResponseHeaders,omitempty"`
}

Expand Down
7 changes: 4 additions & 3 deletions config/crd/bases/ingress.pomerium.io_pomerium.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <a href="https://www.pomerium.com/docs/reference/#set-request-headers">Set
Request Headers</a>
description: SetResponseHeaders specifies a mapping of HTTP Header
to be added globally to all managed routes and pomerium's authenticate
service. See <a href="https://www.pomerium.com/docs/reference/set-response-headers">Set
Response Headers</a>
type: object
storage:
description: Storage defines persistent storage for sessions and other
Expand Down
7 changes: 4 additions & 3 deletions deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <a href="https://www.pomerium.com/docs/reference/#set-request-headers">Set
Request Headers</a>
description: SetResponseHeaders specifies a mapping of HTTP Header
to be added globally to all managed routes and pomerium's authenticate
service. See <a href="https://www.pomerium.com/docs/reference/set-response-headers">Set
Response Headers</a>
type: object
storage:
description: Storage defines persistent storage for sessions and other
Expand Down

0 comments on commit 22d6054

Please sign in to comment.