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

Addition of USERNAME and PASSWORD to environment variables to create Owner user. #5506

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

bikash119
Copy link
Contributor

Included default username/password to environment variable to create owner user.

Description

  • Added USERNAME and PASSWORD to the environment variables. This change will allow the user to login to Argilla UI with owner user credentials.

Closes #5434

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested

In dev machine

  • install minikube ( local k8s cluster)
  • Create k8s resources ( kubect apply -f <resource.yaml> )
  • Configure port forwarding ( kubectl port-forward service/argilla-server 6900:6900 )
  • Open Argilla UI ( http://localhost:6900)
  • Login with username: argilla , password : 12345678
  • The user will get authenticated and will be redirected to http://localhost:6900/datasets screen.

Checklist

  • I followed the style guidelines of this project
  • I did a self-review of my code
  • I made corresponding changes to the documentation
  • I have added relevant notes to the CHANGELOG.md file (See https://keepachangelog.com/)

Copy link
Member

@davidberenstein1957 davidberenstein1957 left a comment

Choose a reason for hiding this comment

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

Hi, this looks good. Can you also confirm this has been added to the right documentation in the argilla-server directory and potentially also argilla docs itself. https://docs.argilla.io/latest/reference/argilla-server/configuration/
and the readme for the server. Thanks for the contribution :)

Comment on lines 21 to 24
### Fixed

- Fixed the deployment yaml used to create a new Argilla server in K8s. Added `USERNAME` and `PASSWORD` to the environment variables of pod template. ([#5434](https://github.com/argilla-io/argilla/issues/5434))

Choose a reason for hiding this comment

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

Suggested change
### Fixed
- Fixed the deployment yaml used to create a new Argilla server in K8s. Added `USERNAME` and `PASSWORD` to the environment variables of pod template. ([#5434](https://github.com/argilla-io/argilla/issues/5434))

@@ -18,6 +18,10 @@ These are the section headers that we use:

Choose a reason for hiding this comment

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

Suggested change
### Fixed
- Fixed the deployment yaml used to create a new Argilla server in K8s. Added `USERNAME` and `PASSWORD` to the environment variables of pod template. ([#5434](https://github.com/argilla-io/argilla/issues/5434))

@davidberenstein1957
Copy link
Member

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.

[DOCS] add USERNAME and PASSWORD environment variables to create the owner user.
2 participants