Skip to content

Commit

Permalink
add image
Browse files Browse the repository at this point in the history
  • Loading branch information
nabuskey committed Oct 20, 2023
1 parent b52a754 commit 0fe03ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Binary file added docs/images/git.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 3 additions & 2 deletions docs/pluggable-packages.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ This document proposes the following:
- Use a more configurable Git server, Gitea.
- Imperative pipelines for configuring packages are handled with ArgoCD resource hooks.

![git](images/git.png)

### ArgoCD

Expand All @@ -48,7 +49,6 @@ We could define a spec to support such cases, but considering the main use cases

ArgoCD supports resource hooks which allow users to define tasks to be run during application syncing. While there are some limitations to what it can do, for the majority of simple tasks resource hooks should suffice.


### The in-cluster git server

As documented in [this issue](https://github.com/cnoe-io/idpbuilder/issues/32), using `gitea` offers more configurable and user friendly experience. In short, using it enables:
Expand All @@ -71,7 +71,8 @@ Users are expected to run the `helm template` command to generate manifests.
### Runtime Git server content generation

As mentioned earlier, Git server contents are generated at compile time and cannot be changed at run time.
To solve this, Git content should be created at run time by introducing a new flag, `--package-dir`, to idpbuilder. This flag takes a directory and builds an image with the content from the directory. If this flag is not specified, use the embedded FS to provide the "default experience" where it uses the manifests provided at compile time to bootstrap and add predetermined packages to the cluster.
To solve this, Git content should be created at run time by introducing a new flag, `--package-dir`, to idpbuilder. This flag takes a directory that contains ArgoCD Applications.
If this flag is not specified, use the embedded FS to provide the "default experience" where it uses the manifests provided at compile time to bootstrap and add predetermined packages to the cluster.

#### Repositories

Expand Down

0 comments on commit 0fe03ec

Please sign in to comment.