Skip to content

giantswarm/gateway-api-config-app

Repository files navigation

CircleCI

gateway-api-config chart

Giant Swarm offers a gateway-api-config App, which can be installed in workload clusters together with envoy-gateway-app.

Here, we define the gateway-api-config chart with its templates and default configuration.

What is this app?

Gateway API Config is a Giant Swarm App that provides a default configuration for the Envoy Gateway App. It is a optional dependency for the Envoy Gateway App to have a default gateway configuration.

Why did we add it?

Since the default envoy-gateway-app only deploys the Envoy Gateway, it does not provide a default configuration for the gateway. This gives the user the flexibility to configure the gateway as needed to have a quick start.

Who can use it?

Any platform user who wants to have a default configuration for the Envoy Gateway App.

Installing

There are several ways to install this app onto a workload cluster.

Configuring

Sample App CR and ConfigMap for the management cluster

If you have access to the platform API on the management cluster, you could create the App CR and ConfigMap directly.

Here is an example that would install the app to workload cluster abc12:

# appCR.yaml
apiVersion: application.giantswarm.io/v1alpha1
kind: App
metadata:
  labels:
    giantswarm.io/cluster: abc12
  name: gateway-api-config
  namespace: org-giantswarm
spec:
  catalog: giantswarm
  extraconfigs:
    - name: gateway-api-config-user-values
      namespace: org-giantswarm
  kubeConfig:
    inCluster: false
  name: gateway-api-config
  namespace: giantswarm
  version: 0.3.0
# user-values-configmap.yaml
apiVersion: v1
kind: ConfigMap
metadata:
  name: gateway-api-config-user-values
  namespace: org-giantswarm
data:
  values: |
    gateways:
      default:
        hostnames:
          - test.<mycluster>.gaws.gigantic.io

See our full reference on configuring apps for more details.

Credit

About

Default envoy GW configuration

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 7