fix: set Istio attributes properly again
This commit is contained in:
parent
5201034e75
commit
ada092abd1
@ -31,8 +31,10 @@ cert-manager:
|
|||||||
nodeSelector:
|
nodeSelector:
|
||||||
node-role.kubernetes.io/control-plane: ""
|
node-role.kubernetes.io/control-plane: ""
|
||||||
|
|
||||||
{{ with index .Values "cert-manager" "IamArn" }}
|
|
||||||
extraEnv:
|
extraEnv:
|
||||||
|
- name: AWS_REGION
|
||||||
|
value: {{ .Values.global.aws.region }}
|
||||||
|
{{ with index .Values "cert-manager" "IamArn" }}
|
||||||
- name: AWS_ROLE_ARN
|
- name: AWS_ROLE_ARN
|
||||||
value: "{{ . }}"
|
value: "{{ . }}"
|
||||||
- name: AWS_WEB_IDENTITY_TOKEN_FILE
|
- name: AWS_WEB_IDENTITY_TOKEN_FILE
|
||||||
|
@ -4,7 +4,7 @@ gateway:
|
|||||||
name: istio-ingressgateway
|
name: istio-ingressgateway
|
||||||
|
|
||||||
{{- if ne .Values.global.platform "gke" }}
|
{{- if ne .Values.global.platform "gke" }}
|
||||||
priorityClassName: "system-cluster-critical"
|
priorityClassName: "system-cluster-critical"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{- with index .Values "istio-ingress" "gateway" "replicaCount" }}
|
{{- with index .Values "istio-ingress" "gateway" "replicaCount" }}
|
||||||
|
@ -3,6 +3,10 @@
|
|||||||
gateway:
|
gateway:
|
||||||
name: istio-private-ingressgateway
|
name: istio-private-ingressgateway
|
||||||
|
|
||||||
|
{{- if ne .Values.global.platform "gke" }}
|
||||||
|
priorityClassName: "system-cluster-critical"
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
{{- with index .Values "istio-private-ingress" "gateway" "replicaCount" }}
|
{{- with index .Values "istio-private-ingress" "gateway" "replicaCount" }}
|
||||||
replicaCount: {{ . }}
|
replicaCount: {{ . }}
|
||||||
{{- if gt (int .) 1 }}
|
{{- if gt (int .) 1 }}
|
||||||
@ -11,7 +15,7 @@ gateway:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{- if not (index .Values "istio-private-ingress" "gateway" "affinity") }}
|
{{- if eq .Values.global.platform "aws" }}
|
||||||
# Only nodes who are fronted with matching LB
|
# Only nodes who are fronted with matching LB
|
||||||
affinity:
|
affinity:
|
||||||
nodeAffinity:
|
nodeAffinity:
|
||||||
|
@ -5,7 +5,7 @@ global:
|
|||||||
defaultPodDisruptionBudget:
|
defaultPodDisruptionBudget:
|
||||||
enabled: true
|
enabled: true
|
||||||
{{- if ne .Values.global.platform "gke" }}
|
{{- if ne .Values.global.platform "gke" }}
|
||||||
priorityClassName: "system-cluster-critical"
|
priorityClassName: "system-cluster-critical"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user