-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add generating all bridge tokens by default for matrix; add openbao a…
…s demo app and default app installed during operator phase (#286) * add generating all bridge app service and home server tokens by default for matrix * openbao is a now a demo app; make notes about github being optional for hookshot via matrix if bridges are enabled * add openbao to audio generation * add openbao as a default operator that is installed * add openbao docs and more matrix secret creation for github hookshot bridge
- Loading branch information
Showing
9 changed files
with
226 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
[Openbao](https://openbao.org/) is a self-hosted FOSS alternative to Hashicorp's Vault. We're still experimenting with it, but we're really hopeful! | ||
|
||
## Example config | ||
|
||
Here's an example config: | ||
|
||
```yaml | ||
apps: | ||
openbao: | ||
description: | | ||
⚠️ [magenta]ALPHA STATUS[/magenta] | ||
[Openbao](https://openbao.org/) is FOSS Linux Foundation maintained alternative to HashiCorp Vault. | ||
enabled: false | ||
# Initialization of the app through smol-k8s-lab using bitwarden and/or k8s secrets | ||
init: | ||
enabled: true | ||
argo: | ||
# secrets keys to make available to Argo CD ApplicationSets | ||
secret_keys: | ||
# name of the cluster that vault is associated with, can be any unique name | ||
cluster_name: my-cool-cluster | ||
repo: https://github.com/small-hack/argocd-apps | ||
# path in the argo repo to point to. Trailing slash very important! | ||
path: demo/openbao/ | ||
# either the branch or tag to point at in the argo repo above | ||
revision: main | ||
# kubernetes cluster to install the k8s app into, defaults to Argo CD default | ||
cluster: https://kubernetes.default.svc | ||
# namespace to install the k8s app in | ||
namespace: openbao | ||
# recurse directories in the provided git repo | ||
directory_recursion: false | ||
# source repos for Argo CD App Project (in addition to argo.repo) | ||
project: | ||
name: vault | ||
source_repos: | ||
- https://openbao.github.io/openbao-helm | ||
- https://github.com/openbao/openbao-helm | ||
destination: | ||
# automatically includes the app's namespace and argocd's namespace | ||
namespaces: [] | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# internal libraries | ||
from smol_k8s_lab.bitwarden.bw_cli import BwCLI | ||
from smol_k8s_lab.k8s_tools.argocd_util import ArgoCD | ||
|
||
def configure_openbao(argocd: ArgoCD, config: dict, bw: BwCLI = None) -> None: | ||
""" | ||
setup the openbao as an Argo CD Application | ||
""" | ||
if not argocd.check_if_app_exists('openbao'): | ||
argocd.install_app('openbao', config['argo']) | ||
else: | ||
argocd.sync_app('openbao') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters