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) {