-
Notifications
You must be signed in to change notification settings - Fork 4
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 rsync client and another constructor for rsync server #14
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alaypatel07 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
9267845
to
fdf0c4b
Compare
fdf0c4b
to
5b5c837
Compare
0a9737b
to
dda64c6
Compare
Signed-off-by: Alay Patel <[email protected]>
Signed-off-by: Alay Patel <[email protected]>
This avoid defaulting bools to a value if unused. Signed-off-by: Alay Patel <[email protected]>
dda64c6
to
02b3cf9
Compare
- refactor if condition for len of containerStatuses - store rsync password in secret - drop get from get* methods - use more constants Signed-off-by: Alay Patel <[email protected]>
6de3205
to
6ff5ca4
Compare
Signed-off-by: Alay Patel <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
@@ -254,6 +303,12 @@ func NewServer(ctx context.Context, c client.Client, logger logr.Logger, | |||
namespace = pvcList.Namespaces()[0] | |||
} | |||
|
|||
if podOptions.SCCName == nil || (podOptions.SCCName != nil && *podOptions.SCCName == "") { | |||
//TODO: raise a warning event |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure whether this would be a warning or not... If you're not on OpenShift, lack of an SCC name doesn't matter.
Describe what this PR does
This PR adds Rsync client implementations
Is there anything that requires special attention?
This depends on changes in #13
Related issues:
the second half of #12