Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

What is the correct 'LABELS' syntax in atlassian/aws-eks-kubectl-run pipe?

What is the right way to add a 'LABELS' array with more than one entry in pipe?

It fails with the following syntax:

- "{'':\"$BITBUCKET_TAG\"}"
- "{'':\"$BITBUCKET_COMMIT\"}"

2 answers

1 vote

Hi @Saurabh Singh  @Brad Vrabete 

Thank you for your question!

Yep, there was a bug in the pipe with LABELS array and now it is fixed.

A new version of the aws-eks-kubectl-run pipe released:

  - pipe: atlassian/aws-eks-kubectl-run:1.4.1
      CLUSTER_NAME: 'my-kube-cluster'
      KUBECTL_COMMAND: 'apply'
      RESOURCE_PATH: 'nginx.yml'
        - 'environment=production'
        - 'tier=backend'


Key=value pairs that are attached to a Deployment. Labels are intended to be used to specify identifying attributes of objects. Valid labels must follow Syntax and character set. Format: key=value. Example:

It would be nice if you provide us with more details about your experience with the aws-eks-kubectl-run pipe.



@Oleksandr Kyrdan Indeed that change solves the issue; I was able to successfully add labels in the way you have described. 

The syntax 

- "''="$BITBUCKET_TAG\"" does not work either

What is the correct syntax for adding custom labels for this pipe?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket Pipelines

What We Learned When We Researched Open Source Vulnerabilities in 7 Popular Coding Languages

...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...

1,327 views 0 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you