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

fix(helm): improve opensearch deployment #843

Merged
merged 4 commits into from
Nov 12, 2024

Conversation

mdonadoni
Copy link
Member

@mdonadoni mdonadoni commented Nov 11, 2024

Copy link

codecov bot commented Nov 11, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 31.06%. Comparing base (085cbea) to head (47c7a02).
Report is 4 commits behind head on master.

Files with missing lines Patch % Lines
reana/reana_dev/cluster.py 0.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #843      +/-   ##
==========================================
- Coverage   31.08%   31.06%   -0.02%     
==========================================
  Files          26       26              
  Lines        2487     2488       +1     
==========================================
  Hits          773      773              
- Misses       1714     1715       +1     
Files with missing lines Coverage Δ
reana/reana_dev/cluster.py 48.82% <0.00%> (-0.29%) ⬇️

@mdonadoni mdonadoni changed the title fix(helm): improve opensearch local deployment fix(helm): improve opensearch deployment Nov 11, 2024
mdonadoni added a commit to mdonadoni/reana that referenced this pull request Nov 11, 2024
Avoid re-defining the `REANA_OPENSEARCH_PASSWORD` environment variable
multiple times in reana-workflow-controller.
@mdonadoni mdonadoni force-pushed the opensearch-local-deployment branch 2 times, most recently from cb81acc to 3402412 Compare November 12, 2024 14:24
mdonadoni added a commit to mdonadoni/reana that referenced this pull request Nov 12, 2024
…nahub#843)

When deploying REANA locally, allow OpenSearch to access root-owned
directory by setting `fsGroup` to zero. This is needed to access
`hostPath` volumes when deploying reana with kind and Docker.
mdonadoni added a commit to mdonadoni/reana that referenced this pull request Nov 12, 2024
Avoid re-defining the `REANA_OPENSEARCH_PASSWORD` environment variable
multiple times in reana-workflow-controller.
@@ -215,7 +215,7 @@ opensearch:
cn: "reana.io"
ttl: 365
cert:
cn: "reana-opensearch-master.default.svc.cluster.local"
Copy link
Member

Choose a reason for hiding this comment

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

Cosmetics: s/opensearch/OpenSearch/ in the commit log.

@@ -162,6 +161,7 @@ This Helm automatically prefixes all names using the release name to avoid colli
| `secrets.gitlab.REANA_GITLAB_OAUTH_APP_ID` | GitLab OAuth application id | None |
| `secrets.gitlab.REANA_GITLAB_OAUTH_APP_SECRET` | **[Do not use in production, use secrets instead]** GitLab OAuth application secret | None |
| `secrets.login` | **[Do not use in production, use secrets instead]** Third-party Keycloak identity provider consumer key and secret ([configuration details](https://docs.reana.io/administration/configuration/configuring-access/#keycloak-single-sign-on-configuration)) | `{}` |
| `secrets.opensearch.password` | **[Do not use in production, use secrets instead]** OpenSearch password for Basic Authentication | None |
Copy link
Member

Choose a reason for hiding this comment

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

Cosmetics: redefining instead of "re-defining" in the commit log.

…nahub#843)

When deploying REANA locally, allow OpenSearch to access root-owned
directory by setting `fsGroup` to zero. This is needed to access
`hostPath` volumes when deploying reana with kind and Docker.
Avoid redefining the `REANA_OPENSEARCH_PASSWORD` environment variable
multiple times in reana-workflow-controller.
@tiborsimko tiborsimko merged commit 47c7a02 into reanahub:master Nov 12, 2024
12 checks passed
@mdonadoni mdonadoni deleted the opensearch-local-deployment branch November 14, 2024 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants