-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added k8s-gateway-api support (#165)
* added gateway api support * removed gateway config * added webdocs for gatewayapi --------- Signed-off-by: David Viejo <[email protected]> Co-authored-by: David Viejo <[email protected]>
- Loading branch information
Showing
34 changed files
with
8,760 additions
and
11,918 deletions.
There are no files selected for viewing
This file contains 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
132 changes: 26 additions & 106 deletions
132
api/hlf.kungfusoftware.es/v1alpha1/zz_generated.deepcopy.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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,19 @@ | ||
{{- if and (not .Values.istio.hosts) (and (.Values.gatewayApi.hosts) (.Values.gatewayApi.gatewayName)) -}} | ||
apiVersion: gateway.networking.k8s.io/v1alpha2 | ||
kind: TLSRoute | ||
metadata: | ||
name: {{ include "hlf-ca.fullname" . }}-tlsroute | ||
spec: | ||
parentRefs: | ||
- name: {{.Values.gatewayApi.gatewayName}} | ||
sectionName: tcp | ||
namespace: {{.Values.gatewayApi.gatewayNamespace}} | ||
hostnames: | ||
{{- range .Values.gatewayApi.hosts }} | ||
- {{ . }} | ||
{{- end }} | ||
rules: | ||
- backendRefs: | ||
- name: {{ include "hlf-ca.fullname" . }} | ||
port: 7054 | ||
{{- end -}} |
This file contains 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 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,19 @@ | ||
{{- if and .Values.channelParticipationEnabled (and (not .Values.adminIstio.hosts) (and (.Values.adminGatewayApi.hosts) (.Values.adminGatewayApi.gatewayName))) -}} | ||
apiVersion: gateway.networking.k8s.io/v1alpha2 | ||
kind: TLSRoute | ||
metadata: | ||
name: {{ include "hlf-ordnode.fullname" . }}-tlsroute-admin | ||
spec: | ||
parentRefs: | ||
- name: {{.Values.adminGatewayApi.gatewayName}} | ||
sectionName: tcp | ||
namespace: {{.Values.gatewayApi.gatewayNamespace}} | ||
hostnames: | ||
{{- range .Values.adminGatewayApi.hosts }} | ||
- {{ . }} | ||
{{- end }} | ||
rules: | ||
- backendRefs: | ||
- name: {{ include "hlf-ordnode.fullname" . }} | ||
port: 7053 | ||
{{- end -}} |
This file contains 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,19 @@ | ||
{{- if and (not .Values.istio.hosts) (and (.Values.gatewayApi.hosts) (.Values.gatewayApi.gatewayName)) -}} | ||
apiVersion: gateway.networking.k8s.io/v1alpha2 | ||
kind: TLSRoute | ||
metadata: | ||
name: {{ include "hlf-ordnode.fullname" . }}-tlsroute | ||
spec: | ||
parentRefs: | ||
- name: {{.Values.gatewayApi.gatewayName}} | ||
sectionName: tcp | ||
namespace: {{.Values.gatewayApi.gatewayNamespace}} | ||
hostnames: | ||
{{- range .Values.gatewayApi.hosts }} | ||
- {{ . }} | ||
{{- end }} | ||
rules: | ||
- backendRefs: | ||
- name: {{ include "hlf-ordnode.fullname" . }} | ||
port: 7050 | ||
{{- end -}} |
This file contains 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 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,19 @@ | ||
{{- if and (not .Values.istio.hosts) (and (.Values.gatewayApi.hosts) (.Values.gatewayApi.gatewayName)) -}} | ||
apiVersion: gateway.networking.k8s.io/v1alpha2 | ||
kind: TLSRoute | ||
metadata: | ||
name: {{ include "hlf-peer.fullname" . }}-tlsroute | ||
spec: | ||
parentRefs: | ||
- name: {{.Values.gatewayApi.gatewayName}} | ||
sectionName: tcp | ||
namespace: {{.Values.gatewayApi.gatewayNamespace}} | ||
hostnames: | ||
{{- range .Values.gatewayApi.hosts }} | ||
- {{ . }} | ||
{{- end }} | ||
rules: | ||
- backendRefs: | ||
- name: {{ include "hlf-peer.fullname" . }} | ||
port: 7051 | ||
{{- end -}} |
This file contains 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.