From e5573c10e3953cba214445ab5c70fe4b41d5f132 Mon Sep 17 00:00:00 2001 From: Nathan Coleman Date: Wed, 2 Feb 2022 14:03:03 -0500 Subject: [PATCH 1/3] Allow ClusterRole for API gateway to update existing Service --- charts/consul/templates/api-gateway-controller-clusterrole.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/charts/consul/templates/api-gateway-controller-clusterrole.yaml b/charts/consul/templates/api-gateway-controller-clusterrole.yaml index c6a69106c8..2f03b34427 100644 --- a/charts/consul/templates/api-gateway-controller-clusterrole.yaml +++ b/charts/consul/templates/api-gateway-controller-clusterrole.yaml @@ -94,6 +94,7 @@ rules: - create - get - list + - update - watch - apiGroups: - "" From 9d5c9e31fb1f3185de3cb61cac3e169f02cd5924 Mon Sep 17 00:00:00 2001 From: Nathan Coleman Date: Wed, 2 Feb 2022 14:03:22 -0500 Subject: [PATCH 2/3] Allow ClusterRole for API gateway to update existing Deployment --- charts/consul/templates/api-gateway-controller-clusterrole.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/charts/consul/templates/api-gateway-controller-clusterrole.yaml b/charts/consul/templates/api-gateway-controller-clusterrole.yaml index 2f03b34427..143d7a09e6 100644 --- a/charts/consul/templates/api-gateway-controller-clusterrole.yaml +++ b/charts/consul/templates/api-gateway-controller-clusterrole.yaml @@ -34,6 +34,7 @@ rules: - create - get - list + - update - watch - apiGroups: - coordination.k8s.io From 382b5874a759085abd11bad70972f2e325dba86d Mon Sep 17 00:00:00 2001 From: Nathan Coleman Date: Wed, 2 Feb 2022 17:32:49 -0500 Subject: [PATCH 3/3] Update CHANGELOG --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 646519a72e..381e2f3b0f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ BUG FIXES: * API Gateway * Fix issue where if the API gateway controller pods restarted, gateway pods would become disconnected from the secret discovery service. [[GH-1007](https://github.com/hashicorp/consul-k8s/pull/1007)] + * Fix issue where the API gateway controller could not update existing Deployments or Services. [[GH-1014](https://github.com/hashicorp/consul-k8s/pull/1014)] ## 0.40.0 (January 27, 2022)