Skip to content

Commit

Permalink
feat: Kubernetes pod identity migrated from v2 (#36)
Browse files Browse the repository at this point in the history
updated migration guide
  • Loading branch information
diegolagospagopa authored Jan 18, 2023
1 parent d3540ea commit 0d1a8a7
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 17 deletions.
27 changes: 14 additions & 13 deletions docs/MIGRATION_FROM_V2.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,17 @@

<https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/guides/3.0-upgrade-guide>

| module | status | note |
|-------- |--------|-------|
| storage-account | ok | read migration guide |
| cosmosdb | ok | read migration guide |
| subnet | ok | read migration guide |
| vnet | ok | read migration guide |
| vpn | ok | read migration guide |
| postgresql-flexible | ok | read migration guide |
| postgresql-server | ok | read migration guide |
| app-gateway | ok | read migration guide |
| cdn | ok | read migration guide |
| jwt-keys | ok | read migration guide |
| kubernetes_cluster | ok | state import mandatory + read migration guide |
| module | status | note |
|-------- |--------|-------|
| storage-account | ok | read migration guide |
| cosmosdb | ok | read migration guide |
| subnet | ok | read migration guide |
| vnet | ok | read migration guide |
| vpn | ok | read migration guide |
| postgresql-flexible | ok | read migration guide |
| postgresql-server | ok | read migration guide |
| app-gateway | ok | read migration guide |
| cdn | ok | read migration guide |
| jwt-keys | ok | read migration guide |
| kubernetes_pod_identity | ok | read migration guide |
| kubernetes_cluster | ok | state import mandatory + read migration guide |
13 changes: 10 additions & 3 deletions kubernetes_pod_identity/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,19 @@ module "ingress_pod_identity" {
cluster_name = "dvopla-d-aks"
namespace = "helm-template"
certificate_permissions = ["get"]
key_permissions = ["get"]
secret_permissions = ["get"]
certificate_permissions = ["Get"]
key_permissions = ["Get"]
secret_permissions = ["Get"]
}
```

## Migration from v2

1️⃣ Arguments changed:

* `certificate_permissions`, `key_permissions` and `secret_permissions` related to keyvault access policy, must start with a capitol letter. E.g [Backup Delete Get List Purge Recover Restore Set]


<!-- markdownlint-disable -->
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
## Requirements
Expand Down
1 change: 0 additions & 1 deletion kubernetes_pod_identity/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,3 @@ resource "null_resource" "create_pod_identity" {
EOT
}
}

0 comments on commit 0d1a8a7

Please sign in to comment.