Skip to content
This repository has been archived by the owner on Aug 25, 2021. It is now read-only.

Support terminating gateways #452

Closed
wants to merge 1 commit into from
Closed

Support terminating gateways #452

wants to merge 1 commit into from

Conversation

adilyse
Copy link
Contributor

@adilyse adilyse commented May 11, 2020

This creates all of the necessary templates to support terminating
gateways in the helm chart. Using terminatingGateways.defaults and
terminatingGateways.gateways, it's possible to define multiple
gateways. Names must be provided for each and they must be unique.

Any gateway-specific values will override the default value with the
exception of annotations. Annotations will apply both the defaults
and gateway-specific annotations.

TODO: Add tests.

@@ -0,0 +1,324 @@
{{- if .Values.terminatingGateways.enabled }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we use len(.Values.terminatingGateways.gateways) instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was going to have one gateway defined automatically in the gateways field as an example. Then someone could enable gateways and get a gateway without doing any extra work. It should also simplify the explanation of required gateway fields-- though I suppose we'll still have to explain the extraVolumes field so maybe that's a wash.

@adilyse adilyse force-pushed the terminating-gateways branch from 3d05c92 to 595bb6a Compare May 14, 2020 21:15
This creates all of the necessary templates to support terminating
gateways in the helm chart. Using `terminatingGateways.defaults` and
`terminatingGateways.gateways`, it's possible to define multiple
gateways. Names must be provided for each and they must be unique.

Any gateway-specific values will override the default value with the
exception of annotations. Annotations will apply both the defaults
and gateway-specific annotations.

TODO: Add tests.
@adilyse adilyse force-pushed the terminating-gateways branch from 595bb6a to 92e8c70 Compare May 14, 2020 21:17
@adilyse adilyse changed the title POC: multiple gateways defined in the helm chart Support terminating gateways May 14, 2020
@adilyse adilyse added area/gateways Related to gateway components enhancement New feature or request labels May 14, 2020
@adilyse adilyse closed this Jun 10, 2020
@adilyse adilyse deleted the terminating-gateways branch July 31, 2020 15:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/gateways Related to gateway components enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants