diff --git a/JugarAlPadel/K8S/Makefile b/JugarAlPadel/K8S/Makefile index 6e0416b..f9c7bfa 100644 --- a/JugarAlPadel/K8S/Makefile +++ b/JugarAlPadel/K8S/Makefile @@ -1,7 +1,7 @@ export ARQUITECTURA := $(shell lscpu |grep itectur | tr -d ' '| cut -f2 -d':') export REGISTRY=registry.reymota.es -export IMG_VERSION = 0.70.57 +export IMG_VERSION = 0.70.60 export IMG_NGINX_VERSION = 2.3 # limpia todo diff --git a/JugarAlPadel/K8S/env-prod-configmap.yaml b/JugarAlPadel/K8S/env-prod-configmap.yaml index 0e7ba92..168ce6b 100644 --- a/JugarAlPadel/K8S/env-prod-configmap.yaml +++ b/JugarAlPadel/K8S/env-prod-configmap.yaml @@ -1,6 +1,7 @@ apiVersion: v1 data: DEBUG: "False" + TESTING: "True" APP_VERSION: 12.0.0 DATABASE: postgres kind: ConfigMap diff --git a/JugarAlPadel/K8S/jugaralpadel-deployment.yaml b/JugarAlPadel/K8S/jugaralpadel-deployment.yaml index bb6f9cd..5f08b9a 100644 --- a/JugarAlPadel/K8S/jugaralpadel-deployment.yaml +++ b/JugarAlPadel/K8S/jugaralpadel-deployment.yaml @@ -51,6 +51,11 @@ spec: configMapKeyRef: key: DEBUG name: env-prod + - name: TESTING + valueFrom: + configMapKeyRef: + key: TESTING + name: env-prod ports: - containerPort: 8000 protocol: TCP diff --git a/JugarAlPadel/gestion_reservas/gestion_reservas/settings.py b/JugarAlPadel/gestion_reservas/gestion_reservas/settings.py index 3d76606..0a84cf3 100644 --- a/JugarAlPadel/gestion_reservas/gestion_reservas/settings.py +++ b/JugarAlPadel/gestion_reservas/gestion_reservas/settings.py @@ -30,9 +30,10 @@ SECRET_KEY = 'hey' # SECURITY WARNING: don't run with debug turned on in production! DEBUG = os.environ["DEBUG"] == 'True' +TESTING = os.environ["TESTING"] == 'True' -ALLOWED_HOSTS = [".ocp-cluster.reymota.lab", "jugaralpadel.rancher.reymota.lab", "jugaralpadel.es"] -CSRF_TRUSTED_ORIGINS = ["https://*.ocp-cluster.reymota.lab", "http://jugaralpadel.rancher.reymota.lab", "https://jugaralpadel.rancher.reymota.lab", "https://jugaralpadel.es"] +ALLOWED_HOSTS = [".ocp-cluster.reymota.lab", "jugaralpadel.rancher.reymota.lab", "jugaralpadel.es", ".reymota.es"] +CSRF_TRUSTED_ORIGINS = ["https://*.ocp-cluster.reymota.lab", "http://jugaralpadel.rancher.reymota.lab", "https://jugaralpadel.rancher.reymota.lab", "https://jugaralpadel.es", "http://*.reymota.es"] # Application definition @@ -164,6 +165,9 @@ else: EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' SITE_URL = "http://jugaralpadel.es" +if TESTING is True: + SITE_URL = "http://jalp.reymota.es" + # EMAIL_HOST = 'smtp.gmail.com' # EMAIL_HOST_USER = 'jugaralpadelentreamigos@gmail.com' # EMAIL_HOST_PASSWORD = 'btjnlcliimxcnmhi' # Es mejor usar una contraseña de aplicación de Google diff --git a/JugarAlPadel/gestion_reservas/templates/politica_privacidad.html b/JugarAlPadel/gestion_reservas/templates/politica_privacidad.html index fea235a..1a52429 100644 --- a/JugarAlPadel/gestion_reservas/templates/politica_privacidad.html +++ b/JugarAlPadel/gestion_reservas/templates/politica_privacidad.html @@ -6,7 +6,7 @@
Última actualización: {{ fecha_actual }}
El responsable del tratamiento de los datos personales es [Nombre de la Organización], con dirección en [Dirección] y correo electrónico [Email de contacto].
+El responsable del tratamiento de los datos personales es Raúl Fernández Suárez, con dirección en Calle Ravena, 7 - 28032 Madrid y correo electrónico admin@jugaralpadel.es.
Recopilamos los siguientes datos personales cuando te registras en nuestra plataforma y reservas eventos:
@@ -45,13 +45,13 @@Para ejercer estos derechos, contacta con nosotros en [Email de contacto].
+Para ejercer estos derechos, contacta con nosotros en admin@jugaralpadel.es.
Aplicamos medidas de seguridad para proteger los datos contra accesos no autorizados, pérdidas o alteraciones.
Si tienes preguntas sobre esta política, puedes contactarnos en [Email de contacto].
+Si tienes preguntas sobre esta política, puedes contactarnos en admin@jugaralpadel.es.
{% endblock %}