Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
sarkarshuvojit committed Apr 30, 2024
1 parent 56e7525 commit e72e314
Showing 1 changed file with 18 additions and 51 deletions.
69 changes: 18 additions & 51 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,59 +1,26 @@
This project was bootstrapped with
[Create React App](https://github.com/facebook/create-react-app).
Kubernetes Secret YAML Encoder/Decoder
--------------------------------------

## Available Scripts
This web application allows you to easily encode and decode the data section of Kubernetes secrets YAML files. It's built with React and provides a user-friendly interface to manage your secrets securely.

In the project directory, you can run:
### Features

### `yarn start`
* Encode plain text data keys and values into base64 for safe storage in Kubernetes secrets.

* Decode base64 encoded data back to plain text for viewing or editing.

* Supports both stringData and data sections within the YAML file. \[To be implemented\]


Runs the app in the development mode.<br /> Open
[http://localhost:3000](http://localhost:3000) to view it in the browser.
### Usage

The page will reload if you make edits.<br /> You will also see any lint errors
in the console.
The application provides a simple interface with two sections:

### `yarn test`
* **Encode:** Paste your plain text Kubernetes secrets YAML file into the top section. The application will automatically encode the data keys and values into base64 format.

* **Decode:** Paste your base64 encoded Kubernetes secrets YAML file into the bottom section. The application will decode the data back to plain text.


Launches the test runner in the interactive watch mode.<br /> See the section
about
[running tests](https://facebook.github.io/create-react-app/docs/running-tests)
for more information.
### Contributing

### `yarn build`

Builds the app for production to the `build` folder.<br /> It correctly bundles
React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.<br /> Your app is
ready to be deployed!

See the section about
[deployment](https://facebook.github.io/create-react-app/docs/deployment) for
more information.

### `yarn eject`

**Note: this is a one-way operation. Once you `eject`, you can’t go back!**

If you aren’t satisfied with the build tool and configuration choices, you can
`eject` at any time. This command will remove the single build dependency from
your project.

Instead, it will copy all the configuration files and the transitive
dependencies (webpack, Babel, ESLint, etc) right into your project so you have
full control over them. All of the commands except `eject` will still work, but
they will point to the copied scripts so you can tweak them. At this point
you’re on your own.

You don’t have to ever use `eject`. The curated feature set is suitable for
small and middle deployments, and you shouldn’t feel obligated to use this
feature. However we understand that this tool wouldn’t be useful if you couldn’t
customize it when you are ready for it.

## Learn More

You can learn more in the
[Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).

To learn React, check out the [React documentation](https://reactjs.org/).
We welcome contributions to this project! Feel free to fork the repository, make changes, and submit a pull request.

0 comments on commit e72e314

Please sign in to comment.