Assign jq command to a variable and process the variable in later variables

后端 未结 0 1329
南方客
南方客 2020-11-28 12:07
kubectl get service boss-gateway -n boss-system -o json \\
| jq \' (.metadata.labels.boss, .spec.selector.boss)|="internal-gateway"
| (.metadata.annotation         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题