Modify directory name ot mach sed
This commit is contained in:
parent
eb3ee623ab
commit
e6e235a88c
6 changed files with 14 additions and 8 deletions
|
@ -2,6 +2,6 @@
|
||||||
|
|
||||||
### Usefull links
|
### Usefull links
|
||||||
|
|
||||||
* [Get me to my Namespace](https://console-openshift-console.apps.${CLUSTER_NAME}.kvant.cloud/k8s/cluster/projects/${REPO_NAME}-ns)
|
* [Get me to my Namespace](https://console-openshift-console.apps.production.kvant.cloud/k8s/cluster/projects/tenant-tpl)
|
||||||
* [WIKI](https://git.kvant.cloud/phoenix/tenant-tpl/wiki/Tenant--Wiki)
|
* [WIKI](https://git.kvant.cloud/phoenix/tenant-tpl/wiki/Tenant--Wiki)
|
||||||
|
|
||||||
|
|
|
@ -6,14 +6,14 @@
|
||||||
# for a more complex example.
|
# for a more complex example.
|
||||||
keys:
|
keys:
|
||||||
age:
|
age:
|
||||||
- &cluster_age_key age13jnzxrtrghlh8zvc9q3d8yd2a9xdp8jset72l8dwz6pept3j3c0qkmxd47
|
- &tenant_age_key age13jnzxrtrghlh8zvc9q3d8yd2a9xdp8jset72l8dwz6pept3j3c0qkmxd47
|
||||||
creation_rules:
|
creation_rules:
|
||||||
- path_regex: .+secret(\.sops)?\.ya?ml
|
- path_regex: .+secret(\.sops)?\.ya?ml
|
||||||
input_type: yaml
|
input_type: yaml
|
||||||
encrypted_regex: ^(data|stringData)$
|
encrypted_regex: ^(data|stringData)$
|
||||||
key_groups:
|
key_groups:
|
||||||
- age: &key_groups
|
- age: &key_groups
|
||||||
- *cluster_age_key
|
- *tenant_age_key
|
||||||
- path_regex: .+secret(\.sops)?\.env
|
- path_regex: .+secret(\.sops)?\.env
|
||||||
input_type: env
|
input_type: env
|
||||||
key_groups:
|
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