From 92ebb49b09df038268032ac0e3fb4ca2b73b9ffa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mats=20T=C3=B6rnberg?= Date: Sun, 28 Sep 2025 16:04:45 +0200 Subject: [PATCH] update --- deployment/roles.yaml | 2 +- product-fetcher.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deployment/roles.yaml b/deployment/roles.yaml index 659c273..1cbebed 100644 --- a/deployment/roles.yaml +++ b/deployment/roles.yaml @@ -14,7 +14,7 @@ metadata: subjects: - kind: ServiceAccount name: default - namespace: s10n + namespace: cart apiGroup: "" roleRef: kind: ClusterRole diff --git a/product-fetcher.go b/product-fetcher.go index 01d5a79..12a98fe 100644 --- a/product-fetcher.go +++ b/product-fetcher.go @@ -14,9 +14,9 @@ func getBaseUrl(country string) string { // return "http://s10n-se:8080" // } if country == "no" { - return "http://s10n-no:8080" + return "http://s10n-no.s10n:8080" } - return "https://slask-finder.tornberg.me" + return "http://s10n-se.s10n:8080" } func FetchItem(sku string, country string) (*index.DataItem, error) {