-
Notifications
You must be signed in to change notification settings - Fork 34
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
[ANCHOR-708][PD] Add sep24-reference-ui helm charts #1628
Conversation
name: sep24-reference-ui-config | ||
namespace: {{ .Values.namespace }} | ||
data: | ||
BUSINESS_SERVER_ENDPOINT: "http://localhost:8091" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should use the Kubernetes hostname of the reference server. It looks like [srv-name].[namespace].svc.cluster.local
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The k8s hostname (only accessible inside the cluster) is not reachable because the ui is a client-side app running in the browser and trying accessing it via localhost:3000 (which is my local machine, not inside the cluster).
I will go ahead try switch ingress to NodePort
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh right, this should be the hostname then. It should be parameterized to whatever was set in the ingress.
sep24-ref-ui: 1. use ui docker image instead of build local 2. rename ref to ui under values.services 3. move ingress host to values.yaml 4. adding missing annotations and labels 5. move businessServerEndpoint to value file reference-server: 1. move ingress host to values.yaml 2. Adding missing annotations and labels
Description
Testing
./gradlew test
Test with demo wallet and transaction complete