Skip to content

Commit

Permalink
apply the deploy renamings to the testdata for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidS-ovm committed Apr 19, 2024
1 parent 5c5bf6d commit e794177
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 15 deletions.
2 changes: 1 addition & 1 deletion cmd/changes_submit_plan_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ func TestExtractProviderNameFromConfigKey(t *testing.T) {
Expected: "kubernetes",
},
{
ConfigKey: "module.core:kubernetes",
ConfigKey: "module.services:kubernetes",
Expected: "kubernetes",
},
}
Expand Down
23 changes: 9 additions & 14 deletions cmd/testdata/plan.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@
{
"args": [],
"command": [],
"env": [
],
"env": [],
"env_from": [],
"image": "ghcr.io/overmindtech/api-server@sha256:d10d15d0bce640a7e4e505b57652d7a7e46f8092a3dbd64408de4368cda40270",
"image_pull_policy": "IfNotPresent",
Expand Down Expand Up @@ -638,7 +637,6 @@
"tags_all": {}
}
},

{
"address": "module.eks_elb_controller.data.aws_iam_policy_document.lb_controller[0]",
"mode": "data",
Expand Down Expand Up @@ -1319,7 +1317,7 @@
{
"resources": [
{
"address": "module.core.kubernetes_secret.apiserver-secrets",
"address": "module.services.kubernetes_secret.apiserver-secrets",
"mode": "managed",
"type": "kubernetes_secret",
"name": "apiserver-secrets",
Expand Down Expand Up @@ -2395,8 +2393,8 @@
},
"resource_changes": [
{
"address": "module.core.kubernetes_secret.apiserver-secrets",
"module_address": "module.core",
"address": "module.services.kubernetes_secret.apiserver-secrets",
"module_address": "module.services",
"mode": "managed",
"type": "kubernetes_secret",
"name": "apiserver-secrets",
Expand All @@ -2407,8 +2405,7 @@
],
"before": {
"binary_data": null,
"data": {
},
"data": {},
"id": "default/apiserver-secrets",
"immutable": false,
"metadata": [
Expand Down Expand Up @@ -2928,8 +2925,7 @@
{
"args": [],
"command": [],
"env": [
],
"env": [],
"env_from": [],
"image": "ghcr.io/overmindtech/api-server@sha256:41be6bab8dc65bf19fe3771fa9cf54e51621d93161056db8091ca2ff905be24a",
"image_pull_policy": "IfNotPresent",
Expand Down Expand Up @@ -3203,8 +3199,7 @@
{
"args": [],
"command": [],
"env": [
],
"env": [],
"env_from": [],
"image": "ghcr.io/overmindtech/api-server@sha256:d10d15d0bce640a7e4e505b57652d7a7e46f8092a3dbd64408de4368cda40270",
"image_pull_policy": "IfNotPresent",
Expand Down Expand Up @@ -5821,7 +5816,7 @@
"mode": "managed",
"type": "kubernetes_secret",
"name": "apiserver-secrets",
"provider_config_key": "module.core:kubernetes",
"provider_config_key": "module.services:kubernetes",
"expressions": {
"data": {
"references": [
Expand Down Expand Up @@ -7185,4 +7180,4 @@
}
},
"timestamp": "2023-07-17T15:48:38Z"
}
}

0 comments on commit e794177

Please sign in to comment.