This commit is contained in:
Ubuntu 2025-05-29 05:42:02 +00:00
parent b074f9859c
commit d637852b12
3 changed files with 6 additions and 4 deletions

View File

@ -150,6 +150,7 @@ testcontainers.reuse.enable=true'''
sh """
export namespace=${namespace}
export allowed_origins=${props.allowed_origins}
export ingress_host=${props.ingress_host}
export jwt_secret_key=${props.jwt_secret_key}
export postgres_user=${props.postgres_user}
export postgres_password=${props.postgres_password}
@ -183,4 +184,4 @@ testcontainers.reuse.enable=true'''
}
}
}
}
}

View File

@ -330,7 +330,7 @@ metadata:
kubernetes.io/ingress.class: nginx
spec:
rules:
- host: dg0400.20.214.196.128.nip.io
- host: ${ingress_host}
http:
paths:
- path: /api/auth
@ -353,4 +353,4 @@ spec:
service:
name: recommend-service
port:
number: 80
number: 80

View File

@ -10,6 +10,7 @@ image_org=dg0400
# Application Settings
replicas=1
allowed_origins=http://20.214.195.54
ingress_host=dg0400.20.214.196.128.nip.io
# Security Settings
jwt_secret_key=8O2HQ13etL2BWZvYOiWsJ5uWFoLi6NBUG8divYVoCgtHVvlk3dqRksMl16toztDUeBTSIuOOPvHIrYq11G2BwQ
@ -20,4 +21,4 @@ postgres_password=Hi5Jessica!
resources_requests_cpu=256m
resources_requests_memory=256Mi
resources_limits_cpu=1024m
resources_limits_memory=1024Mi
resources_limits_memory=1024Mi