Skip to content
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

Update Rstudio Helm Chart #30

Merged
merged 3 commits into from
Apr 26, 2024
Merged

Update Rstudio Helm Chart #30

merged 3 commits into from
Apr 26, 2024

Conversation

trispera
Copy link
Contributor

  • Add NGINX in front of Rstudio for authentication
  • Route points NGINX
  • Add secret with USER and PASSWORD to connect to Rstudio
  • Update README and NOTES.txt

- Add NGINX in front of Rstudio for authentication
- Route points NGINX
- Add secret with USER and PASSWORD to connect to Rstudio
- Update README and NOTES.txt
@trispera trispera requested a review from lvarin April 25, 2024 12:34
@lvarin
Copy link
Member

lvarin commented Apr 25, 2024

Not working for me now

Screenshot from 2024-04-25 15-53-58

@@ -15,6 +15,11 @@ You can retrieve Rstudio URL via this command:
export RSTUDIO=$(oc get route --namespace {{ .Release.Namespace }} -o yaml | yq '.items[0].spec.host')
Copy link
Member

Choose a reason for hiding this comment

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

missing route name

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes. It assumes you don't have other routes already deployed. With your namespace, it'll return other values.
Need to find a better way for this one. With annotations maybe 🤔

Copy link
Member

Choose a reason for hiding this comment

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

You know the name of the route before hand, isn't it? Why not use that?

Copy link
Member

Choose a reason for hiding this comment

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

$ oc get route rstudio -n test-helm-charts -o yaml | yq .spec.host
"pedropedro.2.rahtiapp.fi.2.rahtiapp.fi"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

With this update I know. It wasn't the case before. I'll do the change

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Pushed new commit

@trispera
Copy link
Contributor Author

Did you wait for the build to complete before accessing it?

@lvarin
Copy link
Member

lvarin commented Apr 26, 2024

Shame

No, i did not

@lvarin
Copy link
Member

lvarin commented Apr 26, 2024

Now it works

Copy link
Member

@lvarin lvarin left a comment

Choose a reason for hiding this comment

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

LGTM

@lvarin lvarin merged commit 3ee93dd into main Apr 26, 2024
1 check passed
@trispera trispera deleted the rstudio-nginx branch July 8, 2024 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants