Skip to content

Commit f8bf0b3

Browse files
committed
Change pull strategy, set clusterIp to None to remove service proxy
1 parent 10ba9d4 commit f8bf0b3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

charts/wongnai-xds/templates/01-deployment.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ spec:
2929
securityContext:
3030
{{- toYaml .Values.securityContext | nindent 12 }}
3131
image: {{ .Values.deployment.image }}:{{ .Chart.AppVersion }}
32-
imagePullPolicy: Always
32+
imagePullPolicy: IfNotPresent
3333
ports:
3434
- name: grpc
3535
containerPort: 5000

charts/wongnai-xds/templates/02-service.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ metadata:
66
{{- include "wongnai-xds.labels" . | nindent 4 }}
77
spec:
88
type: ClusterIP
9+
clusterIP: None
910
ports:
1011
- port: {{ .Values.service.grpcPort }}
1112
targetPort: grpc

0 commit comments

Comments
 (0)