@harnessio/react-chaos-manager-client 1.22.0 → 1.23.0
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/dist/chaos-manager/src/services/index.d.ts +14 -1
- package/dist/chaos-manager/src/services/schemas/ChaosfaultFaultVariables.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentApiAuth.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentAuth.d.ts +16 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentAuth.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentAuthType.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentAuthType.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentExperimentComponents.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentRedisAuth.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentRedisAuth.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentSshFaultAuth.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentSshFaultAuth.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentVmWareAuth.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentVmWareAuth.js +4 -0
- package/dist/chaos-manager/src/services/schemas/FaulttemplateAuth.d.ts +14 -0
- package/dist/chaos-manager/src/services/schemas/FaulttemplateAuth.js +1 -0
- package/dist/chaos-manager/src/services/schemas/FaulttemplateAwsAuth.d.ts +3 -0
- package/dist/chaos-manager/src/services/schemas/FaulttemplateAwsAuth.js +4 -0
- package/dist/chaos-manager/src/services/schemas/FaulttemplateAzureAuth.d.ts +3 -0
- package/dist/chaos-manager/src/services/schemas/FaulttemplateAzureAuth.js +4 -0
- package/dist/chaos-manager/src/services/schemas/FaulttemplateChaosKubernetesSpec.d.ts +0 -2
- package/dist/chaos-manager/src/services/schemas/FaulttemplateChaosSpec.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/FaulttemplateGcpAuth.d.ts +3 -0
- package/dist/chaos-manager/src/services/schemas/FaulttemplateGcpAuth.js +4 -0
- package/dist/chaos-manager/src/services/schemas/FaulttemplateRedisAuth.d.ts +3 -0
- package/dist/chaos-manager/src/services/schemas/FaulttemplateRedisAuth.js +4 -0
- package/dist/chaos-manager/src/services/schemas/FaulttemplateSshAuth.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/FaulttemplateSshAuth.js +4 -0
- package/dist/chaos-manager/src/services/schemas/FaulttemplateTls.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/FaulttemplateTls.js +4 -0
- package/dist/chaos-manager/src/services/schemas/FaulttemplateVmWareAuth.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/FaulttemplateVmWareAuth.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ProbeAuthorization.d.ts +0 -1
- package/dist/chaos-manager/src/services/schemas/ProbeAuthorizationTemplate.d.ts +0 -1
- package/dist/chaos-manager/src/services/schemas/TemplateVariableCategory.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/TemplateVariableType.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/V1AppDynamicsInputs.d.ts +0 -4
- package/dist/chaos-manager/src/services/schemas/V1Authorization.d.ts +0 -1
- package/dist/chaos-manager/src/services/schemas/V1DynatraceApmProbeInputs.d.ts +0 -4
- package/dist/chaos-manager/src/services/schemas/V1NewrelicInputs.d.ts +0 -4
- package/dist/chaos-manager/src/services/schemas/V1PrometheusInputs.d.ts +2 -6
- package/dist/chaos-manager/src/services/schemas/V1SplunkObservabilityInputs.d.ts +0 -4
- package/package.json +1 -1
- package/dist/chaos-manager/src/services/schemas/V1ApmProbeTlsConfig.d.ts +0 -14
- /package/dist/chaos-manager/src/services/schemas/{V1ApmProbeTlsConfig.js → ExperimentApiAuth.js} +0 -0
|
@@ -499,7 +499,10 @@ export type { ExecutionProbeData } from './schemas/ExecutionProbeData';
|
|
|
499
499
|
export type { ExecutionProbeIterations } from './schemas/ExecutionProbeIterations';
|
|
500
500
|
export type { ExecutionPromProbe } from './schemas/ExecutionPromProbe';
|
|
501
501
|
export type { ExperimentActionRef } from './schemas/ExperimentActionRef';
|
|
502
|
+
export type { ExperimentApiAuth } from './schemas/ExperimentApiAuth';
|
|
502
503
|
export type { ExperimentApplication } from './schemas/ExperimentApplication';
|
|
504
|
+
export type { ExperimentAuth } from './schemas/ExperimentAuth';
|
|
505
|
+
export type { ExperimentAuthType } from './schemas/ExperimentAuthType';
|
|
503
506
|
export type { ExperimentChaosInputs } from './schemas/ExperimentChaosInputs';
|
|
504
507
|
export type { ExperimentCleanupPolicy } from './schemas/ExperimentCleanupPolicy';
|
|
505
508
|
export type { ExperimentConfigMap } from './schemas/ExperimentConfigMap';
|
|
@@ -513,13 +516,16 @@ export type { ExperimentProbeActions } from './schemas/ExperimentProbeActions';
|
|
|
513
516
|
export type { ExperimentProbeConditions } from './schemas/ExperimentProbeConditions';
|
|
514
517
|
export type { ExperimentProbeRef } from './schemas/ExperimentProbeRef';
|
|
515
518
|
export type { ExperimentProjectedVolumes } from './schemas/ExperimentProjectedVolumes';
|
|
519
|
+
export type { ExperimentRedisAuth } from './schemas/ExperimentRedisAuth';
|
|
516
520
|
export type { ExperimentSaveChaosExperimentResponse } from './schemas/ExperimentSaveChaosExperimentResponse';
|
|
517
521
|
export type { ExperimentSecret } from './schemas/ExperimentSecret';
|
|
518
522
|
export type { ExperimentSecurityContext } from './schemas/ExperimentSecurityContext';
|
|
519
523
|
export type { ExperimentSelector } from './schemas/ExperimentSelector';
|
|
520
524
|
export type { ExperimentSidecar } from './schemas/ExperimentSidecar';
|
|
525
|
+
export type { ExperimentSshFaultAuth } from './schemas/ExperimentSshFaultAuth';
|
|
521
526
|
export type { ExperimentStatusCheckTimeout } from './schemas/ExperimentStatusCheckTimeout';
|
|
522
527
|
export type { ExperimentTargets } from './schemas/ExperimentTargets';
|
|
528
|
+
export type { ExperimentVmWareAuth } from './schemas/ExperimentVmWareAuth';
|
|
523
529
|
export type { ExperimentWorkload } from './schemas/ExperimentWorkload';
|
|
524
530
|
export type { ExperimentWorkloadKind } from './schemas/ExperimentWorkloadKind';
|
|
525
531
|
export type { ExperimenttemplateAction } from './schemas/ExperimenttemplateAction';
|
|
@@ -533,19 +539,27 @@ export type { ExperimenttemplateVertexChild } from './schemas/Experimenttemplate
|
|
|
533
539
|
export type { ExperimenttemplateVertexResource } from './schemas/ExperimenttemplateVertexResource';
|
|
534
540
|
export type { FaultLink } from './schemas/FaultLink';
|
|
535
541
|
export type { FaulttemplateApplicationTarget } from './schemas/FaulttemplateApplicationTarget';
|
|
542
|
+
export type { FaulttemplateAuth } from './schemas/FaulttemplateAuth';
|
|
543
|
+
export type { FaulttemplateAwsAuth } from './schemas/FaulttemplateAwsAuth';
|
|
544
|
+
export type { FaulttemplateAzureAuth } from './schemas/FaulttemplateAzureAuth';
|
|
536
545
|
export type { FaulttemplateChaosKubernetesSpec } from './schemas/FaulttemplateChaosKubernetesSpec';
|
|
537
546
|
export type { FaulttemplateChaosParameter } from './schemas/FaulttemplateChaosParameter';
|
|
538
547
|
export type { FaulttemplateChaosSpec } from './schemas/FaulttemplateChaosSpec';
|
|
539
548
|
export type { FaulttemplateConfigMapVolume } from './schemas/FaulttemplateConfigMapVolume';
|
|
540
549
|
export type { FaulttemplateFaultTemplate } from './schemas/FaulttemplateFaultTemplate';
|
|
550
|
+
export type { FaulttemplateGcpAuth } from './schemas/FaulttemplateGcpAuth';
|
|
541
551
|
export type { FaulttemplateHostPathVolume } from './schemas/FaulttemplateHostPathVolume';
|
|
542
552
|
export type { FaulttemplateKubernetesTarget } from './schemas/FaulttemplateKubernetesTarget';
|
|
543
553
|
export type { FaulttemplateLink } from './schemas/FaulttemplateLink';
|
|
554
|
+
export type { FaulttemplateRedisAuth } from './schemas/FaulttemplateRedisAuth';
|
|
544
555
|
export type { FaulttemplateResourceRequirements } from './schemas/FaulttemplateResourceRequirements';
|
|
545
556
|
export type { FaulttemplateSecretVolume } from './schemas/FaulttemplateSecretVolume';
|
|
546
557
|
export type { FaulttemplateSpec } from './schemas/FaulttemplateSpec';
|
|
558
|
+
export type { FaulttemplateSshAuth } from './schemas/FaulttemplateSshAuth';
|
|
547
559
|
export type { FaulttemplateStatusCheckTimeout } from './schemas/FaulttemplateStatusCheckTimeout';
|
|
548
560
|
export type { FaulttemplateTarget } from './schemas/FaulttemplateTarget';
|
|
561
|
+
export type { FaulttemplateTls } from './schemas/FaulttemplateTls';
|
|
562
|
+
export type { FaulttemplateVmWareAuth } from './schemas/FaulttemplateVmWareAuth';
|
|
549
563
|
export type { Gamedayrunv2ApprovalStatus } from './schemas/Gamedayrunv2ApprovalStatus';
|
|
550
564
|
export type { Gamedayrunv2PrerequisiteStatus } from './schemas/Gamedayrunv2PrerequisiteStatus';
|
|
551
565
|
export type { Gamedayv2GamedayRunStatus } from './schemas/Gamedayv2GamedayRunStatus';
|
|
@@ -891,7 +905,6 @@ export type { TypesUpdatePrerequisiteRequest } from './schemas/TypesUpdatePrereq
|
|
|
891
905
|
export type { TypesUpdateStakeHolderActionRequest } from './schemas/TypesUpdateStakeHolderActionRequest';
|
|
892
906
|
export type { TypesWeightages } from './schemas/TypesWeightages';
|
|
893
907
|
export type { V1ApmProbeInputs } from './schemas/V1ApmProbeInputs';
|
|
894
|
-
export type { V1ApmProbeTlsConfig } from './schemas/V1ApmProbeTlsConfig';
|
|
895
908
|
export type { V1AppDynamicsInputs } from './schemas/V1AppDynamicsInputs';
|
|
896
909
|
export type { V1AppdMetrics } from './schemas/V1AppdMetrics';
|
|
897
910
|
export type { V1Authorization } from './schemas/V1Authorization';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
2
2
|
export interface ChaosfaultFaultVariables {
|
|
3
3
|
correlationID?: string;
|
|
4
|
+
faultAuthentication?: TemplateVariable[];
|
|
4
5
|
faultTargets?: TemplateVariable[];
|
|
5
6
|
faultTunable?: TemplateVariable[];
|
|
6
7
|
variables?: TemplateVariable[];
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ExperimentApiAuth } from '../schemas/ExperimentApiAuth';
|
|
2
|
+
import type { ExperimentRedisAuth } from '../schemas/ExperimentRedisAuth';
|
|
3
|
+
import type { ExperimentSshFaultAuth } from '../schemas/ExperimentSshFaultAuth';
|
|
4
|
+
import type { ExperimentAuthType } from '../schemas/ExperimentAuthType';
|
|
5
|
+
import type { ExperimentVmWareAuth } from '../schemas/ExperimentVmWareAuth';
|
|
6
|
+
export interface ExperimentAuth {
|
|
7
|
+
api?: ExperimentApiAuth;
|
|
8
|
+
aws?: string;
|
|
9
|
+
azure?: string;
|
|
10
|
+
gcp?: string;
|
|
11
|
+
nodeRestart?: string;
|
|
12
|
+
redisAuth?: ExperimentRedisAuth;
|
|
13
|
+
ssh?: ExperimentSshFaultAuth;
|
|
14
|
+
type?: ExperimentAuthType;
|
|
15
|
+
vmware?: ExperimentVmWareAuth;
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type ExperimentAuthType = 'API' | 'AWS' | 'Azure' | 'GCP' | 'NodeRestart' | 'Redis' | 'SSH' | 'VMWare';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ExperimentAuth } from '../schemas/ExperimentAuth';
|
|
1
2
|
import type { ExperimentConfigMap } from '../schemas/ExperimentConfigMap';
|
|
2
3
|
import type { ExperimentHelperConfig } from '../schemas/ExperimentHelperConfig';
|
|
3
4
|
import type { ExperimentHostFile } from '../schemas/ExperimentHostFile';
|
|
@@ -10,6 +11,7 @@ import type { ExperimentSidecar } from '../schemas/ExperimentSidecar';
|
|
|
10
11
|
import type { ExperimentStatusCheckTimeout } from '../schemas/ExperimentStatusCheckTimeout';
|
|
11
12
|
import type { V1Toleration } from '../schemas/V1Toleration';
|
|
12
13
|
export interface ExperimentExperimentComponents {
|
|
14
|
+
auth?: ExperimentAuth;
|
|
13
15
|
configMaps?: ExperimentConfigMap[];
|
|
14
16
|
helper?: ExperimentHelperConfig;
|
|
15
17
|
hostFileVolumes?: ExperimentHostFile[];
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { FaulttemplateAwsAuth } from '../schemas/FaulttemplateAwsAuth';
|
|
2
|
+
import type { FaulttemplateAzureAuth } from '../schemas/FaulttemplateAzureAuth';
|
|
3
|
+
import type { FaulttemplateGcpAuth } from '../schemas/FaulttemplateGcpAuth';
|
|
4
|
+
import type { FaulttemplateRedisAuth } from '../schemas/FaulttemplateRedisAuth';
|
|
5
|
+
import type { FaulttemplateSshAuth } from '../schemas/FaulttemplateSshAuth';
|
|
6
|
+
import type { FaulttemplateVmWareAuth } from '../schemas/FaulttemplateVmWareAuth';
|
|
7
|
+
export interface FaulttemplateAuth {
|
|
8
|
+
aws?: FaulttemplateAwsAuth;
|
|
9
|
+
azure?: FaulttemplateAzureAuth;
|
|
10
|
+
gcp?: FaulttemplateGcpAuth;
|
|
11
|
+
redis?: FaulttemplateRedisAuth;
|
|
12
|
+
ssh?: FaulttemplateSshAuth;
|
|
13
|
+
vmware?: FaulttemplateVmWareAuth;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -6,7 +6,6 @@ import type { V1PullPolicy } from '../schemas/V1PullPolicy';
|
|
|
6
6
|
import type { V1PodSecurityContext } from '../schemas/V1PodSecurityContext';
|
|
7
7
|
import type { FaulttemplateResourceRequirements } from '../schemas/FaulttemplateResourceRequirements';
|
|
8
8
|
import type { FaulttemplateSecretVolume } from '../schemas/FaulttemplateSecretVolume';
|
|
9
|
-
import type { FaulttemplateStatusCheckTimeout } from '../schemas/FaulttemplateStatusCheckTimeout';
|
|
10
9
|
import type { V1Toleration } from '../schemas/V1Toleration';
|
|
11
10
|
export interface FaulttemplateChaosKubernetesSpec {
|
|
12
11
|
annotations?: {
|
|
@@ -33,6 +32,5 @@ export interface FaulttemplateChaosKubernetesSpec {
|
|
|
33
32
|
podSecurityContext?: V1PodSecurityContext;
|
|
34
33
|
resourceRequirements?: FaulttemplateResourceRequirements;
|
|
35
34
|
secretVolume?: FaulttemplateSecretVolume[];
|
|
36
|
-
statusCheckTimeouts?: FaulttemplateStatusCheckTimeout;
|
|
37
35
|
toleration?: V1Toleration[];
|
|
38
36
|
}
|
|
@@ -1,7 +1,13 @@
|
|
|
1
|
+
import type { FaulttemplateAuth } from '../schemas/FaulttemplateAuth';
|
|
1
2
|
import type { FaulttemplateChaosKubernetesSpec } from '../schemas/FaulttemplateChaosKubernetesSpec';
|
|
2
3
|
import type { FaulttemplateChaosParameter } from '../schemas/FaulttemplateChaosParameter';
|
|
4
|
+
import type { FaulttemplateStatusCheckTimeout } from '../schemas/FaulttemplateStatusCheckTimeout';
|
|
5
|
+
import type { FaulttemplateTls } from '../schemas/FaulttemplateTls';
|
|
3
6
|
export interface FaulttemplateChaosSpec {
|
|
7
|
+
auth?: FaulttemplateAuth;
|
|
4
8
|
faultName?: string;
|
|
5
9
|
kubernetes?: FaulttemplateChaosKubernetesSpec;
|
|
6
10
|
params?: FaulttemplateChaosParameter[];
|
|
11
|
+
statusCheckTimeouts?: FaulttemplateStatusCheckTimeout;
|
|
12
|
+
tls?: FaulttemplateTls;
|
|
7
13
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type TemplateVariableCategory = 'ActionProperties' | 'ExperimentTunable' | 'FaultTarget' | 'FaultTunable' | 'ProbeProperties' | 'RunProperties' | 'TargetInfra';
|
|
1
|
+
export type TemplateVariableCategory = 'ActionProperties' | 'ExperimentTunable' | 'FaultAuthentication' | 'FaultTarget' | 'FaultTunable' | 'ProbeProperties' | 'RunProperties' | 'TargetInfra';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type TemplateVariableType = 'Boolean' | 'Integer' | 'Number' | 'String';
|
|
1
|
+
export type TemplateVariableType = 'Boolean' | 'Integer' | 'Number' | 'SecretFile' | 'SecretText' | 'String';
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { V1TlsConfig } from '../schemas/V1TlsConfig';
|
|
2
2
|
export interface V1PrometheusInputs {
|
|
3
|
-
/**
|
|
4
|
-
* AuthSecretName secret name for the authentication
|
|
5
|
-
*/
|
|
6
|
-
authSecretName?: string;
|
|
7
3
|
/**
|
|
8
4
|
* Endpoint for the prometheus probe
|
|
9
5
|
*/
|
|
@@ -15,5 +11,5 @@ export interface V1PrometheusInputs {
|
|
|
15
11
|
/**
|
|
16
12
|
* TLSConfig contains the tls configuration for the prometheus probe
|
|
17
13
|
*/
|
|
18
|
-
tlsConfig?:
|
|
14
|
+
tlsConfig?: V1TlsConfig;
|
|
19
15
|
}
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import type { V1SplunkObservabilityMetrics } from '../schemas/V1SplunkObservabilityMetrics';
|
|
2
2
|
export interface V1SplunkObservabilityInputs {
|
|
3
|
-
/**
|
|
4
|
-
* AuthSecretName secret name for the authentication
|
|
5
|
-
*/
|
|
6
|
-
authSecretName?: string;
|
|
7
3
|
/**
|
|
8
4
|
* Endpoint for the Splunk Observability probe
|
|
9
5
|
*/
|
package/package.json
CHANGED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export interface V1ApmProbeTlsConfig {
|
|
2
|
-
/**
|
|
3
|
-
* InsecureSkipVerify flag to skip certificate checks
|
|
4
|
-
*/
|
|
5
|
-
insecureSkipVerify?: boolean;
|
|
6
|
-
/**
|
|
7
|
-
* SecretName contains the secret name for the TLS configuration
|
|
8
|
-
*/
|
|
9
|
-
secretName?: string;
|
|
10
|
-
/**
|
|
11
|
-
* ServerName contains the server name for the TLS configuration
|
|
12
|
-
*/
|
|
13
|
-
serverName?: string;
|
|
14
|
-
}
|
/package/dist/chaos-manager/src/services/schemas/{V1ApmProbeTlsConfig.js → ExperimentApiAuth.js}
RENAMED
|
File without changes
|