Skip to content

Commit

Permalink
unifed the file naming used to fix how the envoy configuration file i…
Browse files Browse the repository at this point in the history
…s injected
  • Loading branch information
CommanderStorm committed Sep 30, 2023
1 parent 0f5ac6f commit 8f287b4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions deployment/charts/backend/templates/deployments/backend-v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ spec:
imagePullPolicy: IfNotPresent
args:
- --config-path
- /etc/envoy/envoy.yaml
- /etc/envoy/envoy.yml
- --service-cluster
- backend-v2
- --service-node
Expand All @@ -54,8 +54,8 @@ spec:
- containerPort: 9901
name: admin
volumeMounts:
- mountPath: /etc/envoy/envoy.yaml
subPath: envoy.yaml
- mountPath: /etc/envoy/envoy.yml
subPath: envoy.yml
name: backend-grpc-web-config
readOnly: true
livenessProbe:
Expand Down Expand Up @@ -159,5 +159,5 @@ metadata:
name: backend-grpc-web-config
namespace: {{ $.Values.namespace }}
data:
envoy.yaml: |-
{{ .Files.Get "files/envoy.yaml" | indent 4 }}
envoy.yml: |-
{{ .Files.Get "files/envoy.yml" | indent 4 }}
4 changes: 2 additions & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ services:
# command:
# - /docker-entrypoint.sh
# - --config-path
# - /etc/envoy/envoy.yaml
# - /etc/envoy/envoy.yml
# - --service-cluster
# - backend-v2
# - --service-node
Expand All @@ -67,7 +67,7 @@ services:
# - 8081:8081
# - 9901:9901
# volumes:
# - ./deployment/charts/backend/files/envoy.yml:/etc/envoy/envoy.yaml
# - ./deployment/charts/backend/files/envoy.yml:/etc/envoy/envoy.yml
# depends_on:
# - backend

Expand Down

0 comments on commit 8f287b4

Please sign in to comment.