@harnessio/react-chaos-manager-client 1.80.0 → 1.80.2
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 +2 -1
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDynatraceApmProbeInputs.d.ts +7 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDynatraceApmProbeInputs.d.ts +3 -0
- package/dist/chaos-manager/src/services/schemas/K8sIoApiCoreV1EnvVar.d.ts +5 -4
- package/dist/chaos-manager/src/services/schemas/RiskReportInfo.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/RiskScan.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/RiskScanStatus.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/RiskscansRiskScanResponse.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/ScannedrisksScannedRiskSpec.d.ts +20 -0
- package/dist/chaos-manager/src/services/schemas/V1AwsElasticBlockStoreVolumeSource.d.ts +4 -5
- package/dist/chaos-manager/src/services/schemas/V1AzureDiskVolumeSource.d.ts +6 -6
- package/dist/chaos-manager/src/services/schemas/V1AzureFileVolumeSource.d.ts +3 -3
- package/dist/chaos-manager/src/services/schemas/V1CephFsVolumeSource.d.ts +6 -6
- package/dist/chaos-manager/src/services/schemas/V1CinderVolumeSource.d.ts +4 -4
- package/dist/chaos-manager/src/services/schemas/V1ConfigMapProjection.d.ts +2 -2
- package/dist/chaos-manager/src/services/schemas/V1ConfigMapVolumeSource.d.ts +3 -3
- package/dist/chaos-manager/src/services/schemas/V1CsiVolumeSource.d.ts +5 -5
- package/dist/chaos-manager/src/services/schemas/V1DynatraceApmProbeInputs.d.ts +12 -0
- package/dist/chaos-manager/src/services/schemas/V1EmptyDirVolumeSource.d.ts +2 -2
- package/dist/chaos-manager/src/services/schemas/V1FcVolumeSource.d.ts +5 -5
- package/dist/chaos-manager/src/services/schemas/V1FlexVolumeSource.d.ts +5 -5
- package/dist/chaos-manager/src/services/schemas/V1FlockerVolumeSource.d.ts +2 -2
- package/dist/chaos-manager/src/services/schemas/V1GcePersistentDiskVolumeSource.d.ts +4 -4
- package/dist/chaos-manager/src/services/schemas/V1GitRepoVolumeSource.d.ts +3 -3
- package/dist/chaos-manager/src/services/schemas/V1GlusterfsVolumeSource.d.ts +3 -3
- package/dist/chaos-manager/src/services/schemas/V1HostPathVolumeSource.d.ts +2 -2
- package/dist/chaos-manager/src/services/schemas/V1IpFamilyPolicy.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/V1IpFamilyPolicy.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1IscsiVolumeSource.d.ts +11 -11
- package/dist/chaos-manager/src/services/schemas/V1KeyToPath.d.ts +3 -3
- package/dist/chaos-manager/src/services/schemas/V1ManagedFieldsEntry.d.ts +15 -1
- package/dist/chaos-manager/src/services/schemas/V1NfsVolumeSource.d.ts +3 -4
- package/dist/chaos-manager/src/services/schemas/V1ObjectMeta.d.ts +2 -18
- package/dist/chaos-manager/src/services/schemas/V1OwnerReference.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/V1PersistentVolumeAccessMode.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/V1PersistentVolumeClaimSpec.d.ts +32 -9
- package/dist/chaos-manager/src/services/schemas/V1PersistentVolumeClaimVolumeSource.d.ts +2 -2
- package/dist/chaos-manager/src/services/schemas/V1PhotonPersistentDiskVolumeSource.d.ts +2 -2
- package/dist/chaos-manager/src/services/schemas/V1PodSecurityContext.d.ts +9 -0
- package/dist/chaos-manager/src/services/schemas/V1PortworxVolumeSource.d.ts +3 -3
- package/dist/chaos-manager/src/services/schemas/V1ProjectedVolumeSource.d.ts +2 -2
- package/dist/chaos-manager/src/services/schemas/V1QuobyteVolumeSource.d.ts +6 -6
- package/dist/chaos-manager/src/services/schemas/V1RbdVolumeSource.d.ts +8 -8
- package/dist/chaos-manager/src/services/schemas/V1ScaleIoVolumeSource.d.ts +10 -10
- package/dist/chaos-manager/src/services/schemas/V1SecretProjection.d.ts +2 -2
- package/dist/chaos-manager/src/services/schemas/V1SecretVolumeSource.d.ts +4 -4
- package/dist/chaos-manager/src/services/schemas/V1SecurityContext.d.ts +10 -0
- package/dist/chaos-manager/src/services/schemas/V1ServiceAccountTokenProjection.d.ts +3 -3
- package/dist/chaos-manager/src/services/schemas/V1ServicePort.d.ts +1 -3
- package/dist/chaos-manager/src/services/schemas/V1ServiceSpec.d.ts +55 -65
- package/dist/chaos-manager/src/services/schemas/V1StorageOsVolumeSource.d.ts +5 -5
- package/dist/chaos-manager/src/services/schemas/V1Volume.d.ts +30 -33
- package/dist/chaos-manager/src/services/schemas/V1VolumeProjection.d.ts +4 -4
- package/dist/chaos-manager/src/services/schemas/V1VsphereVirtualDiskVolumeSource.d.ts +4 -4
- package/dist/chaos-manager/src/services/schemas/V1WindowsSecurityContextOptions.d.ts +11 -0
- package/package.json +1 -1
- package/dist/chaos-manager/src/services/schemas/V1IpFamilyPolicyType.d.ts +0 -1
- /package/dist/chaos-manager/src/services/schemas/{V1IpFamilyPolicyType.js → RiskReportInfo.js} +0 -0
|
@@ -1244,6 +1244,7 @@ export type { RiskEvidenceResource } from './schemas/RiskEvidenceResource';
|
|
|
1244
1244
|
export type { RiskProbeExecutionExperimentSource } from './schemas/RiskProbeExecutionExperimentSource';
|
|
1245
1245
|
export type { RiskProbeExecutionPipelineStepSource } from './schemas/RiskProbeExecutionPipelineStepSource';
|
|
1246
1246
|
export type { RiskProbeExecutionSource } from './schemas/RiskProbeExecutionSource';
|
|
1247
|
+
export type { RiskReportInfo } from './schemas/RiskReportInfo';
|
|
1247
1248
|
export type { RiskRiskDataSource } from './schemas/RiskRiskDataSource';
|
|
1248
1249
|
export type { RiskRiskRulePrompt } from './schemas/RiskRiskRulePrompt';
|
|
1249
1250
|
export type { RiskRiskRuleSpec } from './schemas/RiskRiskRuleSpec';
|
|
@@ -1484,7 +1485,7 @@ export type { V1HostPathType } from './schemas/V1HostPathType';
|
|
|
1484
1485
|
export type { V1HostPathVolumeSource } from './schemas/V1HostPathVolumeSource';
|
|
1485
1486
|
export type { V1Identifier } from './schemas/V1Identifier';
|
|
1486
1487
|
export type { V1IpFamily } from './schemas/V1IpFamily';
|
|
1487
|
-
export type {
|
|
1488
|
+
export type { V1IpFamilyPolicy } from './schemas/V1IpFamilyPolicy';
|
|
1488
1489
|
export type { V1IscsiVolumeSource } from './schemas/V1IscsiVolumeSource';
|
|
1489
1490
|
export type { V1K8sProbeInputs } from './schemas/V1K8sProbeInputs';
|
|
1490
1491
|
export type { V1KeyToPath } from './schemas/V1KeyToPath';
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import type { ProbeMetrics } from '../schemas/ProbeMetrics';
|
|
2
2
|
export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDynatraceApmProbeInputs {
|
|
3
|
+
aggregation?: string;
|
|
3
4
|
connectorID?: string;
|
|
5
|
+
dqlQuery?: string;
|
|
4
6
|
durationInMin?: {};
|
|
5
7
|
metrics?: ProbeMetrics;
|
|
8
|
+
/**
|
|
9
|
+
* Grail (DQL) query fields. Optional and backward compatible; when QueryType is "grail"
|
|
10
|
+
* (or DqlQuery is set) the probe runs against Grail instead of the classic Metrics v2 API.
|
|
11
|
+
*/
|
|
12
|
+
queryType?: string;
|
|
6
13
|
}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import type { ProbeDynatraceMetricsTemplate } from '../schemas/ProbeDynatraceMetricsTemplate';
|
|
2
2
|
export interface GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDynatraceApmProbeInputs {
|
|
3
|
+
aggregation?: string;
|
|
3
4
|
connectorID?: string;
|
|
5
|
+
dqlQuery?: string;
|
|
4
6
|
durationInMin?: {};
|
|
5
7
|
metrics?: ProbeDynatraceMetricsTemplate;
|
|
8
|
+
queryType?: string;
|
|
6
9
|
}
|
|
@@ -6,11 +6,12 @@ export interface K8sIoApiCoreV1EnvVar {
|
|
|
6
6
|
name?: string;
|
|
7
7
|
/**
|
|
8
8
|
* Variable references $(VAR_NAME) are expanded
|
|
9
|
-
* using the
|
|
9
|
+
* using the previously defined environment variables in the container and
|
|
10
10
|
* any service environment variables. If a variable cannot be resolved,
|
|
11
|
-
* the reference in the input string will be unchanged.
|
|
12
|
-
*
|
|
13
|
-
*
|
|
11
|
+
* the reference in the input string will be unchanged. Double $$ are reduced
|
|
12
|
+
* to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.
|
|
13
|
+
* "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)".
|
|
14
|
+
* Escaped references will never be expanded, regardless of whether the variable
|
|
14
15
|
* exists or not.
|
|
15
16
|
* Defaults to "".
|
|
16
17
|
* +optional
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { RiskCollectionSummary } from '../schemas/RiskCollectionSummary';
|
|
2
2
|
import type { RiskDetectionMethod } from '../schemas/RiskDetectionMethod';
|
|
3
|
+
import type { RiskReportInfo } from '../schemas/RiskReportInfo';
|
|
3
4
|
import type { RiskScanResult } from '../schemas/RiskScanResult';
|
|
4
5
|
import type { RiskRiskSummary } from '../schemas/RiskRiskSummary';
|
|
5
6
|
import type { RiskScanType } from '../schemas/RiskScanType';
|
|
@@ -29,6 +30,7 @@ export interface RiskScan {
|
|
|
29
30
|
*/
|
|
30
31
|
parentUniqueID?: string;
|
|
31
32
|
projectID?: string;
|
|
33
|
+
report?: RiskReportInfo;
|
|
32
34
|
result?: RiskScanResult;
|
|
33
35
|
retryCount?: number;
|
|
34
36
|
riskSummary?: RiskRiskSummary;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type RiskScanStatus = 'ABORTED' | 'ANALYSING' | '
|
|
1
|
+
export type RiskScanStatus = 'ABORTED' | 'ANALYSING' | 'COLLECTED' | 'COLLECTING' | 'COMPLETED' | 'ERRORED' | 'QUEUED';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { RiskCollectionSummary } from '../schemas/RiskCollectionSummary';
|
|
2
2
|
import type { HcesdkUserDetails } from '../schemas/HcesdkUserDetails';
|
|
3
3
|
import type { RiskDetectionMethod } from '../schemas/RiskDetectionMethod';
|
|
4
|
+
import type { RiskReportInfo } from '../schemas/RiskReportInfo';
|
|
4
5
|
import type { RiskScanResult } from '../schemas/RiskScanResult';
|
|
5
6
|
import type { RiskRiskSummary } from '../schemas/RiskRiskSummary';
|
|
6
7
|
import type { RiskScanType } from '../schemas/RiskScanType';
|
|
@@ -28,6 +29,7 @@ export interface RiskscansRiskScanResponse {
|
|
|
28
29
|
*/
|
|
29
30
|
parentUniqueID?: string;
|
|
30
31
|
projectID?: string;
|
|
32
|
+
report?: RiskReportInfo;
|
|
31
33
|
result?: RiskScanResult;
|
|
32
34
|
retryCount?: number;
|
|
33
35
|
riskSummary?: RiskRiskSummary;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { RiskCategory } from '../schemas/RiskCategory';
|
|
2
2
|
import type { RiskSeverity } from '../schemas/RiskSeverity';
|
|
3
|
+
import type { RiskScanType } from '../schemas/RiskScanType';
|
|
3
4
|
import type { ScannedrisksRiskStatus } from '../schemas/ScannedrisksRiskStatus';
|
|
4
5
|
import type { RiskTargetService } from '../schemas/RiskTargetService';
|
|
5
6
|
import type { ScannedrisksValidationType } from '../schemas/ScannedrisksValidationType';
|
|
@@ -13,7 +14,26 @@ export interface ScannedrisksScannedRiskSpec {
|
|
|
13
14
|
riskRuleId?: string;
|
|
14
15
|
riskRuleName?: string;
|
|
15
16
|
severity?: RiskSeverity;
|
|
17
|
+
/**
|
|
18
|
+
* Sources is the deduplicated set of scan sources (e.g. DiscoveryAgent,
|
|
19
|
+
* PipelineExecution, ProbeExecution) across all of this risk's occurrences.
|
|
20
|
+
* Maintained via $addToSet on every occurrence write so filtering by source
|
|
21
|
+
* no longer needs to query the riskOccurrences collection.
|
|
22
|
+
*/
|
|
23
|
+
sources?: RiskScanType[];
|
|
16
24
|
status?: ScannedrisksRiskStatus;
|
|
17
25
|
targetService?: RiskTargetService;
|
|
26
|
+
/**
|
|
27
|
+
* ValidationType reflects only the most recently written occurrence's
|
|
28
|
+
* validation type. Prefer ValidationTypes for filtering, since a risk can
|
|
29
|
+
* have both Confirmed and Passive occurrences over its lifetime.
|
|
30
|
+
*/
|
|
18
31
|
validationType?: ScannedrisksValidationType;
|
|
32
|
+
/**
|
|
33
|
+
* ValidationTypes is the deduplicated set of validation types (Confirmed,
|
|
34
|
+
* Passive) across all of this risk's occurrences. Maintained via $addToSet
|
|
35
|
+
* on every occurrence write, unlike the single-value ValidationType field
|
|
36
|
+
* above which only reflects the latest occurrence.
|
|
37
|
+
*/
|
|
38
|
+
validationTypes?: ScannedrisksValidationType[];
|
|
19
39
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export interface V1AwsElasticBlockStoreVolumeSource {
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* fsType is the filesystem type of the volume that you want to mount.
|
|
4
4
|
* Tip: Ensure that the filesystem type is supported by the host operating system.
|
|
5
5
|
* Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
|
|
6
6
|
* More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
|
|
@@ -9,7 +9,7 @@ export interface V1AwsElasticBlockStoreVolumeSource {
|
|
|
9
9
|
*/
|
|
10
10
|
fsType?: string;
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* partition is the partition in the volume that you want to mount.
|
|
13
13
|
* If omitted, the default is to mount by volume name.
|
|
14
14
|
* Examples: For volume /dev/sda1, you specify the partition as "1".
|
|
15
15
|
* Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty).
|
|
@@ -17,14 +17,13 @@ export interface V1AwsElasticBlockStoreVolumeSource {
|
|
|
17
17
|
*/
|
|
18
18
|
partition?: number;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
21
|
-
* If omitted, the default is "false".
|
|
20
|
+
* readOnly value true will force the readOnly setting in VolumeMounts.
|
|
22
21
|
* More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
|
|
23
22
|
* +optional
|
|
24
23
|
*/
|
|
25
24
|
readOnly?: boolean;
|
|
26
25
|
/**
|
|
27
|
-
*
|
|
26
|
+
* volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume).
|
|
28
27
|
* More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
|
|
29
28
|
*/
|
|
30
29
|
volumeID?: string;
|
|
@@ -2,31 +2,31 @@ import type { V1AzureDataDiskCachingMode } from '../schemas/V1AzureDataDiskCachi
|
|
|
2
2
|
import type { V1AzureDataDiskKind } from '../schemas/V1AzureDataDiskKind';
|
|
3
3
|
export interface V1AzureDiskVolumeSource {
|
|
4
4
|
/**
|
|
5
|
-
* Host Caching mode: None, Read Only, Read Write.
|
|
5
|
+
* cachingMode is the Host Caching mode: None, Read Only, Read Write.
|
|
6
6
|
* +optional
|
|
7
7
|
*/
|
|
8
8
|
cachingMode?: V1AzureDataDiskCachingMode;
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* diskName is the Name of the data disk in the blob storage
|
|
11
11
|
*/
|
|
12
12
|
diskName?: string;
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* diskURI is the URI of data disk in the blob storage
|
|
15
15
|
*/
|
|
16
16
|
diskURI?: string;
|
|
17
17
|
/**
|
|
18
|
-
* Filesystem type to mount.
|
|
18
|
+
* fsType is Filesystem type to mount.
|
|
19
19
|
* Must be a filesystem type supported by the host operating system.
|
|
20
20
|
* Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
|
|
21
21
|
* +optional
|
|
22
22
|
*/
|
|
23
23
|
fsType?: string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* kind expected values are Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared
|
|
26
26
|
*/
|
|
27
27
|
kind?: V1AzureDataDiskKind;
|
|
28
28
|
/**
|
|
29
|
-
* Defaults to false (read/write). ReadOnly here will force
|
|
29
|
+
* readOnly Defaults to false (read/write). ReadOnly here will force
|
|
30
30
|
* the ReadOnly setting in VolumeMounts.
|
|
31
31
|
* +optional
|
|
32
32
|
*/
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
export interface V1AzureFileVolumeSource {
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* readOnly defaults to false (read/write). ReadOnly here will force
|
|
4
4
|
* the ReadOnly setting in VolumeMounts.
|
|
5
5
|
* +optional
|
|
6
6
|
*/
|
|
7
7
|
readOnly?: boolean;
|
|
8
8
|
/**
|
|
9
|
-
* the
|
|
9
|
+
* secretName is the name of secret that contains Azure Storage Account Name and Key
|
|
10
10
|
*/
|
|
11
11
|
secretName?: string;
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* shareName is the azure share Name
|
|
14
14
|
*/
|
|
15
15
|
shareName?: string;
|
|
16
16
|
}
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import type { V1LocalObjectReference } from '../schemas/V1LocalObjectReference';
|
|
2
2
|
export interface V1CephFsVolumeSource {
|
|
3
3
|
/**
|
|
4
|
-
* Required: Monitors is a collection of Ceph monitors
|
|
4
|
+
* monitors is Required: Monitors is a collection of Ceph monitors
|
|
5
5
|
* More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
|
|
6
6
|
*/
|
|
7
7
|
monitors?: string[];
|
|
8
8
|
/**
|
|
9
|
-
* Optional: Used as the mounted root, rather than the full Ceph tree, default is /
|
|
9
|
+
* path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /
|
|
10
10
|
* +optional
|
|
11
11
|
*/
|
|
12
12
|
path?: string;
|
|
13
13
|
/**
|
|
14
|
-
* Optional: Defaults to false (read/write). ReadOnly here will force
|
|
14
|
+
* readOnly is Optional: Defaults to false (read/write). ReadOnly here will force
|
|
15
15
|
* the ReadOnly setting in VolumeMounts.
|
|
16
16
|
* More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
|
|
17
17
|
* +optional
|
|
18
18
|
*/
|
|
19
19
|
readOnly?: boolean;
|
|
20
20
|
/**
|
|
21
|
-
* Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret
|
|
21
|
+
* secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret
|
|
22
22
|
* More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
|
|
23
23
|
* +optional
|
|
24
24
|
*/
|
|
25
25
|
secretFile?: string;
|
|
26
26
|
/**
|
|
27
|
-
* Optional: SecretRef is reference to the authentication secret for User, default is empty.
|
|
27
|
+
* secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.
|
|
28
28
|
* More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
|
|
29
29
|
* +optional
|
|
30
30
|
*/
|
|
31
31
|
secretRef?: V1LocalObjectReference;
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* user is optional: User is the rados user name, default is admin
|
|
34
34
|
* More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
|
|
35
35
|
* +optional
|
|
36
36
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { V1LocalObjectReference } from '../schemas/V1LocalObjectReference';
|
|
2
2
|
export interface V1CinderVolumeSource {
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* fsType is the filesystem type to mount.
|
|
5
5
|
* Must be a filesystem type supported by the host operating system.
|
|
6
6
|
* Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
|
|
7
7
|
* More info: https://examples.k8s.io/mysql-cinder-pd/README.md
|
|
@@ -9,20 +9,20 @@ export interface V1CinderVolumeSource {
|
|
|
9
9
|
*/
|
|
10
10
|
fsType?: string;
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* readOnly defaults to false (read/write). ReadOnly here will force
|
|
13
13
|
* the ReadOnly setting in VolumeMounts.
|
|
14
14
|
* More info: https://examples.k8s.io/mysql-cinder-pd/README.md
|
|
15
15
|
* +optional
|
|
16
16
|
*/
|
|
17
17
|
readOnly?: boolean;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* secretRef is optional: points to a secret object containing parameters used to connect
|
|
20
20
|
* to OpenStack.
|
|
21
21
|
* +optional
|
|
22
22
|
*/
|
|
23
23
|
secretRef?: V1LocalObjectReference;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* volumeID used to identify the volume in cinder.
|
|
26
26
|
* More info: https://examples.k8s.io/mysql-cinder-pd/README.md
|
|
27
27
|
*/
|
|
28
28
|
volumeID?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { V1KeyToPath } from '../schemas/V1KeyToPath';
|
|
2
2
|
export interface V1ConfigMapProjection {
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* items if unspecified, each key-value pair in the Data field of the referenced
|
|
5
5
|
* ConfigMap will be projected into the volume as a file whose name is the
|
|
6
6
|
* key and content is the value. If specified, the listed keys will be
|
|
7
7
|
* projected into the specified paths, and unlisted keys will not be
|
|
@@ -19,7 +19,7 @@ export interface V1ConfigMapProjection {
|
|
|
19
19
|
*/
|
|
20
20
|
name?: string;
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* optional specify whether the ConfigMap or its keys must be defined
|
|
23
23
|
* +optional
|
|
24
24
|
*/
|
|
25
25
|
optional?: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { V1KeyToPath } from '../schemas/V1KeyToPath';
|
|
2
2
|
export interface V1ConfigMapVolumeSource {
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* defaultMode is optional: mode bits used to set permissions on created files by default.
|
|
5
5
|
* Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
|
|
6
6
|
* YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
|
|
7
7
|
* Defaults to 0644.
|
|
@@ -12,7 +12,7 @@ export interface V1ConfigMapVolumeSource {
|
|
|
12
12
|
*/
|
|
13
13
|
defaultMode?: number;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* items if unspecified, each key-value pair in the Data field of the referenced
|
|
16
16
|
* ConfigMap will be projected into the volume as a file whose name is the
|
|
17
17
|
* key and content is the value. If specified, the listed keys will be
|
|
18
18
|
* projected into the specified paths, and unlisted keys will not be
|
|
@@ -30,7 +30,7 @@ export interface V1ConfigMapVolumeSource {
|
|
|
30
30
|
*/
|
|
31
31
|
name?: string;
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* optional specify whether the ConfigMap or its keys must be defined
|
|
34
34
|
* +optional
|
|
35
35
|
*/
|
|
36
36
|
optional?: boolean;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import type { V1LocalObjectReference } from '../schemas/V1LocalObjectReference';
|
|
2
2
|
export interface V1CsiVolumeSource {
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* driver is the name of the CSI driver that handles this volume.
|
|
5
5
|
* Consult with your admin for the correct name as registered in the cluster.
|
|
6
6
|
*/
|
|
7
7
|
driver?: string;
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* fsType to mount. Ex. "ext4", "xfs", "ntfs".
|
|
10
10
|
* If not provided, the empty value is passed to the associated CSI driver
|
|
11
11
|
* which will determine the default filesystem to apply.
|
|
12
12
|
* +optional
|
|
13
13
|
*/
|
|
14
14
|
fsType?: string;
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* nodePublishSecretRef is a reference to the secret object containing
|
|
17
17
|
* sensitive information to pass to the CSI driver to complete the CSI
|
|
18
18
|
* NodePublishVolume and NodeUnpublishVolume calls.
|
|
19
19
|
* This field is optional, and may be empty if no secret is required. If the
|
|
@@ -22,13 +22,13 @@ export interface V1CsiVolumeSource {
|
|
|
22
22
|
*/
|
|
23
23
|
nodePublishSecretRef?: V1LocalObjectReference;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* readOnly specifies a read-only configuration for the volume.
|
|
26
26
|
* Defaults to false (read/write).
|
|
27
27
|
* +optional
|
|
28
28
|
*/
|
|
29
29
|
readOnly?: boolean;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* volumeAttributes stores driver-specific properties that are passed to the CSI
|
|
32
32
|
* driver. Consult your driver's documentation for supported values.
|
|
33
33
|
* +optional
|
|
34
34
|
*/
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
import type { GithubComHarnessHceSaasHceSdkCommonProbeV1Metrics } from '../schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1Metrics';
|
|
2
2
|
export interface V1DynatraceApmProbeInputs {
|
|
3
|
+
/**
|
|
4
|
+
* Aggregation collapses the returned datapoints to a single value ("mean"|"max"|"min"|"last"; default mean).
|
|
5
|
+
*/
|
|
6
|
+
aggregation?: string;
|
|
7
|
+
/**
|
|
8
|
+
* DqlQuery is the raw DQL executed against Grail. Used only when QueryType is "grail".
|
|
9
|
+
*/
|
|
10
|
+
dqlQuery?: string;
|
|
3
11
|
/**
|
|
4
12
|
* DurationInMin contains the duration in minutes
|
|
5
13
|
*/
|
|
@@ -12,4 +20,8 @@ export interface V1DynatraceApmProbeInputs {
|
|
|
12
20
|
* Raw metrics details of the Dynatrace probe
|
|
13
21
|
*/
|
|
14
22
|
metrics?: GithubComHarnessHceSaasHceSdkCommonProbeV1Metrics;
|
|
23
|
+
/**
|
|
24
|
+
* QueryType selects the Dynatrace query path ("classic" or "grail"). Empty defaults to classic.
|
|
25
|
+
*/
|
|
26
|
+
queryType?: string;
|
|
15
27
|
}
|
|
@@ -2,7 +2,7 @@ import type { V1StorageMedium } from '../schemas/V1StorageMedium';
|
|
|
2
2
|
import type { ResourceQuantity } from '../schemas/ResourceQuantity';
|
|
3
3
|
export interface V1EmptyDirVolumeSource {
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* medium represents what type of storage medium should back this directory.
|
|
6
6
|
* The default is "" which means to use the node's default medium.
|
|
7
7
|
* Must be an empty string (default) or Memory.
|
|
8
8
|
* More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
|
|
@@ -10,7 +10,7 @@ export interface V1EmptyDirVolumeSource {
|
|
|
10
10
|
*/
|
|
11
11
|
medium?: V1StorageMedium;
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* sizeLimit is the total amount of local storage required for this EmptyDir volume.
|
|
14
14
|
* The size limit is also applicable for memory medium.
|
|
15
15
|
* The maximum usage on memory medium EmptyDir would be the minimum value between
|
|
16
16
|
* the SizeLimit specified here and the sum of memory limits of all containers in a pod.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export interface V1FcVolumeSource {
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* fsType is the filesystem type to mount.
|
|
4
4
|
* Must be a filesystem type supported by the host operating system.
|
|
5
5
|
* Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
|
|
6
6
|
* TODO: how do we prevent errors in the filesystem from compromising the machine
|
|
@@ -8,23 +8,23 @@ export interface V1FcVolumeSource {
|
|
|
8
8
|
*/
|
|
9
9
|
fsType?: string;
|
|
10
10
|
/**
|
|
11
|
-
* Optional: FC target lun number
|
|
11
|
+
* lun is Optional: FC target lun number
|
|
12
12
|
* +optional
|
|
13
13
|
*/
|
|
14
14
|
lun?: number;
|
|
15
15
|
/**
|
|
16
|
-
* Optional: Defaults to false (read/write). ReadOnly here will force
|
|
16
|
+
* readOnly is Optional: Defaults to false (read/write). ReadOnly here will force
|
|
17
17
|
* the ReadOnly setting in VolumeMounts.
|
|
18
18
|
* +optional
|
|
19
19
|
*/
|
|
20
20
|
readOnly?: boolean;
|
|
21
21
|
/**
|
|
22
|
-
* Optional: FC target worldwide names (WWNs)
|
|
22
|
+
* targetWWNs is Optional: FC target worldwide names (WWNs)
|
|
23
23
|
* +optional
|
|
24
24
|
*/
|
|
25
25
|
targetWWNs?: string[];
|
|
26
26
|
/**
|
|
27
|
-
* Optional: FC volume world wide identifiers (wwids)
|
|
27
|
+
* wwids Optional: FC volume world wide identifiers (wwids)
|
|
28
28
|
* Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.
|
|
29
29
|
* +optional
|
|
30
30
|
*/
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import type { V1LocalObjectReference } from '../schemas/V1LocalObjectReference';
|
|
2
2
|
export interface V1FlexVolumeSource {
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* driver is the name of the driver to use for this volume.
|
|
5
5
|
*/
|
|
6
6
|
driver?: string;
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* fsType is the filesystem type to mount.
|
|
9
9
|
* Must be a filesystem type supported by the host operating system.
|
|
10
10
|
* Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script.
|
|
11
11
|
* +optional
|
|
12
12
|
*/
|
|
13
13
|
fsType?: string;
|
|
14
14
|
/**
|
|
15
|
-
* Optional:
|
|
15
|
+
* options is Optional: this field holds extra command options if any.
|
|
16
16
|
* +optional
|
|
17
17
|
*/
|
|
18
18
|
options?: {
|
|
19
19
|
[key: string]: string;
|
|
20
20
|
};
|
|
21
21
|
/**
|
|
22
|
-
* Optional:
|
|
22
|
+
* readOnly is Optional: defaults to false (read/write). ReadOnly here will force
|
|
23
23
|
* the ReadOnly setting in VolumeMounts.
|
|
24
24
|
* +optional
|
|
25
25
|
*/
|
|
26
26
|
readOnly?: boolean;
|
|
27
27
|
/**
|
|
28
|
-
* Optional:
|
|
28
|
+
* secretRef is Optional: secretRef is reference to the secret object containing
|
|
29
29
|
* sensitive information to pass to the plugin scripts. This may be
|
|
30
30
|
* empty if no secret object is specified. If the secret object
|
|
31
31
|
* contains more than one secret, all secrets are passed to the plugin
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export interface V1FlockerVolumeSource {
|
|
2
2
|
/**
|
|
3
|
-
* Name of the dataset stored as metadata -> name on the dataset for Flocker
|
|
3
|
+
* datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker
|
|
4
4
|
* should be considered as deprecated
|
|
5
5
|
* +optional
|
|
6
6
|
*/
|
|
7
7
|
datasetName?: string;
|
|
8
8
|
/**
|
|
9
|
-
* UUID of the dataset. This is unique identifier of a Flocker dataset
|
|
9
|
+
* datasetUUID is the UUID of the dataset. This is unique identifier of a Flocker dataset
|
|
10
10
|
* +optional
|
|
11
11
|
*/
|
|
12
12
|
datasetUUID?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export interface V1GcePersistentDiskVolumeSource {
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* fsType is filesystem type of the volume that you want to mount.
|
|
4
4
|
* Tip: Ensure that the filesystem type is supported by the host operating system.
|
|
5
5
|
* Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
|
|
6
6
|
* More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
|
|
@@ -9,7 +9,7 @@ export interface V1GcePersistentDiskVolumeSource {
|
|
|
9
9
|
*/
|
|
10
10
|
fsType?: string;
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* partition is the partition in the volume that you want to mount.
|
|
13
13
|
* If omitted, the default is to mount by volume name.
|
|
14
14
|
* Examples: For volume /dev/sda1, you specify the partition as "1".
|
|
15
15
|
* Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty).
|
|
@@ -18,12 +18,12 @@ export interface V1GcePersistentDiskVolumeSource {
|
|
|
18
18
|
*/
|
|
19
19
|
partition?: number;
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* pdName is unique name of the PD resource in GCE. Used to identify the disk in GCE.
|
|
22
22
|
* More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
|
|
23
23
|
*/
|
|
24
24
|
pdName?: string;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* readOnly here will force the ReadOnly setting in VolumeMounts.
|
|
27
27
|
* Defaults to false.
|
|
28
28
|
* More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
|
|
29
29
|
* +optional
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export interface V1GitRepoVolumeSource {
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* directory is the target directory name.
|
|
4
4
|
* Must not contain or start with '..'. If '.' is supplied, the volume directory will be the
|
|
5
5
|
* git repository. Otherwise, if specified, the volume will contain the git repository in
|
|
6
6
|
* the subdirectory with the given name.
|
|
@@ -8,11 +8,11 @@ export interface V1GitRepoVolumeSource {
|
|
|
8
8
|
*/
|
|
9
9
|
directory?: string;
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* repository is the URL
|
|
12
12
|
*/
|
|
13
13
|
repository?: string;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* revision is the commit hash for the specified revision.
|
|
16
16
|
* +optional
|
|
17
17
|
*/
|
|
18
18
|
revision?: string;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
export interface V1GlusterfsVolumeSource {
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* endpoints is the endpoint name that details Glusterfs topology.
|
|
4
4
|
* More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
|
|
5
5
|
*/
|
|
6
6
|
endpoints?: string;
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* path is the Glusterfs volume path.
|
|
9
9
|
* More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
|
|
10
10
|
*/
|
|
11
11
|
path?: string;
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* readOnly here will force the Glusterfs volume to be mounted with read-only permissions.
|
|
14
14
|
* Defaults to false.
|
|
15
15
|
* More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
|
|
16
16
|
* +optional
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import type { V1HostPathType } from '../schemas/V1HostPathType';
|
|
2
2
|
export interface V1HostPathVolumeSource {
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* path of the directory on the host.
|
|
5
5
|
* If the path is a symlink, it will follow the link to the real path.
|
|
6
6
|
* More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
|
|
7
7
|
*/
|
|
8
8
|
path?: string;
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* type for HostPath Volume
|
|
11
11
|
* Defaults to ""
|
|
12
12
|
* More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
|
|
13
13
|
* +optional
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type V1IpFamilyPolicy = 'PreferDualStack' | 'RequireDualStack' | 'SingleStack';
|