Skip to content

Commit

Permalink
Merge pull request #2741 from sunjayBhatia/backendtlspolicy-wellknown…
Browse files Browse the repository at this point in the history
…-system-impl-specific

Move BackendTLSPolicy WellKnownCACerts field to implementation-specific
  • Loading branch information
k8s-ci-robot authored Feb 22, 2024
2 parents 8e9525b + d7ccab6 commit e854f36
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
10 changes: 7 additions & 3 deletions apis/v1alpha2/backendtlspolicy_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ type BackendTLSPolicyConfig struct {
// If CACertRefs is empty or unspecified, then WellKnownCACerts must be
// specified. Only one of CACertRefs or WellKnownCACerts may be specified,
// not both. If CACertRefs is empty or unspecified, the configuration for
// WellKnownCACerts MUST be honored instead.
// WellKnownCACerts MUST be honored instead if supported by the
// implementation.
//
// References to a resource in a different namespace are invalid for the
// moment, although we will revisit this in the future.
Expand All @@ -109,9 +110,12 @@ type BackendTLSPolicyConfig struct {
//
// If WellKnownCACerts is unspecified or empty (""), then CACertRefs must be
// specified with at least one entry for a valid configuration. Only one of
// CACertRefs or WellKnownCACerts may be specified, not both.
// CACertRefs or WellKnownCACerts may be specified, not both. If an
// implementation does not support the WellKnownCACerts field or the value
// supplied is not supported, the Status Conditions on the Policy MUST be
// updated to include an Accepted: False Condition with Reason: Invalid.
//
// Support: Core for "System"
// Support: Implementation-specific
//
// +optional
WellKnownCACerts *WellKnownCACertType `json:"wellKnownCACerts,omitempty"`
Expand Down

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

0 comments on commit e854f36

Please sign in to comment.