Skip to content

Commit

Permalink
More gifs
Browse files Browse the repository at this point in the history
  • Loading branch information
anirudhprasad-sap committed Jul 5, 2024
1 parent ec55556 commit bf3c9c3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
Binary file added .images/cap-op-plugin-gen-input-yaml.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .images/cap-op-plugin-gen-prompt.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .images/cds-build.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ The generated `chart/values.yaml` contains two types of information:
1. You must generate the final helm chart before deploying your application. You can do so by running `cds build`. During the build, the plugin will generate the final helm chart in your project's `gen` directory, which includes the predefined `templates` folder.

![](.images/cds-build.gif)

> If you have already added the `templates` folder during the initial plugin call using `--with-templates` option, you can skip this step as the helm chart is already complete.

2. Until now, we have only filled in the design time information in the chart. But to deploy the application, you need to create a `runtime-values.yaml` file with all the runtime values, as mentioned in the configuration section. You can generate the file using the plugin itself.
Expand All @@ -134,12 +136,16 @@ The generated `chart/values.yaml` contains two types of information:
npx cap-op-plugin generate-runtime-values
```

![](.images/cap-op-plugin-gen-prompt.gif)

* **File Mode** - You can provide all the required runtime values in a YAML file using this mode. To use this mode, run the following command:

```sh
npx cap-op-plugin generate-runtime-values --with-input-yaml <input-yaml-path>
```

![](.images/cap-op-plugin-gen-input-yaml.gif)

Sample input yaml -

```yaml
Expand Down

0 comments on commit bf3c9c3

Please sign in to comment.