-
Notifications
You must be signed in to change notification settings - Fork 373
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
[Windows] Check if importing certificate is needed #1963
Conversation
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.
Do the installation instructions in https://github.com/vmware-tanzu/antrea/blob/main/docs/windows.md need to be updated?
ef06f7d
to
0479dde
Compare
Codecov Report
@@ Coverage Diff @@
## main #1963 +/- ##
==========================================
- Coverage 64.35% 59.69% -4.66%
==========================================
Files 193 197 +4
Lines 16967 17217 +250
==========================================
- Hits 10919 10278 -641
- Misses 4899 5837 +938
+ Partials 1149 1102 -47
Flags with carried forward coverage won't be shown. Click here to find out more.
|
docs/windows.md
Outdated
script to install the OVS driver and register userspace binaries as services. | ||
script `Install-OVS.ps1` to install the OVS driver and register userspace binaries | ||
as services. You can set `-ImportCertificate` option of `Install-OVS.ps1` to $false | ||
if you have a signed OVS package. |
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.
if you have a signed OVS package.
does that imply signed by a valid certificated authority? Does it make sense to provide -ImportCertificate $false
, and still enable test-signing mode as described below?
Maybe we should separate this information into 2 different sections. "Test-only installation" and "Production installation" (for folks with their own signed OVS package).
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.
Indeed.
I didn't separate into 2 sections since they share many. But I still mentioned the difference (test-only and production) and I think it is enough for users to distinguish. PTAL.
0479dde
to
e2768e7
Compare
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.
some nits, I think it is better now
docs/windows.md
Outdated
script to install the OVS driver and register userspace binaries as services. | ||
script `Install-OVS.ps1` to install the OVS driver and register userspace binaries | ||
as services. If you want to use your own signed OVS package for production, you can | ||
run `Install-OVS.ps1` like this: `Install-OVS.ps1 -ImportCertificate $false -Local -LocalFile <PathToOVSPackage>` |
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.
nit: for the full command use a code block with a powershell
code specifier
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.
Updated.
e2768e7
to
c4e06d3
Compare
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.
This change includes a doc and install-ovs script. The script is verified by job "jenkins-windows-ovs" and the build is successful. |
c4e06d3
to
b3b7bc4
Compare
@antoninbas could you please approve again? I didn't realize there was a "docs and spelling" mistake that "Fenced code blocks should be surrounded by blank lines" /skip-all |
"s/check If importing/check if importing" in PR title |
* Added a new option "ImportCertificate" to decide if certificate is needed. Default is true * Simplified certificate addition with command "Import-Certificate"
b3b7bc4
to
8480199
Compare
Updated. /skip-all |
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
* Added a new option "ImportCertificate" to decide if certificate is needed. Default is true * Simplified certificate addition with command "Import-Certificate"
Default is true