From 58659c7f98f01f477894488b17fd85977f6a313b Mon Sep 17 00:00:00 2001 From: xinyu pang <46143499+Greedygre@users.noreply.github.com> Date: Thu, 17 Oct 2024 11:02:07 +0800 Subject: [PATCH] {Containerapp} Remove secrets (#8152) --- .../test_containerapp_up_private_registry_port.yaml | 6 +++--- ..._containerapp_up_registry_acr_look_up_credentical.yaml | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_up_private_registry_port.yaml b/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_up_private_registry_port.yaml index dc150b4c589..77160d474b9 100644 --- a/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_up_private_registry_port.yaml +++ b/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_up_private_registry_port.yaml @@ -3442,7 +3442,7 @@ interactions: body: '{"location": "East US", "identity": {"type": "None", "userAssignedIdentities": null}, "properties": {"environmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/client.env_rg_eastus/providers/Microsoft.App/managedEnvironments/env-eastus", "configuration": {"secrets": [{"name": "acr000003azurecrio-443-acr000003", "value": - "s4A7+BxbBggvsudEOEw9e+3CFrqhbxRw/J684ou4VS+ACRCNN3no"}], "activeRevisionsMode": + "abc123"}], "activeRevisionsMode": "single", "ingress": {"fqdn": null, "external": true, "targetPort": 80, "transport": "auto", "exposedPort": null, "allowInsecure": false, "traffic": null, "customDomains": null, "ipSecurityRestrictions": null, "stickySessions": null}, "dapr": null, @@ -6804,7 +6804,7 @@ interactions: body: '{"location": "East US", "identity": {"type": "None", "userAssignedIdentities": null}, "properties": {"environmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/client.env_rg_eastus/providers/Microsoft.App/managedEnvironments/env-eastus", "configuration": {"secrets": [{"name": "acr000003azurecrio-acr000003", "value": - "s4A7+BxbBggvsudEOEw9e+3CFrqhbxRw/J684ou4VS+ACRCNN3no"}], "activeRevisionsMode": + "abc123"}], "activeRevisionsMode": "single", "ingress": {"fqdn": null, "external": true, "targetPort": 80, "transport": "auto", "exposedPort": null, "allowInsecure": false, "traffic": null, "customDomains": null, "ipSecurityRestrictions": null, "stickySessions": null}, "dapr": null, @@ -10821,7 +10821,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/aca000004/listSecrets?api-version=2024-02-02-preview response: body: - string: '{"value":[{"name":"acr000003azurecrio-acr000003","value":"s4A7+BxbBggvsudEOEw9e+3CFrqhbxRw/J684ou4VS+ACRCNN3no"}]}' + string: '{"value":[{"name":"acr000003azurecrio-acr000003","value":"abc123"}]}' headers: api-supported-versions: - 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, 2023-04-01-preview, diff --git a/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_up_registry_acr_look_up_credentical.yaml b/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_up_registry_acr_look_up_credentical.yaml index 12933cdea59..27cdd7a104a 100644 --- a/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_up_registry_acr_look_up_credentical.yaml +++ b/src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_up_registry_acr_look_up_credentical.yaml @@ -8127,7 +8127,7 @@ interactions: {"ingress": {"external": true, "targetPort": 80}, "registries": [{"server": "acr000003.azurecr.io", "username": "acr000003", "passwordSecretRef": "acr000003azurecrio-acr000003", "identity": null}], "secrets": [{"name": "acr000003azurecrio-acr000003", "value": - "ZYAEQuY3L47k6kJJtWRBvu90GWpOrwL19IwUi2OuoX+ACRBcZUJM"}]}}}' + "abc123"}]}}}' headers: Accept: - '*/*' @@ -11688,7 +11688,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/aca000002/listSecrets?api-version=2024-02-02-preview response: body: - string: '{"value":[{"name":"acr000003azurecrio-acr000003","value":"ZYAEQuY3L47k6kJJtWRBvu90GWpOrwL19IwUi2OuoX+ACRBcZUJM"}]}' + string: '{"value":[{"name":"acr000003azurecrio-acr000003","value":"abc123"}]}' headers: api-supported-versions: - 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, 2023-04-01-preview, @@ -11877,7 +11877,7 @@ interactions: "memory": "1Gi", "ephemeralStorage": "2Gi"}}], "revisionSuffix": null}, "configuration": {"registries": [{"server": "acr000003.azurecr.io", "username": "acr000003", "passwordSecretRef": "acr000003azurecrio-acr000003", "identity": null}], "secrets": - [{"name": "acr000003azurecrio-acr000003", "value": "ZYAEQuY3L47k6kJJtWRBvu90GWpOrwL19IwUi2OuoX+ACRBcZUJM"}]}}}' + [{"name": "acr000003azurecrio-acr000003", "value": "abc123"}]}}}' headers: Accept: - '*/*' @@ -17004,7 +17004,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/aca000002/listSecrets?api-version=2024-02-02-preview response: body: - string: '{"value":[{"name":"acr000003azurecrio-acr000003","value":"ZYAEQuY3L47k6kJJtWRBvu90GWpOrwL19IwUi2OuoX+ACRBcZUJM"}]}' + string: '{"value":[{"name":"acr000003azurecrio-acr000003","value":"abc123"}]}' headers: api-supported-versions: - 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, 2023-04-01-preview,