Modify directory name ot mach sed
This commit is contained in:
parent
eb3ee623ab
commit
e6e235a88c
6 changed files with 14 additions and 8 deletions
|
@ -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
11
vars/tenant-tpl/README.md
Normal 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.
|
|
@ -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.
|
Loading…
Add table
Add a link
Reference in a new issue