For apply / replace configMap I need to run two kubectl commands in the following way:
kubectl create configmap sb-products-files --from-file=configmap_files/ \
-o yaml --dry-run=client | kubectl replace --namespace=myNamespace -f -
Basically, I need to run one command, and it's output send as input to another command.
Is there any way to accomplish it in bitbucket pipeline?