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(backendPvcTimeout): option to configure BackendPvcTimeout using env Var #84

Merged
merged 4 commits into from
Aug 13, 2021

Conversation

mynktl
Copy link
Contributor

@mynktl mynktl commented Aug 9, 2021

What this PR does?:
This PR adds an option to configure BackendPvcTimeout.

OPENEBS_IO_NFS_SERVER_BACKEND_PVC_TIMEOUT can be set to configure BackendPvcTimeout in nfs-provisioner deployment.

Does this PR require any upgrade changes?:
No

If the changes in this PR are manually verified, list down the scenarios covered::

Checklist:

  • Fixes #
  • PR Title follows the convention of <type>(<scope>): <subject>
  • Has the change log section been updated?
  • Commit has unit tests
  • Commit has integration tests
  • (Optional) Are upgrade changes included in this PR? If not, mention the issue/PR to track:
  • (Optional) If documentation changes are required, which issue on https://github.com/openebs/openebs-docs is used to track them:

@mynktl mynktl marked this pull request as ready for review August 9, 2021 16:40
@mynktl mynktl requested review from mittachaitu and kmova August 12, 2021 11:26
@@ -143,6 +143,9 @@ spec:
# leader election is enabled.
#- name: LEADER_ELECTION_ENABLED
# value: "true"
# Set Timeout for backend PVC to bound, Default value is 60 seconds
#- name: OPENEBS_IO_NFS_SERVER_BACKEND_PVC_TIMEOUT
# value: "120"
Copy link
Collaborator

Choose a reason for hiding this comment

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

n_: set this as 60 to match the default value.

Copy link
Contributor

@mittachaitu mittachaitu left a comment

Choose a reason for hiding this comment

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

comment on a log... rest of the changes looks good to me

provisioner/provisioner.go Outdated Show resolved Hide resolved
@mynktl mynktl force-pushed the backend_pvc_timeout branch from 54bb979 to bf5642f Compare August 13, 2021 05:15
@mynktl mynktl requested a review from mittachaitu August 13, 2021 05:15
@codecov-commenter
Copy link

codecov-commenter commented Aug 13, 2021

Codecov Report

Merging #84 (bf5642f) into develop (185189b) will decrease coverage by 0.13%.
The diff coverage is 8.33%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop      #84      +/-   ##
===========================================
- Coverage    46.99%   46.85%   -0.14%     
===========================================
  Files           29       29              
  Lines         2349     2356       +7     
===========================================
  Hits          1104     1104              
- Misses        1167     1174       +7     
  Partials        78       78              
Impacted Files Coverage Δ
provisioner/env.go 25.00% <0.00%> (-3.58%) ⬇️
provisioner/provisioner.go 0.00% <0.00%> (ø)
provisioner/helper_kernel_nfs_server.go 80.07% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 185189b...bf5642f. Read the comment docs.

Copy link
Contributor

@mittachaitu mittachaitu left a comment

Choose a reason for hiding this comment

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

changes are good

@mittachaitu mittachaitu merged commit 9877349 into openebs-archive:develop Aug 13, 2021
@mynktl mynktl deleted the backend_pvc_timeout branch August 13, 2021 07:09
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