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

Automatically add port for backup and restore #1985

Merged
merged 2 commits into from
Apr 12, 2024

Conversation

nicmorales9
Copy link
Contributor

@nicmorales9 nicmorales9 commented Apr 11, 2024

Description

This PR adds a default port, 443 unless secure_connection is set to 0 (in which case, it will default to port 80) as described here https://apple.github.io/foundationdb/backups.html#backup-urls
As described in the issue, a port is required by FDB backup/restore, so this should not be breaking.

Solves #1240

Type of change

Depends who you ask

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Discussion

Are there any design details that you would like to discuss further?

Testing

Please describe the tests that you ran to verify your changes. Unit tests?
Manual testing?

Unit tests

Do we need to perform additional testing once this is merged, or perform in a larger testing environment?
Unsure

Documentation

Did you update relevant documentation within this repository?
I believe so

If this change is adding new functionality, do we need to describe it in our user manual?
No?

Follow-up

Are there any follow-up issues that we should pursue in the future?

Does this introduce new defaults that we should re-evaluate in the future?
I do not think they are of concern

@foundationdb-ci
Copy link

Result of fdb-kubernetes-operator-pr on Linux CentOS 7

  • Commit ID: 59cf7b5
  • Duration 2:19:32
  • Result: ✅ SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

Copy link
Member

@johscheuer johscheuer left a comment

Choose a reason for hiding this comment

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

Can we update the docs for backups: https://github.com/FoundationDB/fdb-kubernetes-operator/blob/main/docs/manual/backup.md with the new behaviour?

api/v1beta2/foundationdbbackup_types.go Outdated Show resolved Hide resolved
Copy link
Member

@johscheuer johscheuer left a comment

Choose a reason for hiding this comment

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

LGTM 👍 Thanks!

@johscheuer
Copy link
Member

Merging as the e2e tests are not covering the backup setup yet.

@johscheuer johscheuer merged commit 780c171 into FoundationDB:main Apr 12, 2024
7 of 8 checks passed
@foundationdb-ci
Copy link

Result of fdb-kubernetes-operator-pr on Linux CentOS 7

  • Commit ID: 3d342bf
  • Duration 2:21:25
  • Result: ✅ SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

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.

None yet

3 participants