The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

aws-eks-kubectl-run returns error on validation

Nate Loiselle
August 15, 2024

I am getting a validation error when trying to the aws-eks-kubectl-run:2.8.0 pipe even when setting the disable_validation flag to true:

Pipe: 

 

- pipe: atlassian/aws-eks-kubectl-run:2.8.0

variables:
AWS_OIDC_ROLE_ARN: $AWS_OIDC_ROLE_ARN
AWS_DEFAULT_REGION: $AWS_DEFAULT_REGION
CLUSTER_NAME: 'CLUSTER_NAME'
KUBECTL_COMMAND: 'apply'
RESOURCE_PATH: 'deployment.yaml'
DISABLE_VALIDATION: 'true'
DEBUG: 'true'




Error: 

error: error validating file: error validating data: failed to download openapi: the server has asked for the client to provide credentials; if you choose to ignore these errors, turn validation off with --validate=false

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Oleksandr Kyrdan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 16, 2024

Hi @Nate Loiselle 

Thanks for your question!

We'll investigate the issue and notify you.

 

Best regards,
Oleksandr Kyrdan

Nate Loiselle
August 16, 2024

Hey all, following up on this.  I was able to resolve this issue by making sure that the OIDC role I am using has an Access Entry in the EKS cluster itself.

While the role had permissions to the cluster, it was not part of the authentication mode.

https://docs.aws.amazon.com/eks/latest/userguide/creating-access-entries.html

Like Igor Stoyanov likes this
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events