@firestartr/cli 1.54.0-snapshot-1 → 1.54.0-snapshot-3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.js +390 -511
- package/build/packages/cdk8s_renderer/imports/firestartr.dev.d.ts +7 -1
- package/build/packages/cdk8s_renderer/src/claims/base/schemas/common-meta.schema.d.ts +0 -6
- package/build/packages/cdk8s_renderer/src/claims/base/schemas/index.d.ts +60 -97
- package/build/packages/cdk8s_renderer/src/claims/external-secrets/external-secrets.schema.d.ts +18 -20
- package/build/packages/cdk8s_renderer/src/claims/external-secrets/index.d.ts +18 -20
- package/build/packages/cdk8s_renderer/src/claims/github/component.schema.d.ts +8 -6
- package/build/packages/cdk8s_renderer/src/claims/github/group.schema.d.ts +0 -6
- package/build/packages/cdk8s_renderer/src/claims/github/index.d.ts +8 -24
- package/build/packages/cdk8s_renderer/src/claims/github/orgwebhook.schema.d.ts +0 -6
- package/build/packages/cdk8s_renderer/src/claims/github/repository.d.ts +1 -0
- package/build/packages/cdk8s_renderer/src/claims/github/user.schema.d.ts +0 -6
- package/build/packages/cdk8s_renderer/src/claims/tfworkspaces/index.d.ts +34 -2
- package/build/packages/cdk8s_renderer/src/claims/tfworkspaces/terraform.schema.d.ts +34 -2
- package/build/packages/cdk8s_renderer/src/loader/lazy_loader.d.ts +1 -1
- package/build/packages/cdk8s_renderer/src/refsSorter/refsExtractor.d.ts +1 -1
- package/build/packages/operator/src/metrics/CRStates.d.ts +1 -0
- package/build/packages/operator/src/syncCtl.d.ts +1 -0
- package/build/packages/operator/src/utils/index.d.ts +0 -7
- package/build/packages/operator/src/utils/operationErrorMessages.d.ts +1 -0
- package/build/packages/provisioner/src/resources/resource.d.ts +1 -4
- package/build/packages/terraform_provisioner/src/resolutor/index.d.ts +1 -0
- package/build/packages/terraform_provisioner/src/resolutor/resolver.d.ts +1 -0
- package/package.json +1 -1
- package/build/packages/cdk8s_renderer/src/claims/base/schemas/sync-config.schema.d.ts +0 -47
|
@@ -14,7 +14,8 @@ declare const _default: {
|
|
|
14
14
|
type: string;
|
|
15
15
|
properties: {
|
|
16
16
|
policy: {
|
|
17
|
-
|
|
17
|
+
type: string;
|
|
18
|
+
enum: string[];
|
|
18
19
|
};
|
|
19
20
|
name: {
|
|
20
21
|
type: string;
|
|
@@ -24,7 +25,38 @@ declare const _default: {
|
|
|
24
25
|
enum: string[];
|
|
25
26
|
};
|
|
26
27
|
sync: {
|
|
27
|
-
|
|
28
|
+
type: string;
|
|
29
|
+
properties: {
|
|
30
|
+
enabled: {
|
|
31
|
+
type: string;
|
|
32
|
+
};
|
|
33
|
+
period: {
|
|
34
|
+
type: string;
|
|
35
|
+
pattern: string;
|
|
36
|
+
};
|
|
37
|
+
schedule: {
|
|
38
|
+
type: string;
|
|
39
|
+
};
|
|
40
|
+
schedule_timezone: {
|
|
41
|
+
type: string;
|
|
42
|
+
};
|
|
43
|
+
policy: {
|
|
44
|
+
type: string;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
additionalProperties: boolean;
|
|
48
|
+
required: string[];
|
|
49
|
+
oneOf: ({
|
|
50
|
+
required: string[];
|
|
51
|
+
not?: undefined;
|
|
52
|
+
} | {
|
|
53
|
+
not: {
|
|
54
|
+
anyOf: {
|
|
55
|
+
required: string[];
|
|
56
|
+
}[];
|
|
57
|
+
};
|
|
58
|
+
required?: undefined;
|
|
59
|
+
})[];
|
|
28
60
|
};
|
|
29
61
|
valuesSchema: {
|
|
30
62
|
type: string;
|
|
@@ -2,5 +2,5 @@ import { InitializerPatches } from '../initializers/base';
|
|
|
2
2
|
import { GlobalSection } from '../globals/base';
|
|
3
3
|
import { OverriderPatches } from '../overriders/base';
|
|
4
4
|
import { Normalizer } from '../normalizers/base';
|
|
5
|
-
export declare function loadClaim(claimRef: string, org: string, defaults: any, patchClaim: (claim: any, defaults: any) => any, loadInitializers: (claim: any) => Promise<InitializerPatches[]>, loadGlobals: (claim: any) => Promise<GlobalSection[]>, loadOverrides: (claim: any) => OverriderPatches[], loadNormalizers: (claim: any, path: string) => Promise<Normalizer[]>, cwd?: string, existingRefs?: any): Promise<any>;
|
|
5
|
+
export declare function loadClaim(claimRef: string, org: string, defaults: any, patchClaim: (claim: any, defaults: any) => any, loadInitializers: (claim: any) => Promise<InitializerPatches[]>, loadGlobals: (claim: any) => Promise<GlobalSection[]>, loadOverrides: (claim: any) => OverriderPatches[], loadNormalizers: (claim: any, path: string) => Promise<Normalizer[]>, cwd?: string, existingRefs?: any, postValidations?: Map<string, Function[]>): Promise<any[]>;
|
|
6
6
|
export declare function resetLazyLoader(): void;
|
|
@@ -2,5 +2,5 @@ import { RenderClaims } from '../renderer/types';
|
|
|
2
2
|
export declare function extractRefs(renderClaims: RenderClaims, kind: string): any;
|
|
3
3
|
export declare function extractAllRefs(claimData: string): any[];
|
|
4
4
|
export declare function getGroupParentRef(parent: string, references?: any[]): any[];
|
|
5
|
-
export declare function getTfWorkspacesRefs(values: any, references?: any[]): any[];
|
|
5
|
+
export declare function getTfWorkspacesRefs(values: any, references?: any[], secretsRefs?: any[]): any[][];
|
|
6
6
|
export declare function getComponentVarsAndSecretsRefs(parsedClaim: any): string[];
|
|
@@ -1,9 +1,2 @@
|
|
|
1
1
|
export declare function replaceConfigSecrets(config: any, secrets: any): any;
|
|
2
2
|
export declare function replaceInlineSecrets(inline: string, secrets: any): string;
|
|
3
|
-
/**
|
|
4
|
-
* Retrieves a policy annotation value from a custom resource
|
|
5
|
-
* @param item - The CR to get the policy from
|
|
6
|
-
* @param annotation - The annotation key to retrieve
|
|
7
|
-
* @returns The policy value, or undefined if not set
|
|
8
|
-
*/
|
|
9
|
-
export declare function getPolicy(item: any, annotation: string): string | undefined;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export declare const APPLY_DEFAULT_ERROR_MESSAGE = "An error occurred while executing the Terraform apply operation.";
|
|
2
2
|
export declare const DESTROY_DEFAULT_ERROR_MESSAGE = "An error occurred while executing the Terraform destroy operation.";
|
|
3
3
|
export declare const PLAN_DEFAULT_ERROR_MESSAGE = "An error occurred while executing the Terraform plan operation.";
|
|
4
|
+
export declare const SYNC_DEFAULT_ERROR_MESSAGE = "An error occurred while executing the Sync operation.";
|
|
@@ -14,13 +14,10 @@ export declare class Resource {
|
|
|
14
14
|
onTFStreaming(): Promise<void>;
|
|
15
15
|
setLogStream(fnData: Function, fnEnd: Function, reopen?: boolean): void;
|
|
16
16
|
constructor(mainCR: any, operation: string, deps?: any[]);
|
|
17
|
-
run(
|
|
18
|
-
planOnly?: boolean;
|
|
19
|
-
}): Promise<void>;
|
|
17
|
+
run(): Promise<void>;
|
|
20
18
|
artifact(): any;
|
|
21
19
|
synth(): Promise<void>;
|
|
22
20
|
log(msg: string): void;
|
|
23
|
-
runTerraformPlanOnly(): Promise<void>;
|
|
24
21
|
runTerraform(): Promise<void>;
|
|
25
22
|
preprocess(): Promise<void>;
|
|
26
23
|
postprocess(): Promise<void>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export declare function resolveScalar(value: any, refs: any): any;
|
|
2
2
|
export declare function getRefNameFromKey(key: string): string;
|
|
3
|
+
export declare function resolveClaimSecret(value: string, refs: any): any;
|
|
3
4
|
export declare function resolveRef(key: string, references: any, wantsInterpolation?: boolean): any;
|
package/package.json
CHANGED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
$id: string;
|
|
3
|
-
definitions: {
|
|
4
|
-
SyncConfig: {
|
|
5
|
-
$id: string;
|
|
6
|
-
type: string;
|
|
7
|
-
description: string;
|
|
8
|
-
properties: {
|
|
9
|
-
enabled: {
|
|
10
|
-
type: string;
|
|
11
|
-
description: string;
|
|
12
|
-
};
|
|
13
|
-
period: {
|
|
14
|
-
type: string;
|
|
15
|
-
pattern: string;
|
|
16
|
-
description: string;
|
|
17
|
-
};
|
|
18
|
-
schedule: {
|
|
19
|
-
type: string;
|
|
20
|
-
description: string;
|
|
21
|
-
};
|
|
22
|
-
schedule_timezone: {
|
|
23
|
-
type: string;
|
|
24
|
-
description: string;
|
|
25
|
-
};
|
|
26
|
-
policy: {
|
|
27
|
-
type: string;
|
|
28
|
-
description: string;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
additionalProperties: boolean;
|
|
32
|
-
required: string[];
|
|
33
|
-
oneOf: ({
|
|
34
|
-
required: string[];
|
|
35
|
-
not?: undefined;
|
|
36
|
-
} | {
|
|
37
|
-
not: {
|
|
38
|
-
anyOf: {
|
|
39
|
-
required: string[];
|
|
40
|
-
}[];
|
|
41
|
-
};
|
|
42
|
-
required?: undefined;
|
|
43
|
-
})[];
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
export default _default;
|