Skip to content

Commit 90b864b

Browse files
fix appProtocol for argocd-server to support Istio
1 parent b63acd3 commit 90b864b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,17 @@ patches:
3030
- op: replace
3131
path: /subjects/0/namespace
3232
value: default
33+
34+
# Istio protocol selection: https://istio.io/latest/docs/ops/configuration/traffic-management/protocol-selection/
35+
# Ovveride the default protocol selection which is done by the port name (http), since this port is being used for both http and grpc.
3336
- target:
3437
version: v1
3538
kind: Service
3639
name: argocd-server
3740
patch: |
3841
- op: add
3942
path: /spec/ports/0/appProtocol
40-
value: grpc
41-
- op: add
42-
path: /spec/ports/1/appProtocol
43-
value: grpc
43+
value: tcp
4444
4545
- target:
4646
name: argocd-repo-server

0 commit comments

Comments
 (0)