Add missing IncludeSecret type

This commit is contained in:
Johan Haals
2021-01-04 16:27:12 +01:00
parent c15d3db0a7
commit 8987bf52f4
+6 -1
View File
@@ -42,7 +42,12 @@ type DataSecret = {
path?: string;
};
type Secret = FileSecret | EnvSecret | DataSecret;
// TODO(Rugvip): Move this out of secret reading when we remove the deprecated DataSecret and $secret format
type IncludeSecret = {
include: string;
};
type Secret = FileSecret | EnvSecret | DataSecret | IncludeSecret;
// Schema for each type of secret description
const secretLoaderSchemas = {