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

chore(api): remove MaxWsConnections #742

Merged
merged 3 commits into from
Mar 5, 2024

Conversation

mwangggg
Copy link
Member

Welcome to Cryostat! 👋

Before contributing, make sure you have:

  • Read the contributing guidelines
  • Linked a relevant issue which this PR resolves
  • Linked any other relevant issues, PR's, or documentation, if any
  • Resolved all conflicts, if any
  • Rebased your branch PR on top of the latest upstream main branch
  • Attached at least one of the following labels to the PR: [chore, ci, docs, feat, fix, test]
  • Signed all commits: git commit -S -m "YOUR_COMMIT_MESSAGE"

Fixes: #729

@mwangggg mwangggg added chore Refactor, rename, cleanup, etc. breaking change This change (potentially) breaks API compatibility and requires corresponding changes elsewhere safe-to-test labels Feb 27, 2024
@mwangggg mwangggg requested review from ebaron and andrewazores and removed request for ebaron February 27, 2024 22:11
@mwangggg mwangggg force-pushed the 729-remove-MaxWsConnections branch from 74c1aad to df885d7 Compare February 27, 2024 22:15
@mwangggg
Copy link
Member Author

/build_test

@mwangggg
Copy link
Member Author

mwangggg commented Feb 28, 2024

just realized that this may be subject to change according to #727. I can put in a dependency on it if we want to wait for that PR to be merged first.

@mwangggg
Copy link
Member Author

@andrewazores
Copy link
Member

I think it makes sense for this to be merged into the cryostat3 branch along with the other changes Josh is currently working on.

// +optional
// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Max WebSocket Connections",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:number"}
// +kubebuilder:validation:Minimum=1
MaxWsConnections int32 `json:"maxWsConnections,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 guess maybe this should be kept in the v1beta1 spec so that it doesn't break API compatibility, but the value would actually just be ignored by the implementation and not handled on upgrades to v1beta2.

@mwangggg mwangggg force-pushed the 729-remove-MaxWsConnections branch from 81b028a to 3362bb9 Compare February 29, 2024 19:34
@mwangggg mwangggg force-pushed the 729-remove-MaxWsConnections branch from 3362bb9 to 66b19e9 Compare February 29, 2024 19:46
Copy link
Member

@ebaron ebaron left a comment

Choose a reason for hiding this comment

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

Looks good, thanks @mwangggg!

@ebaron ebaron merged commit 46c70ce into cryostatio:cryostat3 Mar 5, 2024
5 checks passed
@mwangggg mwangggg deleted the 729-remove-MaxWsConnections branch March 12, 2024 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change This change (potentially) breaks API compatibility and requires corresponding changes elsewhere chore Refactor, rename, cleanup, etc. safe-to-test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants