Skip to content

Commit

Permalink
{Container App} Remove secrets (#30087)
Browse files Browse the repository at this point in the history
  • Loading branch information
Greedygre authored Oct 15, 2024
1 parent 34e8d19 commit df2bb77
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1307,7 +1307,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": "containerapp000004azurecrio-containerapp000004",
"value": "UFgHqafbptbx8nSnJLoyWfoiWBiZxXLIzHuhqeDLIu+ACRBf/yfo"}], "activeRevisionsMode":
"value": "abc123"}], "activeRevisionsMode":
"single", "ingress": null, "dapr": null, "registries": [{"server": "containerapp000004.azurecr.io",
"username": "containerapp000004", "passwordSecretRef": "containerapp000004azurecrio-containerapp000004"}]},
"template": {"revisionSuffix": null, "containers": [{"image": "mcr.microsoft.com/k8se/quickstart:latest",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1307,7 +1307,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": "containerapp000002azurecrio-containerapp000002",
"value": "Z+oYFQDS02ebjgpSV25VU734b4cH8YrQxl3R94iw4C+ACRD666kG"}], "activeRevisionsMode":
"value": "abc123"}], "activeRevisionsMode":
"single", "ingress": null, "dapr": null, "registries": [{"server": "containerapp000002.azurecr.io",
"username": "containerapp000002", "passwordSecretRef": "containerapp000002azurecrio-containerapp000002"}]},
"template": {"revisionSuffix": null, "containers": [{"image": "mcr.microsoft.com/k8se/quickstart:latest",
Expand Down Expand Up @@ -3469,7 +3469,7 @@ interactions:
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp-e2e000003/listSecrets?api-version=2024-03-01
response:
body:
string: '{"value":[{"name":"containerapp000002azurecrio-containerapp000002","value":"Z+oYFQDS02ebjgpSV25VU734b4cH8YrQxl3R94iw4C+ACRD666kG"}]}'
string: '{"value":[{"name":"containerapp000002azurecrio-containerapp000002","value":"abc123"}]}'
headers:
api-supported-versions:
- 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, 2023-04-01-preview,
Expand Down Expand Up @@ -3520,7 +3520,7 @@ interactions:
"containerapp-e2e000003--hknijcb", "latestRevisionFqdn": "", "customDomainVerificationId":
"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00", "configuration":
{"secrets": [{"name": "containerapp000002azurecrio-containerapp000002", "value":
"Z+oYFQDS02ebjgpSV25VU734b4cH8YrQxl3R94iw4C+ACRD666kG"}, {"name": "newsecret",
"abc123"}, {"name": "newsecret",
"value": "test", "keyVaultUrl": "", "identity": ""}], "activeRevisionsMode":
"Single", "ingress": null, "registries": [{"server": "containerapp000002.azurecr.io",
"username": "containerapp000002", "passwordSecretRef": "containerapp000002azurecrio-containerapp000002",
Expand Down Expand Up @@ -4305,7 +4305,7 @@ interactions:
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp-e2e000003/listSecrets?api-version=2024-03-01
response:
body:
string: '{"value":[{"name":"containerapp000002azurecrio-containerapp000002","value":"Z+oYFQDS02ebjgpSV25VU734b4cH8YrQxl3R94iw4C+ACRD666kG"},{"name":"newsecret","value":"test"}]}'
string: '{"value":[{"name":"containerapp000002azurecrio-containerapp000002","value":"abc123"},{"name":"newsecret","value":"test"}]}'
headers:
api-supported-versions:
- 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, 2023-04-01-preview,
Expand Down Expand Up @@ -4731,7 +4731,7 @@ interactions:
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp-e2e000003/listSecrets?api-version=2024-03-01
response:
body:
string: '{"value":[{"name":"containerapp000002azurecrio-containerapp000002","value":"Z+oYFQDS02ebjgpSV25VU734b4cH8YrQxl3R94iw4C+ACRD666kG"},{"name":"newsecret","value":"test"}]}'
string: '{"value":[{"name":"containerapp000002azurecrio-containerapp000002","value":"abc123"},{"name":"newsecret","value":"test"}]}'
headers:
api-supported-versions:
- 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, 2023-04-01-preview,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1605,7 +1605,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": "acr000002azurecrio-443-acr000002", "value":
"A55reXlXmk/AxgIXn8phrMXMsLU36JUwMORy93J9PR+ACRAFrCui"}], "triggerType": "schedule",
"abc123"}], "triggerType": "schedule",
"replicaTimeout": 200, "replicaRetryLimit": 2, "manualTriggerConfig": null,
"scheduleTriggerConfig": {"replicaCompletionCount": 1, "parallelism": 1, "cronExpression":
"*/10 * * * *"}, "eventTriggerConfig": null, "registries": [{"server": "acr000002.azurecr.io:443",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1605,7 +1605,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":
"KyaZ1VDWR9FolEY5UK3YXKlui6bt5dirKS529GFdFK+ACRABsSVf"}], "triggerType": "schedule",
"abc123"}], "triggerType": "schedule",
"replicaTimeout": 200, "replicaRetryLimit": 2, "manualTriggerConfig": null,
"scheduleTriggerConfig": {"replicaCompletionCount": 1, "parallelism": 1, "cronExpression":
"*/10 * * * *"}, "eventTriggerConfig": null, "registries": [{"server": "acr000003.azurecr.io",
Expand Down

0 comments on commit df2bb77

Please sign in to comment.