Skip to content

chore(backendPvcTimeout): option to configure BackendPvcTimeout using env Var#84

Merged
mittachaitu merged 4 commits intoopenebs-archive:developfrom
mynktl:backend_pvc_timeout
Aug 13, 2021
Merged

chore(backendPvcTimeout): option to configure BackendPvcTimeout using env Var#84
mittachaitu merged 4 commits intoopenebs-archive:developfrom
mynktl:backend_pvc_timeout

Conversation

@mynktl
Copy link
Copy Markdown
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:

mayank added 3 commits August 9, 2021 19:41
… OPENEBS_IO_NFS_SERVER_BACKEND_PVC_TIMEOUT

Signed-off-by: mayank <mayank.patel@mayadata.io>
Signed-off-by: mayank <mayank.patel@mayadata.io>
Signed-off-by: mayank <mayank.patel@mayadata.io>
@mynktl mynktl marked this pull request as ready for review August 9, 2021 16:40
@mynktl mynktl requested review from kmova and mittachaitu August 12, 2021 11:26
# 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
Copy Markdown
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
Copy Markdown
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

Signed-off-by: mayank <mayank.patel@mayadata.io>
@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
Copy Markdown

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
Copy Markdown
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