Hi
Our build process has a Pipe defined that uses `kubectl-run` to update a Deployment with a new image (built in the previous Pipelines step) and to then update labels on that Deployment with version information (the $BITBUCKET_COMMIT ENV).
The Deployment's image is updated correctly but the labels on the Deployment do not change.
There are no errors in the Pipelines log window or within the Pod's event log.
In the Pipelines log output I can see the part of the `docker run` command for `kubectl-run` with the relevant arguments are all correct:
<span>--env=KUBE_CONFIG="$KUBECONFIG_QA" \</span>
<span>--env=LABELS_0="DD_TAGS=version:$BITBUCKET_COMMIT" \</span>
<span>--env=LABELS_1="VERSION=$BITBUCKET_COMMIT" \</span>
<span>--env=LABELS_COUNT="2" \<br>...<br></span><span>...<br>--env=KUBECTL_COMMAND="set image deployment/APPNAME APPNAME=GROUP/IMAGE:$BITBUCKET_COMMIT" \</span>
When I inspect the Deployment the `DD_TAGS` and `VERSION` labels have not been updated.
Is there some additional config that needs to be done within my Pipe to get this to work?
Regards
Andrew