-
Notifications
You must be signed in to change notification settings - Fork 142
DEVPROD-3580: Add gateway api support #1084
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
Merged
Merged
Changes from 7 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
4ccf6c2
DEVPROD-3580: #feat Adding Gateway API support
pbhardwaj6 078b31c
DEVPROD-3580: #feat Adding Gateway API support
pbhardwaj6 ff71aa4
DEVPROD-3580: Kind test fix, for Gateway API
pbhardwaj6 41dec31
Merge remote-tracking branch 'origin/DEVPROD-3580-add-gateway-api-sup…
pbhardwaj6 4efa718
DEVPROD-3580: maven unit test fix
pbhardwaj6 a65eb9f
DEVPROD-3580: openshift test fix
pbhardwaj6 972e83b
DEVPROD-3580: openshift test fix
pbhardwaj6 581f544
DEVPROD-3580: service ingress path, confluence Synchrony path fix
pbhardwaj6 3008bd6
DEVPROD-3580: Session affinity config doc attached
pbhardwaj6 8fb9616
DEVPROD-3580: e2e-tf-deployment update Gateway API integration
pbhardwaj6 2fcda43
DEVPROD-3580: Indentation and baseurl removing '/' trimming
pbhardwaj6 fa0e99d
DEVPROD-3580 Extracted and re-used common logic. (#1094)
amierzwicki fdb008a
DEVPROD-3580 Introduced common polling logic.
amierzwicki 48aa0a1
DEVPROD-3580 Reverted previous behavior for failure of 'CloudNativePG…
amierzwicki c290239
DEVPROD-3580 Using wait_for to check if port-forwarding is ready.
amierzwicki e871f2e
DEVPROD-3580: Addressed PR comments fixes
pbhardwaj6 648f490
Merge remote-tracking branch 'origin/main' into DEVPROD-3580-add-gate…
pbhardwaj6 70b30c2
DEVPROD-3580: improved comments and examples for gateway, sync all co…
pbhardwaj6 e460428
DEVPROD-3580: Adding common port forward for gateway, using in wait_f…
pbhardwaj6 714267d
DEVPROD-3580: Adding common port forward for gateway, using in wait_f…
pbhardwaj6 897843b
DEVPROD-3776: Documentation for Gateway API (#1089)
pbhardwaj6 325ac95
DEVPROD-3580: envoy proxy as NodePort for Kind tests (#1098)
pbhardwaj6 0d2f15b
Merge remote-tracking branch 'origin/main' into DEVPROD-3580-add-gate…
pbhardwaj6 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,60 @@ | ||
| {{- if .Values.gateway.create }} | ||
| {{- if .Values.ingress.create }} | ||
| {{- fail "Cannot enable both gateway.create and ingress.create. Please set one to false." }} | ||
| {{- end }} | ||
| {{- if not .Values.gateway.gatewayName }} | ||
| {{- fail "gateway.gatewayName is required when gateway.create is true" }} | ||
| {{- end }} | ||
| {{- if not .Values.gateway.hostnames }} | ||
| {{- fail "gateway.hostnames is required when gateway.create is true. Provide at least one hostname." }} | ||
| {{- end }} | ||
| apiVersion: gateway.networking.k8s.io/v1 | ||
| kind: HTTPRoute | ||
| metadata: | ||
| name: {{ include "common.names.fullname" . }} | ||
| labels: | ||
| {{- include "common.labels.commonLabels" . | nindent 4 }} | ||
| {{- with .Values.gateway.labels }} | ||
| {{- toYaml . | nindent 4 }} | ||
| {{- end }} | ||
| {{- with .Values.gateway.annotations }} | ||
| annotations: | ||
| {{- toYaml . | nindent 4 }} | ||
| {{- end }} | ||
| spec: | ||
| # Reference to the Gateway | ||
| parentRefs: | ||
| - name: {{ .Values.gateway.gatewayName }} | ||
| {{- if .Values.gateway.gatewayNamespace }} | ||
| namespace: {{ .Values.gateway.gatewayNamespace }} | ||
| {{- end }} | ||
|
|
||
| # Hostnames to match | ||
| hostnames: | ||
| {{- range .Values.gateway.hostnames }} | ||
| - {{ . | quote }} | ||
| {{- end }} | ||
|
|
||
| # Routing rules | ||
| rules: | ||
| # Default rule - routes to Bamboo service | ||
| - matches: | ||
| - path: | ||
| type: {{ .Values.gateway.pathType }} | ||
| value: {{ .Values.gateway.path }} | ||
|
|
||
| {{- if .Values.gateway.filters }} | ||
| filters: | ||
| {{- toYaml .Values.gateway.filters | nindent 4 }} | ||
| {{- end }} | ||
|
|
||
| backendRefs: | ||
| - name: {{ include "common.names.fullname" . }} | ||
| port: {{ .Values.bamboo.service.port }} | ||
| weight: 100 | ||
|
|
||
| {{- if .Values.gateway.additionalRules }} | ||
| # Additional custom rules | ||
| {{- toYaml .Values.gateway.additionalRules | nindent 2 }} | ||
| {{- end }} | ||
| {{- end }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.