-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CP/DP Split: Remove NGINX manager and deployment (#2936)
Removing the nginx runtime manager and deployment container since nginx will live in its own pod managed by agent. Temporarily saving the nginx deployment and service for future use. Updated the control plane liveness probe to return true once it's processed all resources, instead of after it's written config to nginx (since nginx may not be started yet in the future architecture).
- Loading branch information
Showing
67 changed files
with
717 additions
and
6,305 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
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
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 |
---|---|---|
@@ -1,35 +1,20 @@ | ||
{{- if .Values.service.create }} | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: {{ include "nginx-gateway.fullname" . }} | ||
namespace: {{ .Release.Namespace }} | ||
labels: | ||
{{- include "nginx-gateway.labels" . | nindent 4 }} | ||
{{- if .Values.service.annotations }} | ||
{{- if .Values.nginxGateway.service.annotations }} | ||
annotations: | ||
{{ toYaml .Values.service.annotations | indent 4 }} | ||
{{ toYaml .Values.nginxGateway.service.annotations | indent 4 }} | ||
{{- end }} | ||
spec: | ||
{{- if or (eq .Values.service.type "LoadBalancer") (eq .Values.service.type "NodePort") }} | ||
{{- if .Values.service.externalTrafficPolicy }} | ||
externalTrafficPolicy: {{ .Values.service.externalTrafficPolicy }} | ||
{{- end }} | ||
{{- end }} | ||
type: {{ .Values.service.type }} | ||
{{- if eq .Values.service.type "LoadBalancer" }} | ||
{{- if .Values.service.loadBalancerIP }} | ||
loadBalancerIP: {{ .Values.service.loadBalancerIP }} | ||
{{- end }} | ||
{{- if .Values.service.loadBalancerSourceRanges }} | ||
loadBalancerSourceRanges: | ||
{{ toYaml .Values.service.loadBalancerSourceRanges | nindent 2 }} | ||
{{- end }} | ||
{{- end}} | ||
type: ClusterIP | ||
selector: | ||
{{- include "nginx-gateway.selectorLabels" . | nindent 4 }} | ||
ports: # Update the following ports to match your Gateway Listener ports | ||
{{- if .Values.service.ports }} | ||
{{ toYaml .Values.service.ports | indent 2 }} | ||
{{ end }} | ||
{{- end }} | ||
ports: | ||
- name: grpc | ||
port: 443 | ||
protocol: TCP | ||
targetPort: 443 |
Oops, something went wrong.