diff --git a/deploy/charts/burrito/templates/config.yaml b/deploy/charts/burrito/templates/config.yaml index 1a2e555e..461b083a 100644 --- a/deploy/charts/burrito/templates/config.yaml +++ b/deploy/charts/burrito/templates/config.yaml @@ -21,7 +21,7 @@ Datastore Authorized Service Accounts {{- $datastoreAuthorizedServiceAccounts = append $datastoreAuthorizedServiceAccounts $serviceAccount }} {{- end }} {{- end }} -{{- $controller := printf "%s/%s" .Release.Namespace "burrito-controller" }} +{{- $controller := printf "%s/%s" .Release.Namespace "burrito-controllers" }} {{- $datastoreAuthorizedServiceAccounts = append $datastoreAuthorizedServiceAccounts $controller }} {{- $server := printf "%s/%s" .Release.Namespace "burrito-server" }} {{- $datastoreAuthorizedServiceAccounts = append $datastoreAuthorizedServiceAccounts $server }} diff --git a/internal/datastore/client/client.go b/internal/datastore/client/client.go index f885dead..2ec09960 100644 --- a/internal/datastore/client/client.go +++ b/internal/datastore/client/client.go @@ -121,6 +121,7 @@ func (c *DefaultClient) PutPlan(namespace string, layer string, run string, atte http.MethodPut, strings.NewReader(string(body)), ) + req.Header.Set("Content-Type", "application/json") if err != nil { return err } @@ -201,6 +202,7 @@ func (c *DefaultClient) PutLogs(namespace string, layer string, run string, atte http.MethodPut, strings.NewReader(string(body)), ) + req.Header.Set("Content-Type", "application/json") if err != nil { return err }