You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add Kubernetes distribution to S3 request user agent (awslabs#717)
*Issue:* N/A
Updated the user-agent logic so we track two things separately:
whether the cluster is OpenShift
how the driver was installed (eks-addon, helm, or kustomize)
*Description of changes:*
Helm now always sets INSTALLATION_TYPE (eks-addon for addon installs,
otherwise helm)
Kustomize sets INSTALLATION_TYPE=kustomize
Driver reads that env var (falls back to unknown if missing)
User-agent format now includes
[install/<method>](vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/workbench/workbench.html)
and openshift when relevant
Related tests were updated
*Testing*
On EKS self-managed, logs show openshift=false, install=helm
By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice.
---------
Signed-off-by: Priyankakarumuru1 <prikaru@amazon.com>
Co-authored-by: Jensen Tong <jetong@amazon.co.uk>
0 commit comments