diff --git a/deployment.yaml b/deployment.yaml index 319a4ef46349626eafe24b473d5b07c252962224..57eddde9c2f76051f8eff096bb2e68a3a6d851a7 100644 --- a/deployment.yaml +++ b/deployment.yaml @@ -12,7 +12,7 @@ spec: secretName: mlflowbasicauth docker: imageBaseName: gitlab.sauerburger.com:5049/frank/movie-recommender - secretName: movie-recommender-token + secretName: movie-recommender-token-2 --- apiVersion: v1 kind: Service @@ -32,6 +32,8 @@ kind: Ingress metadata: annotations: cert-manager.io/cluster-issuer: "letsencrypt-production" + nginx.ingress.kubernetes.io/enable-cors: "true" + nginx.ingress.kubernetes.io/cors-allow-origin: 'wakefield.ai' kubernetes.io/ingress.class: nginx name: "movie-recommender" spec: