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

Add DisableSSLSessionResumption field in PostgresVersion CRD #1390

Merged
merged 1 commit into from
Feb 5, 2025

Conversation

souravbiswassanto
Copy link
Member

No description provided.

@souravbiswassanto souravbiswassanto marked this pull request as draft February 4, 2025 11:02
type PostgresVersionTLSSpec struct {
// DisableSSLSessionResumption determines whether to disable or enable Envoy Session Resumption
// +optional
DisableSSLSessionResumption *bool `json:"disableSSLSessionResumption,omitempty"`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we don't need pointer for bool

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes updated. As we are going to have false as default.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and DisableSessionResumption is enough

Signed-off-by: souravbiswassanto <saurov@appscode.com>
@souravbiswassanto souravbiswassanto force-pushed the pg-disable-tls-resumption branch from 81c3b80 to d30f38b Compare February 4, 2025 11:38
@souravbiswassanto souravbiswassanto marked this pull request as ready for review February 5, 2025 05:41
type PostgresVersionTLSSpec struct {
// DisableSSLSessionResumption determines whether to disable or enable Envoy Session Resumption
// +optional
DisableSSLSessionResumption bool `json:"disableSSLSessionResumption,omitempty"`
Copy link

@shiponcs shiponcs Feb 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The convention is to call it "stateful session resumption".
Can we reflect the keyword—"stateful" in this variable name?

ref: rfc5077

@ArnobKumarSaha ArnobKumarSaha merged commit b05f970 into master Feb 5, 2025
11 checks passed
@ArnobKumarSaha ArnobKumarSaha deleted the pg-disable-tls-resumption branch February 5, 2025 09:07
ArnobKumarSaha pushed a commit that referenced this pull request Feb 5, 2025
Signed-off-by: souravbiswassanto <saurov@appscode.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants