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

fix(vault): make it possible to use vault references in declarative config #11843

Merged
merged 2 commits into from
Oct 25, 2023

Conversation

bungle
Copy link
Member

@bungle bungle commented Oct 25, 2023

Summary

Warmup cache on init where we have Lua coroutines available so that it won't happen on init_worker where we don't have them (and cannot use e.g. lua-resty-http).

See KAG-2620 and FTI-5080.

@bungle bungle requested a review from samugi October 25, 2023 12:23
@bungle bungle added this to the 3.5.0 milestone Oct 25, 2023
@bungle bungle force-pushed the fix/vault-dbless-warmup branch from 4492aea to fdc469c Compare October 25, 2023 13:08
@pull-request-size pull-request-size bot added size/L and removed size/S labels Oct 25, 2023
…onfig

### Summary

Warmup cache on `init` where we have Lua `coroutines` available so that
it won't happen on `init_worker` where we don't have them (and cannot use
e.g. lua-resty-http).

See KAG-2620 and FTI-5080.

Signed-off-by: Aapo Talvensaari <[email protected]>
@bungle bungle force-pushed the fix/vault-dbless-warmup branch from fdc469c to 8b147d2 Compare October 25, 2023 13:21
@bungle bungle merged commit 12324a1 into master Oct 25, 2023
23 checks passed
@bungle bungle deleted the fix/vault-dbless-warmup branch October 25, 2023 14:47
team-gateway-bot pushed a commit that referenced this pull request Oct 25, 2023
…onfig (#11843)

### Summary

Warmup cache on `init` where we have Lua `coroutines` available so that
it won't happen on `init_worker` where we don't have them (and cannot use
e.g. lua-resty-http).

See KAG-2620 and FTI-5080.

Signed-off-by: Aapo Talvensaari <[email protected]>

* Update spec/02-integration/02-cmd/02-start_stop_spec.lua

---------

Signed-off-by: Aapo Talvensaari <[email protected]>
Co-authored-by: Samuele <[email protected]>
(cherry picked from commit 12324a1)
bungle added a commit that referenced this pull request Oct 25, 2023
…onfig (#11843)

### Summary

Warmup cache on `init` where we have Lua `coroutines` available so that
it won't happen on `init_worker` where we don't have them (and cannot use
e.g. lua-resty-http).

See KAG-2620 and FTI-5080.

Signed-off-by: Aapo Talvensaari <[email protected]>

* Update spec/02-integration/02-cmd/02-start_stop_spec.lua

---------

Signed-off-by: Aapo Talvensaari <[email protected]>
Co-authored-by: Samuele <[email protected]>
(cherry picked from commit 12324a1)
@team-gateway-bot
Copy link
Collaborator

The backport to release/3.4.x failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-release/3.4.x release/3.4.x
# Navigate to the new working tree
cd .worktrees/backport-release/3.4.x
# Create a new branch
git switch --create backport-11843-to-release/3.4.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 12324a16ab1a9d53a14db3db4af87e3a9aaa4d0c
# Push it to GitHub
git push --set-upstream origin backport-11843-to-release/3.4.x
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-release/3.4.x

Then, create a pull request where the base branch is release/3.4.x and the compare/head branch is backport-11843-to-release/3.4.x.

bungle added a commit that referenced this pull request Nov 30, 2023
…onfig (#11843)

Warmup cache on `init` where we have Lua `coroutines` available so that
it won't happen on `init_worker` where we don't have them (and cannot use
e.g. lua-resty-http).

See KAG-2620 and FTI-5080.

Signed-off-by: Aapo Talvensaari <[email protected]>

* Update spec/02-integration/02-cmd/02-start_stop_spec.lua

---------

Signed-off-by: Aapo Talvensaari <[email protected]>
Co-authored-by: Samuele <[email protected]>
Signed-off-by: Aapo Talvensaari <[email protected]>
bungle added a commit that referenced this pull request Dec 4, 2023
…onfig (#11843)

Warmup cache on `init` where we have Lua `coroutines` available so that
it won't happen on `init_worker` where we don't have them (and cannot use
e.g. lua-resty-http).

See KAG-2620 and FTI-5080.

Signed-off-by: Aapo Talvensaari <[email protected]>

* Update spec/02-integration/02-cmd/02-start_stop_spec.lua

---------

Signed-off-by: Aapo Talvensaari <[email protected]>
Co-authored-by: Samuele <[email protected]>
Signed-off-by: Aapo Talvensaari <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants