-
Notifications
You must be signed in to change notification settings - Fork 41
Improve vault tunnel creation #288
Improve vault tunnel creation #288
Conversation
41c8ef6 to
439057b
Compare
…ing when creating Vault tunnels
439057b to
50183e9
Compare
pkg/tarmak/vault/vault.go
Outdated
| return | ||
| } | ||
|
|
||
| if health.Standby == false && health.Sealed == false { |
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.
Maybe we have to check here for health.Initialized
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.
agreed
pkg/tarmak/vault/vault.go
Outdated
| VaultStateUnsealed | ||
| VaultStateUnintialised | ||
| VaultStateErr | ||
| vaultTunnelCreationTimeoutSeconds = 5 |
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.
Please test multi/single cluster E2E, I am not too sure if that is a good value
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.
It worked fine with 5, but have upped it to 10 to be safe
|
/assign @dippynark @dippynark what is your feeling about my comments? |
42032bf to
d0a470b
Compare
|
Thanks luke for tracking this down /lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: simonswine 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 |
…101-#287-#288-#293-#285-#299-#301-#304-#267-#305-#306-#326-#323-#322-#327-#330-#329-#346-#338-#313-#300-#296-#347-#295-#344-#235-#361-#365-#345-#343-#325-#336-#321-#371-#364-#378-origin-release-0.4 Automated cherry pick of #247 #101 #287 #288 #293 #285 #299 #301 #304 #267 #305 #306 #326 #323 #322 #327 #330 #329 #346 #338 #313 #300 #296 #347 #295 #344 #235 #361 #365 #345 #343 #325 #336 #321 #371 #364 #378
This PR fixes the following:
-Nflag, which shouldn't be used as we are running a remote command (/bin/true)