diff --git a/docs/content/slides/pack-your-bags-msp/index.md b/docs/content/slides/pack-your-bags-msp/index.md index 646bab6d9..c569283c5 100644 --- a/docs/content/slides/pack-your-bags-msp/index.md +++ b/docs/content/slides/pack-your-bags-msp/index.md @@ -1071,7 +1071,7 @@ $ porter bundle show Outputs: ------------------------------------------------------------------------------------------- - Name Type Value (Path if sensitive) + Name Type Value ------------------------------------------------------------------------------------------- STORAGE_ACCOUNT_KEY string JKb9C+J+nFtGrDyBW4Y0zaIK5hzIvi2gW3SfnmnkcunyXSYV3HucQGNIo... ``` diff --git a/pkg/porter/outputs.go b/pkg/porter/outputs.go index 404bf9744..ee1fc68a6 100644 --- a/pkg/porter/outputs.go +++ b/pkg/porter/outputs.go @@ -124,10 +124,6 @@ func (p *Porter) ListBundleOutputs(c claim.Claim, format printer.Format) []Displ } do.Definition = *def - if def.WriteOnly != nil && *def.WriteOnly { - valueStr = output.Path - } - outputType, _, err := def.GetType() if err != nil { // Do not have the entire listing fail because of one output type error diff --git a/pkg/porter/show_test.go b/pkg/porter/show_test.go index 6b2ef0025..585c8953c 100644 --- a/pkg/porter/show_test.go +++ b/pkg/porter/show_test.go @@ -75,13 +75,12 @@ Last Action: install Last Status: success Outputs: ------------------------------- - Name Type Value ------------------------------- - bar string bar-output - foo string /path/to/foo +---------------------------- + Name Type Value +---------------------------- + bar string bar-output + foo string foo-output ` - gotOutput := p.TestConfig.TestContext.GetOutput() require.Equal(t, wantOutput, gotOutput) } diff --git a/workshop/porter-tf-aci/azure/README.md b/workshop/porter-tf-aci/azure/README.md index 0aedf8e7e..d1aa9e095 100644 --- a/workshop/porter-tf-aci/azure/README.md +++ b/workshop/porter-tf-aci/azure/README.md @@ -70,9 +70,9 @@ Copy these values and move on to setting up your environment variables. You'll need the following Service Principal information, along with an Azure Subscription ID: -* Client ID (also called AppId) -* Client Secret (also called Password) -* Tenant Id (also called Tenant) +- Client ID (also called AppId) +- Client Secret (also called Password) +- Tenant Id (also called Tenant) These will need to be in a set of environment variables for use in generating a CNAB credential set. Set them like this: @@ -120,10 +120,10 @@ Last Status: success Outputs: ----------------------------------------------- - Name Type Value (Path if sensitive) + Name Type Value ----------------------------------------------- IP_ADDRESS string 40.88.49.175 - STORAGE_ACCOUNT_KEY string /cnab/app/outputs/STORAGE_ACCOUNT_KEY + STORAGE_ACCOUNT_KEY string ``` Note that sensitive outputs (`STORAGE_ACCOUNT_KEY` in this example) are replaced by their runtime path @@ -136,4 +136,4 @@ $ curl http://20.42.26.66:8080 Hello, I'm a webserver that connects to jrrserver981.mysql.database.azure.com ``` -You'll want to replace that IP address with what is shown in the output. \ No newline at end of file +You'll want to replace that IP address with what is shown in the output.