Skip to content

Commit

Permalink
fix: Use generated name for Dynamo and Redis service (#679)
Browse files Browse the repository at this point in the history
* Rename for consistency

* Remove old file

* Fix checkout redis
  • Loading branch information
niallthomson authored Nov 25, 2024
1 parent 22c48b0 commit 3fa004e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ data:
CARTS_DYNAMODB_CREATETABLE: "true"
AWS_ACCESS_KEY_ID: key
AWS_SECRET_ACCESS_KEY: secret
CARTS_DYNAMODB_ENDPOINT: http://carts-dynamodb:8000
CARTS_DYNAMODB_ENDPOINT: http://{{ include "carts.dynamodb.fullname" . }}:8000
{{- end }}
{{- end }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: {{ include "checkout.configMapName" . }}
data:
{{- if .Values.redis.create }}
REDIS_URL: redis://checkout-redis:6379
REDIS_URL: redis://{{ include "checkout.redis.fullname" . }}:{{ .Values.redis.service.port }}
{{- else }}
REDIS_URL: redis://{{ .Values.redis.address }}:{{ .Values.redis.port }}
{{- end }}
Expand Down

0 comments on commit 3fa004e

Please sign in to comment.