Skip to content

Commit

Permalink
Merge pull request #2159 from chiragkyal/ext-crt
Browse files Browse the repository at this point in the history
OAPE-94: Update API doc for route externalCertificate
  • Loading branch information
openshift-merge-bot[bot] authored Jan 29, 2025
2 parents 7d3599b + a56eff3 commit 107848b
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 3 deletions.
2 changes: 1 addition & 1 deletion openapi/generated_openapi/zz_generated.openapi.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion openapi/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -35687,7 +35687,7 @@
"type": "string"
},
"externalCertificate": {
"description": "externalCertificate provides certificate contents as a secret reference. This should be a single serving certificate, not a certificate chain. Do not include a CA certificate. The secret referenced should be present in the same namespace as that of the Route. Forbidden when `certificate` is set.",
"description": "externalCertificate provides certificate contents as a secret reference. This should be a single serving certificate, not a certificate chain. Do not include a CA certificate. The secret referenced should be present in the same namespace as that of the Route. Forbidden when `certificate` is set. The router service account needs to be granted with read-only access to this secret, please refer to openshift docs for additional details.",
"$ref": "#/definitions/com.github.openshift.api.route.v1.LocalObjectReference"
},
"insecureEdgeTerminationPolicy": {
Expand Down
2 changes: 2 additions & 0 deletions route/v1/generated.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions route/v1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,8 @@ type TLSConfig struct {
// chain. Do not include a CA certificate. The secret referenced should
// be present in the same namespace as that of the Route.
// Forbidden when `certificate` is set.
// The router service account needs to be granted with read-only access to this secret,
// please refer to openshift docs for additional details.
//
// +openshift:enable:FeatureGate=RouteExternalCertificate
// +optional
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,8 @@ spec:
chain. Do not include a CA certificate. The secret referenced should
be present in the same namespace as that of the Route.
Forbidden when `certificate` is set.
The router service account needs to be granted with read-only access to this secret,
please refer to openshift docs for additional details.
properties:
name:
description: |-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,8 @@ spec:
chain. Do not include a CA certificate. The secret referenced should
be present in the same namespace as that of the Route.
Forbidden when `certificate` is set.
The router service account needs to be granted with read-only access to this secret,
please refer to openshift docs for additional details.
properties:
name:
description: |-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,8 @@ spec:
chain. Do not include a CA certificate. The secret referenced should
be present in the same namespace as that of the Route.
Forbidden when `certificate` is set.
The router service account needs to be granted with read-only access to this secret,
please refer to openshift docs for additional details.
properties:
name:
description: |-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,8 @@ spec:
chain. Do not include a CA certificate. The secret referenced should
be present in the same namespace as that of the Route.
Forbidden when `certificate` is set.
The router service account needs to be granted with read-only access to this secret,
please refer to openshift docs for additional details.
properties:
name:
description: |-
Expand Down
2 changes: 1 addition & 1 deletion route/v1/zz_generated.swagger_doc_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 107848b

Please sign in to comment.