-
Notifications
You must be signed in to change notification settings - Fork 25
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 impersonation failure on GKE start pod operator async #1274
Fix impersonation failure on GKE start pod operator async #1274
Conversation
e40bccb
to
9b9ea6a
Compare
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #1274 +/- ##
=======================================
Coverage 98.57% 98.58%
=======================================
Files 91 91
Lines 5404 5428 +24
=======================================
+ Hits 5327 5351 +24
Misses 77 77
☔ View full report in Codecov by Sentry. |
3d53c13
to
7c7181c
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.
can you add more context on why this code change is necessary in the description?
d2986d5
to
dc1bdb2
Compare
d55a242
to
84f2308
Compare
@@ -13,7 +13,7 @@ RUN apt-get install -y --no-install-recommends \ | |||
echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] http://packages.cloud.google.com/apt cloud-sdk main" | tee -a /etc/apt/sources.list.d/google-cloud-sdk.list && \ | |||
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key --keyring /usr/share/keyrings/cloud.google.gpg add - && \ | |||
apt-get update -y && \ | |||
apt-get install google-cloud-sdk -y && \ | |||
apt-get install python3 google-cloud-sdk -y && \ |
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.
Why did we need python3 here? Does it not come with the base image?
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.
Not sure about the base image, but without this. It doesn't work on my local machine
f4e6a0d
to
df411d6
Compare
df411d6
to
6278686
Compare
What's the issue?
The argument
impersonation_chain
does not work. The operator still uses the gcp_conn to start the pod.What's changed
We suspect the issue is due to that the token is not correctly generated. Thus, we try to write this token into kube_config