Skip to content

Commit d9794a6

Browse files
committed
correct policy selector terms
1 parent 111e5a0 commit d9794a6

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

KaaS/Elastic Kubernetes Service(EKS)/Terraform/pod-security-group/k8s.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ resource "kubernetes_deployment" "my_deployment" {
2626
metadata {
2727
labels = {
2828
app = "my-app"
29-
role = "my-role"
3029
}
3130
}
3231

KaaS/Elastic Kubernetes Service(EKS)/Terraform/pod-security-group/security-group.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ resource "kubernetes_manifest" "security_group_policy" {
99
spec = {
1010
podSelector = {
1111
matchLabels = {
12-
role = "my-role"
12+
app = "my-app"
1313
}
1414
}
1515
securityGroups = {

0 commit comments

Comments
 (0)