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

API-Gateway configuration via connectInject.apiGateway stanza #3417

Closed
andriktr opened this issue Dec 20, 2023 · 2 comments
Closed

API-Gateway configuration via connectInject.apiGateway stanza #3417

andriktr opened this issue Dec 20, 2023 · 2 comments
Labels
type/question Question about product, ideally should be pointed to discuss.hashicorp.com

Comments

@andriktr
Copy link

andriktr commented Dec 20, 2023

Hi,
According helm chart values.yaml apiGateway configuration is deprecated and will be removed soon. So now we should use connectInject.apiGateway stanza instead. In this stanza I can't find configuration for api-gateway-controller pods and gateway instances. Can someone briefly explain the deferences between these two approaches?
Thank you.

# [DEPRECATED] Use connectInject.apiGateway instead. This stanza will be removed with the release of Consul 1.17
# Configuration settings for the Consul API Gateway integration
apiGateway:
  # When true the helm chart will install the Consul API Gateway controller
  enabled: false

  # Image to use for the api-gateway-controller pods and gateway instances
  #
  # ~> **Note:** Using API Gateway <= 0.4 with external servers requires setting `client.enabled: true`.
  # @type: string
  image: null

  # The name (and tag) of the Envoy Docker image used for the
  # apiGateway. For other Consul compoenents, imageEnvoy has been replaced with Consul Dataplane.
  # @default: envoyproxy/envoy:<latest supported version>
@andriktr andriktr added the type/question Question about product, ideally should be pointed to discuss.hashicorp.com label Dec 20, 2023
@david-yu
Copy link
Contributor

Hi @andriktr the consul-k8s controlplane and consul-dataplane images are now used for API Gateway controllers and Envoy instances. So no need to set images anymore as the API Gateway is now unified into consul-k8s without separate controllers and Envoy config, so the installation and config is now simplified as shown here: https://developer.hashicorp.com/consul/docs/connect/gateways/api-gateway/install-k8s. I hope that helps.

@andriktr
Copy link
Author

@david-yu now it's clear thank you for clarification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/question Question about product, ideally should be pointed to discuss.hashicorp.com
Projects
None yet
Development

No branches or pull requests

2 participants