Merge pull request #5 from johnlanni/change-helm

adjust istio helm
This commit is contained in:
澄潭
2022-11-01 17:17:09 +08:00
committed by GitHub
3 changed files with 8 additions and 4 deletions

View File

@@ -11,7 +11,7 @@
configSources: configSources:
- address: k8s:// - address: k8s://
- address: {{ .Values.higress.xds }} - address: {{ printf "xds://%s.%s:%s" .Values.higress.name .Values.higress.namespace .Values.higress.port }}
defaultConfig: defaultConfig:
{{- if .Values.global.meshID }} {{- if .Values.global.meshID }}

View File

@@ -112,6 +112,10 @@ spec:
periodSeconds: 3 periodSeconds: 3
timeoutSeconds: 5 timeoutSeconds: 5
env: env:
- name: HIGRESS_CONTROLLER_SVC
value: {{ printf "%s.%s" .Values.higress.name .Values.higress.namespace }}
- name: HIGRESS_CONTROLLER_PORT
value: "{{ .Values.higress.port }}"
- name: REVISION - name: REVISION
value: "{{ .Values.revision | default `default` }}" value: "{{ .Values.revision | default `default` }}"
- name: JWT_POLICY - name: JWT_POLICY

View File

@@ -1,5 +1,7 @@
higress: higress:
xds: "xds://higress-controller.higress-system:15051" name: higress-controller
namespace: higress-system
port: "15051"
#.Values.pilot for discovery and mesh wide config #.Values.pilot for discovery and mesh wide config
@@ -30,8 +32,6 @@ pilot:
PILOT_ENABLE_METADATA_EXCHANGE: "false" PILOT_ENABLE_METADATA_EXCHANGE: "false"
PILOT_ENABLE_CROSS_CLUSTER_WORKLOAD_ENTRY: "false" PILOT_ENABLE_CROSS_CLUSTER_WORKLOAD_ENTRY: "false"
VALIDATION_ENABLED: "false" VALIDATION_ENABLED: "false"
HIGRESS_CONTROLLER_SVC: "higress-controller.higress-system"
HIGRESS_CONTROLLER_PORT: "15051"
cpu: cpu:
targetAverageUtilization: 80 targetAverageUtilization: 80