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

Implement UI component for Secrets #297

Closed
petar-cvit opened this issue May 26, 2024 · 5 comments · Fixed by #330
Closed

Implement UI component for Secrets #297

petar-cvit opened this issue May 26, 2024 · 5 comments · Fixed by #330
Assignees
Labels
good first issue Good for newcomers react UI Update on the UI

Comments

@petar-cvit
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
Some K8s components are supported to have a custom UI component, and those can be found here. The scope of this issue is to support Secrets. The new Secrets component should be similar to other components we already have, so feel free to check the existing ones out. You can fetch the data about a secret by calling the backend on

/api/resources?group=&version=v1&kind=Secret&name=<name>&namespace=<namespace>

To be able to test this, you will need to use a template that supports secrets. You should add the following template and create a Module from it:

repo: https://github.com/cyclops-ui/templates
path: redis
version: test-secrets-ui
@doncicuto
Copy link
Contributor

Hi, there, may I take this one then 😄? Thanks!

@petar-cvit
Copy link
Collaborator Author

Sure @doncicuto!

@doncicuto
Copy link
Contributor

Hi @petar-cvit, I think this issue is a bit advanced for a good first issue 😄 so I'll need some more time, I'll have to create a template that already has secrets on it to test the new component. I'll start reading https://cyclops-ui.com/docs/templates/

@petar-cvit
Copy link
Collaborator Author

@doncicuto no vworries, let us know if you will have any questions.

Regarding the template, I just saw that I set the wrong template in the description. You can deploy a secret with the following template:

repo: https://github.com/cyclops-ui/templates
path: demo
version: test-secrets-ui

@doncicuto
Copy link
Contributor

Cool @petar-cvit thank you, that will ease my job

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers react UI Update on the UI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants