mirror of
https://github.com/alibaba/higress.git
synced 2026-06-09 04:37:31 +08:00
cleanup: controller redundant configuration (#98)
Signed-off-by: iutx <root@viper.run>
This commit is contained in:
@@ -6,7 +6,7 @@ metadata:
|
|||||||
{{- include "controller.labels" . | nindent 4 }}
|
{{- include "controller.labels" . | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
{{- if not .Values.controller.autoscaling.enabled }}
|
{{- if not .Values.controller.autoscaling.enabled }}
|
||||||
replicas: {{ .Values.controller.replicaCount }}
|
replicas: {{ .Values.controller.replicas }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
{{- if not .Values.gateway.autoscaling.enabled }}
|
{{- if not .Values.gateway.autoscaling.enabled }}
|
||||||
{{- if not .Values.global.kind }}
|
{{- if not .Values.global.kind }}
|
||||||
replicas: {{ .Values.gateway.replicaCount }}
|
replicas: {{ .Values.gateway.replicas }}
|
||||||
{{- else }}
|
{{- else }}
|
||||||
replicas: 1
|
replicas: 1
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ istioNamespace: "istio-system"
|
|||||||
meshConfig: {}
|
meshConfig: {}
|
||||||
gateway:
|
gateway:
|
||||||
name: "higress-gateway"
|
name: "higress-gateway"
|
||||||
replicaCount: 2
|
replicas: 2
|
||||||
image: gateway
|
image: gateway
|
||||||
tag: "268c73301e78514552fe0576fb0059c42c854a5c"
|
tag: "268c73301e78514552fe0576fb0059c42c854a5c"
|
||||||
# revision declares which revision this gateway is a part of
|
# revision declares which revision this gateway is a part of
|
||||||
@@ -109,11 +109,10 @@ gateway:
|
|||||||
|
|
||||||
controller:
|
controller:
|
||||||
name: "higress-controller"
|
name: "higress-controller"
|
||||||
replicaCount: 1
|
replicas: 1
|
||||||
image: higress
|
image: higress
|
||||||
tag: "268c73301e78514552fe0576fb0059c42c854a5c"
|
tag: "268c73301e78514552fe0576fb0059c42c854a5c"
|
||||||
env: {}
|
env: {}
|
||||||
replicaCount: 1
|
|
||||||
|
|
||||||
labels: {}
|
labels: {}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user