Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removes Legacy API Gateway Stanza that was deprecated in Consul 1.16 #3718

Merged
merged 17 commits into from
Mar 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .changelog/3718.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
```release-note:breaking-change
api-gateway: The api-gateway stanza located under .Values.api-gateway was deprecated in
1.16.0 of Consul and is being removed as of 1.19.0 in favor of connectInject.apiGateway.
```
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
1. [Webhook](#webhook)
1. [Update command.go](#update-commandgo)
1. [Generating YAML](#generating-yaml)
1. [Updating consul-helm](#updating-consul-helm)
1. [Updating consul-helm](#updating-helm-chart)
1. [Testing a new CRD](#testing-a-new-crd)
1. [Update Consul K8s acceptance tests](#update-consul-k8s-acceptance-tests)
1. [Adding a new ACL Token](#adding-a-new-acl-token)
Expand Down
4 changes: 0 additions & 4 deletions charts/consul/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,6 @@ Fails if global.experiments.resourceAPIs is set along with any of these unsuppor
- meshGateway.enabled
- ingressGateways.enabled
- terminatingGateways.enabled
- apiGateway.enabled

Usage: {{ template "consul.validateResourceAPIs" . }}

Expand Down Expand Up @@ -538,9 +537,6 @@ Usage: {{ template "consul.validateResourceAPIs" . }}
{{- if (and (mustHas "resource-apis" .Values.global.experiments) .Values.terminatingGateways.enabled ) }}
{{fail "When the value global.experiments.resourceAPIs is set, terminatingGateways.enabled is currently unsupported."}}
{{- end }}
{{- if (and (mustHas "resource-apis" .Values.global.experiments) .Values.apiGateway.enabled ) }}
{{fail "When the value global.experiments.resourceAPIs is set, apiGateway.enabled is currently unsupported."}}
{{- end }}
{{- end }}

{{/*
Expand Down
265 changes: 0 additions & 265 deletions charts/consul/templates/api-gateway-controller-clusterrole.yaml

This file was deleted.

This file was deleted.

Loading
Loading