summaryrefslogtreecommitdiff
path: root/changelogs/unreleased/63507-fix-race-condition-fetching-token.yml
diff options
context:
space:
mode:
authorDylan Griffith <dyl.griffith@gmail.com>2019-06-21 15:13:54 +1000
committerDylan Griffith <dyl.griffith@gmail.com>2019-06-21 16:36:34 +1000
commit4855667dad5d1ff61725bebf0683f0491bffc87c (patch)
tree3b9b91f386c815ae6124480d52d756574abc2ca7 /changelogs/unreleased/63507-fix-race-condition-fetching-token.yml
parent148516ba36855095fa995c2d4e8077919cdb6db6 (diff)
downloadgitlab-ce-4855667dad5d1ff61725bebf0683f0491bffc87c.tar.gz
Retry fetching Kubernetes Secret token
Since Kubernetes is creating the Secret and token asynchronously it is necessary that we implement some delay or retrying logic to avoid a race condition where we fetch a Secret before the token is even set. There does not appear to be any way for us to force it to be set with any synchronous API call so retrying seems to be the only option.
Diffstat (limited to 'changelogs/unreleased/63507-fix-race-condition-fetching-token.yml')
-rw-r--r--changelogs/unreleased/63507-fix-race-condition-fetching-token.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/changelogs/unreleased/63507-fix-race-condition-fetching-token.yml b/changelogs/unreleased/63507-fix-race-condition-fetching-token.yml
new file mode 100644
index 00000000000..7f2b59fc9eb
--- /dev/null
+++ b/changelogs/unreleased/63507-fix-race-condition-fetching-token.yml
@@ -0,0 +1,5 @@
+---
+title: Retry fetching Kubernetes Secret#token (#63507)
+merge_request: 29922
+author:
+type: fixed