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

Generate webhook cert with 180 days validity #2514

Conversation

divyenpatel
Copy link
Member

What this PR does / why we need it:
Webhook certificate validity is just 1 month.
Increasing validity to 180 days considering 1 month is very short for cert rotation.

Testing done:
Verified certificate validity after re-deploying webhook with updated script.

Special notes for your reviewer:

Release note:

Generate webhook cert with 180 days validity

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Aug 25, 2023
@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Aug 25, 2023
@deepakkinni
Copy link
Contributor

/approve
/lgtm

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: deepakkinni, divyenpatel

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:
  • OWNERS [deepakkinni,divyenpatel]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 25, 2023
@k8s-ci-robot k8s-ci-robot merged commit 1c3c212 into kubernetes-sigs:master Aug 25, 2023
8 checks passed
divyenpatel added a commit to divyenpatel/vsphere-csi-driver that referenced this pull request Aug 25, 2023
k8s-ci-robot pushed a commit that referenced this pull request Aug 25, 2023
* generate webhook cert with 180 days validity (#2514)

* Storage policy compatibility should be given higher preference than preferential datastores (#2510)

---------

Co-authored-by: Shalini Bhaskara <sbhaskara@vmware.com>
omniproc added a commit to omniproc/vsphere-csi-driver that referenced this pull request Jan 3, 2024
omniproc added a commit to omniproc/vsphere-csi-driver that referenced this pull request Jan 3, 2024
k8s-ci-robot pushed a commit that referenced this pull request Jan 5, 2024
* Workaround for very short webhook certs.

Extension to PR #2514

* Workaround for very short webhook certs.

Extension to PR #2514

* Fix ShellCheck SC2004

* Fix ShellCheck SC2004
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-3.1.0-candidate size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants