-
Notifications
You must be signed in to change notification settings - Fork 23
fix: notification failing in kubernetes #54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: stage
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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 | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I need url to be http://api.microforge.manojm.site
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. alright iam working it
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 spec:
+ hostAliases:
+ - ip: "10.102.83.6" # ingress-nginx-controller ClusterIP
+ hostnames:
+ - "api.microforge.manojm.site"
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 |
||
| --- | ||
| apiVersion: v1 | ||
| kind: Service | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.