Modify directory name ot mach sed

This commit is contained in:
Baptiste Bonnot 2024-11-20 11:00:22 +01:00
parent eb3ee623ab
commit e6e235a88c
Signed by: baptiste.bonnot
GPG key ID: 2681291F9206E471
6 changed files with 14 additions and 8 deletions

View file

@ -6,14 +6,14 @@
# for a more complex example.
keys:
age:
- &cluster_age_key age13jnzxrtrghlh8zvc9q3d8yd2a9xdp8jset72l8dwz6pept3j3c0qkmxd47
- &tenant_age_key age13jnzxrtrghlh8zvc9q3d8yd2a9xdp8jset72l8dwz6pept3j3c0qkmxd47
creation_rules:
- path_regex: .+secret(\.sops)?\.ya?ml
input_type: yaml
encrypted_regex: ^(data|stringData)$
key_groups:
- age: &key_groups
- *cluster_age_key
- *tenant_age_key
- path_regex: .+secret(\.sops)?\.env
input_type: env
key_groups:

11
vars/tenant-tpl/README.md Normal file
View file

@ -0,0 +1,11 @@
# Settings and Secrets
Add here settings that depend on the tenant name. This is needed when you
include this git ${REPO_NAME} into multiple tenants. You need to ensure this
folder is called the same way as the kvant tenant you got.
You can add Config Maps and secrets to this folder. The secrets should be
encripted using SOPS (see
[WIKI](https://git.kvant.cloud/phoenix/tenant-tpl/wiki/Tenant--Wiki)). Please
do not forget adding your own key to the [.sops.yaml](.sops.yaml) before
encrypting your secrets if you want to be able to edit them afterwards.

View file

@ -1,5 +0,0 @@
# Settings and Secrets
Add here settings that depend on the tenant name. This is needed when you include this git ${REPO_NAME} into multiple tenants. You need to ensure this folder is called the same way as the kvant tenant you got.
You can add Config Maps and secrets to this folder. The secrets should be encripted using SOPS (see [WIKI](https://git.kvant.cloud/phoenix/tenant-tpl/wiki/Tenant--Wiki)). Please do not forget adding your own key to the [.sops.yaml](.sops.yaml) before encrypting your secrets if you want to be able to edit them afterwards.