fix sops-nix issue with not creating secrets dir
- caused by inclusion of dbt_profiles path in template
This commit is contained in:
parent
afb138aa94
commit
000409e402
|
@ -4,7 +4,6 @@ let
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
sops.templates."dbt_profiles.yml" = {
|
sops.templates."dbt_profiles.yml" = {
|
||||||
path = "/run/secrets/templates/dbt/profiles.yml";
|
|
||||||
mode = "0600";
|
mode = "0600";
|
||||||
content = ''
|
content = ''
|
||||||
baseddata:
|
baseddata:
|
||||||
|
|
|
@ -94,8 +94,8 @@ in {
|
||||||
isReadOnly = false;
|
isReadOnly = false;
|
||||||
};
|
};
|
||||||
"/root/.dbt/profiles.yml" = {
|
"/root/.dbt/profiles.yml" = {
|
||||||
hostPath = "/run/secrets/templates/dbt/profiles.yml";
|
hostPath = "/run/secrets/rendered/dbt_profiles.yml";
|
||||||
isReadOnly = false;
|
isReadOnly = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue