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

feat: export mirror file with tls #4016

Merged
merged 4 commits into from
May 22, 2024
Merged

Conversation

fraidev
Copy link
Contributor

@fraidev fraidev commented May 22, 2024

Example:

fluvio remote register user1 
fluvio remote export user1 --file user1.json --key ~/workspace/infinyon/fluvio/tls/certs/client-user1.key --cert ~/workspace/infinyon/fluvio/tls/certs/client-user1.crt

Copy link
Contributor

@sehz sehz left a comment

Choose a reason for hiding this comment

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

also should have CLI test as well

}
_ => Ok(None),
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

add unit test

Copy link
Contributor Author

Choose a reason for hiding this comment

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

added

@@ -75,4 +75,25 @@ pub struct Home {
pub id: String,
pub remote_id: String,
pub public_endpoint: String,
#[cfg_attr(feature = "use_serde", serde(skip_serializing_if = "Option::is_none"))]
Copy link
Contributor

Choose a reason for hiding this comment

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

probably should be called client_tls

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@@ -46,6 +46,17 @@ spec:
type: string
publicEndpoint:
type: string
tls:
type: object
Copy link
Contributor

Choose a reason for hiding this comment

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

client_tls

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@fraidev fraidev marked this pull request as ready for review May 22, 2024 15:34
@fraidev
Copy link
Contributor Author

fraidev commented May 22, 2024

also should have CLI test as well

end to end with bats files?

Copy link
Contributor

@sehz sehz left a comment

Choose a reason for hiding this comment

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

LGTM

@fraidev fraidev added this pull request to the merge queue May 22, 2024
Merged via the queue into infinyon:master with commit 9bf976d May 22, 2024
103 checks passed
@fraidev fraidev deleted the mirroring_auth_1 branch May 22, 2024 18:19
fraidev added a commit to fraidev/fluvio that referenced this pull request May 23, 2024
* chore: add tls to home metadata

* feat: export mirror file with tls

* test: add unit tests to get tls config export

* test: add cli tests for export mirroring
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.

2 participants