Adds --show-workload-identity boolean flag for astro deployment inspect command to fetch the workload identity value set for the deployment
Returns the workload identity set for the deployment when running astro deployment create --deployment-file <deployment-file>. In this case, the field value would be populated without any new flag exposed for the astro deployment create command.
🎟 Issue(s)
Related #1571
🧪 Functional Testing
Test the astro deployment inspect command (with and without the show-workload-identity flag) against a deployment using the default workload identity
Test the astro deployment inspect command (with and without the show-workload-identity flag) against a deployment using custom workload identity
Test the astro deployment create --deployment-file command with a deployment file containing custom workload identity.
Test the astro deployment create --deployment-file command with a deployment file containing an empty string as workload identity.
📸 Screenshots
Add screenshots to illustrate the validity of these changes.
📋 Checklist
[x] Rebased from the main (or release if patching) branch (before testing)
Description
Changes:
--show-workload-identity
boolean flag forastro deployment inspect
command to fetch the workload identity value set for the deploymentastro deployment create --deployment-file <deployment-file>
. In this case, the field value would be populated without any new flag exposed for theastro deployment create
command.🎟 Issue(s)
Related #1571
🧪 Functional Testing
Test the
astro deployment inspect
command (with and without theshow-workload-identity
flag) against a deployment using the default workload identityTest the
astro deployment inspect
command (with and without theshow-workload-identity
flag) against a deployment using custom workload identityTest the
astro deployment create --deployment-file
command with a deployment file containing custom workload identity.Test the
astro deployment create --deployment-file
command with a deployment file containing an empty string as workload identity.📸 Screenshots
📋 Checklist
make test
before taking out of draftmake lint
before taking out of draft