Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion manifests/kubernetes/login-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ data:
DB_PORT: "3306"
DB_NAME: empdir
JWT_EXPIRATION_MS: "86400000"
NOTIFICATION_SERVICE_URL: http://api.microforge.manojm.site
NOTIFICATION_SERVICE_URL: http://notification-service:8083
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

alright iam working it

Copy link
Author

@cidopenup0 cidopenup0 Jan 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Manoj-14 i have tried to add ip of ingress-nginx-controller cluster IP but this is considered as bad practice so i consider the old http://notification-service:8083 way as better option and using service names is standard practice for service to service communication

    spec:
+      hostAliases:
+      - ip: "10.102.83.6"  # ingress-nginx-controller ClusterIP
+        hostnames:
+        - "api.microforge.manojm.site"

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I worked on it but it not worked for some cases when it is mapped to dns resolver so please update the url

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ip is dynamic, so have to update it manually when the k8s namespace gets created

that is why i have been suggesting http://notification-service:8083 thingy

---
apiVersion: v1
kind: Service
Expand Down
2 changes: 1 addition & 1 deletion manifests/kubernetes/notification-mysql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: notification-mysql-config
namespace: microforge-dev-ns
data:
MYSQL_DATABASE: empdirempnotification
MYSQL_DATABASE: empnotification
---
apiVersion: v1
kind: Service
Expand Down