@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
|
@@ -11,12 +11,14 @@ export interface V1SecurityContext {
|
|
|
11
11
|
* AllowPrivilegeEscalation is true always when the container is:
|
|
12
12
|
* 1) run as Privileged
|
|
13
13
|
* 2) has CAP_SYS_ADMIN
|
|
14
|
+
* Note that this field cannot be set when spec.os.name is windows.
|
|
14
15
|
* +optional
|
|
15
16
|
*/
|
|
16
17
|
allowPrivilegeEscalation?: boolean;
|
|
17
18
|
/**
|
|
18
19
|
* The capabilities to add/drop when running containers.
|
|
19
20
|
* Defaults to the default set of capabilities granted by the container runtime.
|
|
21
|
+
* Note that this field cannot be set when spec.os.name is windows.
|
|
20
22
|
* +optional
|
|
21
23
|
*/
|
|
22
24
|
capabilities?: V1Capabilities;
|
|
@@ -24,6 +26,7 @@ export interface V1SecurityContext {
|
|
|
24
26
|
* Run container in privileged mode.
|
|
25
27
|
* Processes in privileged containers are essentially equivalent to root on the host.
|
|
26
28
|
* Defaults to false.
|
|
29
|
+
* Note that this field cannot be set when spec.os.name is windows.
|
|
27
30
|
* +optional
|
|
28
31
|
*/
|
|
29
32
|
privileged?: boolean;
|
|
@@ -32,12 +35,14 @@ export interface V1SecurityContext {
|
|
|
32
35
|
* The default is DefaultProcMount which uses the container runtime defaults for
|
|
33
36
|
* readonly paths and masked paths.
|
|
34
37
|
* This requires the ProcMountType feature flag to be enabled.
|
|
38
|
+
* Note that this field cannot be set when spec.os.name is windows.
|
|
35
39
|
* +optional
|
|
36
40
|
*/
|
|
37
41
|
procMount?: V1ProcMountType;
|
|
38
42
|
/**
|
|
39
43
|
* Whether this container has a read-only root filesystem.
|
|
40
44
|
* Default is false.
|
|
45
|
+
* Note that this field cannot be set when spec.os.name is windows.
|
|
41
46
|
* +optional
|
|
42
47
|
*/
|
|
43
48
|
readOnlyRootFilesystem?: boolean;
|
|
@@ -46,6 +51,7 @@ export interface V1SecurityContext {
|
|
|
46
51
|
* Uses runtime default if unset.
|
|
47
52
|
* May also be set in PodSecurityContext. If set in both SecurityContext and
|
|
48
53
|
* PodSecurityContext, the value specified in SecurityContext takes precedence.
|
|
54
|
+
* Note that this field cannot be set when spec.os.name is windows.
|
|
49
55
|
* +optional
|
|
50
56
|
*/
|
|
51
57
|
runAsGroup?: number;
|
|
@@ -64,6 +70,7 @@ export interface V1SecurityContext {
|
|
|
64
70
|
* Defaults to user specified in image metadata if unspecified.
|
|
65
71
|
* May also be set in PodSecurityContext. If set in both SecurityContext and
|
|
66
72
|
* PodSecurityContext, the value specified in SecurityContext takes precedence.
|
|
73
|
+
* Note that this field cannot be set when spec.os.name is windows.
|
|
67
74
|
* +optional
|
|
68
75
|
*/
|
|
69
76
|
runAsUser?: number;
|
|
@@ -72,6 +79,7 @@ export interface V1SecurityContext {
|
|
|
72
79
|
* If unspecified, the container runtime will allocate a random SELinux context for each
|
|
73
80
|
* container. May also be set in PodSecurityContext. If set in both SecurityContext and
|
|
74
81
|
* PodSecurityContext, the value specified in SecurityContext takes precedence.
|
|
82
|
+
* Note that this field cannot be set when spec.os.name is windows.
|
|
75
83
|
* +optional
|
|
76
84
|
*/
|
|
77
85
|
seLinuxOptions?: V1SeLinuxOptions;
|
|
@@ -79,6 +87,7 @@ export interface V1SecurityContext {
|
|
|
79
87
|
* The seccomp options to use by this container. If seccomp options are
|
|
80
88
|
* provided at both the pod & container level, the container options
|
|
81
89
|
* override the pod options.
|
|
90
|
+
* Note that this field cannot be set when spec.os.name is windows.
|
|
82
91
|
* +optional
|
|
83
92
|
*/
|
|
84
93
|
seccompProfile?: V1SeccompProfile;
|
|
@@ -86,6 +95,7 @@ export interface V1SecurityContext {
|
|
|
86
95
|
* The Windows specific settings applied to all containers.
|
|
87
96
|
* If unspecified, the options from the PodSecurityContext will be used.
|
|
88
97
|
* If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
|
|
98
|
+
* Note that this field cannot be set when spec.os.name is linux.
|
|
89
99
|
* +optional
|
|
90
100
|
*/
|
|
91
101
|
windowsOptions?: V1WindowsSecurityContextOptions;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export interface V1ServiceAccountTokenProjection {
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* audience is the intended audience of the token. A recipient of a token
|
|
4
4
|
* must identify itself with an identifier specified in the audience of the
|
|
5
5
|
* token, and otherwise should reject the token. The audience defaults to the
|
|
6
6
|
* identifier of the apiserver.
|
|
@@ -8,7 +8,7 @@ export interface V1ServiceAccountTokenProjection {
|
|
|
8
8
|
*/
|
|
9
9
|
audience?: string;
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* expirationSeconds is the requested duration of validity of the service
|
|
12
12
|
* account token. As the token approaches expiration, the kubelet volume
|
|
13
13
|
* plugin will proactively rotate the service account token. The kubelet will
|
|
14
14
|
* start trying to rotate the token if the token is older than 80 percent of
|
|
@@ -18,7 +18,7 @@ export interface V1ServiceAccountTokenProjection {
|
|
|
18
18
|
*/
|
|
19
19
|
expirationSeconds?: number;
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* path is the path relative to the mount point of the file to project the
|
|
22
22
|
* token into.
|
|
23
23
|
*/
|
|
24
24
|
path?: string;
|
|
@@ -5,11 +5,9 @@ export interface V1ServicePort {
|
|
|
5
5
|
* The application protocol for this port.
|
|
6
6
|
* This field follows standard Kubernetes label syntax.
|
|
7
7
|
* Un-prefixed names are reserved for IANA standard service names (as per
|
|
8
|
-
* RFC-6335 and
|
|
8
|
+
* RFC-6335 and https://www.iana.org/assignments/service-names).
|
|
9
9
|
* Non-standard protocols should use prefixed names such as
|
|
10
10
|
* mycompany.com/my-custom-protocol.
|
|
11
|
-
* This is a beta field that is guarded by the ServiceAppProtocol feature
|
|
12
|
-
* gate and enabled by default.
|
|
13
11
|
* +optional
|
|
14
12
|
*/
|
|
15
13
|
appProtocol?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { V1ServiceExternalTrafficPolicyType } from '../schemas/V1ServiceExternalTrafficPolicyType';
|
|
2
2
|
import type { V1ServiceInternalTrafficPolicyType } from '../schemas/V1ServiceInternalTrafficPolicyType';
|
|
3
3
|
import type { V1IpFamily } from '../schemas/V1IpFamily';
|
|
4
|
-
import type {
|
|
4
|
+
import type { V1IpFamilyPolicy } from '../schemas/V1IpFamilyPolicy';
|
|
5
5
|
import type { V1ServicePort } from '../schemas/V1ServicePort';
|
|
6
6
|
import type { V1ServiceAffinity } from '../schemas/V1ServiceAffinity';
|
|
7
7
|
import type { V1SessionAffinityConfig } from '../schemas/V1SessionAffinityConfig';
|
|
@@ -9,11 +9,12 @@ import type { V1ServiceType } from '../schemas/V1ServiceType';
|
|
|
9
9
|
export interface V1ServiceSpec {
|
|
10
10
|
/**
|
|
11
11
|
* allocateLoadBalancerNodePorts defines if NodePorts will be automatically
|
|
12
|
-
* allocated for services with type LoadBalancer. Default is "true". It
|
|
13
|
-
* set to "false" if the cluster load-balancer does not rely on
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* This field
|
|
12
|
+
* allocated for services with type LoadBalancer. Default is "true". It
|
|
13
|
+
* may be set to "false" if the cluster load-balancer does not rely on
|
|
14
|
+
* NodePorts. If the caller requests specific NodePorts (by specifying a
|
|
15
|
+
* value), those requests will be respected, regardless of this field.
|
|
16
|
+
* This field may only be set for services with type LoadBalancer and will
|
|
17
|
+
* be cleared if the type is changed to any other type.
|
|
17
18
|
* +optional
|
|
18
19
|
*/
|
|
19
20
|
allocateLoadBalancerNodePorts?: boolean;
|
|
@@ -56,12 +57,9 @@ export interface V1ServiceSpec {
|
|
|
56
57
|
* clients must ensure that clusterIPs[0] and clusterIP have the same
|
|
57
58
|
* value.
|
|
58
59
|
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
* entries (dual-stack IPs, in either order). These IPs must correspond to
|
|
63
|
-
* the values of the ipFamilies field. Both clusterIPs and ipFamilies are
|
|
64
|
-
* governed by the ipFamilyPolicy field.
|
|
60
|
+
* This field may hold a maximum of two entries (dual-stack IPs, in either order).
|
|
61
|
+
* These IPs must correspond to the values of the ipFamilies field. Both
|
|
62
|
+
* clusterIPs and ipFamilies are governed by the ipFamilyPolicy field.
|
|
65
63
|
* More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
|
|
66
64
|
* +listType=atomic
|
|
67
65
|
* +optional
|
|
@@ -85,12 +83,19 @@ export interface V1ServiceSpec {
|
|
|
85
83
|
*/
|
|
86
84
|
externalName?: string;
|
|
87
85
|
/**
|
|
88
|
-
* externalTrafficPolicy
|
|
89
|
-
*
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
*
|
|
93
|
-
*
|
|
86
|
+
* externalTrafficPolicy describes how nodes distribute service traffic they
|
|
87
|
+
* receive on one of the Service's "externally-facing" addresses (NodePorts,
|
|
88
|
+
* ExternalIPs, and LoadBalancer IPs). If set to "Local", the proxy will configure
|
|
89
|
+
* the service in a way that assumes that external load balancers will take care
|
|
90
|
+
* of balancing the service traffic between nodes, and so each node will deliver
|
|
91
|
+
* traffic only to the node-local endpoints of the service, without masquerading
|
|
92
|
+
* the client source IP. (Traffic mistakenly sent to a node with no endpoints will
|
|
93
|
+
* be dropped.) The default value, "Cluster", uses the standard behavior of
|
|
94
|
+
* routing to all endpoints evenly (possibly modified by topology and other
|
|
95
|
+
* features). Note that traffic sent to an External IP or LoadBalancer IP from
|
|
96
|
+
* within the cluster will always get "Cluster" semantics, but clients sending to
|
|
97
|
+
* a NodePort from within the cluster may need to take traffic policy into account
|
|
98
|
+
* when picking a node.
|
|
94
99
|
* +optional
|
|
95
100
|
*/
|
|
96
101
|
externalTrafficPolicy?: V1ServiceExternalTrafficPolicyType;
|
|
@@ -104,33 +109,33 @@ export interface V1ServiceSpec {
|
|
|
104
109
|
* service or not. If this field is specified when creating a Service
|
|
105
110
|
* which does not need it, creation will fail. This field will be wiped
|
|
106
111
|
* when updating a Service to no longer need it (e.g. changing type).
|
|
112
|
+
* This field cannot be updated once set.
|
|
107
113
|
* +optional
|
|
108
114
|
*/
|
|
109
115
|
healthCheckNodePort?: number;
|
|
110
116
|
/**
|
|
111
|
-
* InternalTrafficPolicy
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
*
|
|
115
|
-
*
|
|
116
|
-
*
|
|
117
|
+
* InternalTrafficPolicy describes how nodes distribute service traffic they
|
|
118
|
+
* receive on the ClusterIP. If set to "Local", the proxy will assume that pods
|
|
119
|
+
* only want to talk to endpoints of the service on the same node as the pod,
|
|
120
|
+
* dropping the traffic if there are no local endpoints. The default value,
|
|
121
|
+
* "Cluster", uses the standard behavior of routing to all endpoints evenly
|
|
122
|
+
* (possibly modified by topology and other features).
|
|
117
123
|
* +featureGate=ServiceInternalTrafficPolicy
|
|
118
124
|
* +optional
|
|
119
125
|
*/
|
|
120
126
|
internalTrafficPolicy?: V1ServiceInternalTrafficPolicyType;
|
|
121
127
|
/**
|
|
122
128
|
* IPFamilies is a list of IP families (e.g. IPv4, IPv6) assigned to this
|
|
123
|
-
* service
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
*
|
|
128
|
-
*
|
|
129
|
-
*
|
|
130
|
-
*
|
|
131
|
-
*
|
|
132
|
-
*
|
|
133
|
-
* Service to type ExternalName.
|
|
129
|
+
* service. This field is usually assigned automatically based on cluster
|
|
130
|
+
* configuration and the ipFamilyPolicy field. If this field is specified
|
|
131
|
+
* manually, the requested family is available in the cluster,
|
|
132
|
+
* and ipFamilyPolicy allows it, it will be used; otherwise creation of
|
|
133
|
+
* the service will fail. This field is conditionally mutable: it allows
|
|
134
|
+
* for adding or removing a secondary IP family, but it does not allow
|
|
135
|
+
* changing the primary IP family of the Service. Valid values are "IPv4"
|
|
136
|
+
* and "IPv6". This field only applies to Services of types ClusterIP,
|
|
137
|
+
* NodePort, and LoadBalancer, and does apply to "headless" services.
|
|
138
|
+
* This field will be wiped when updating a Service to type ExternalName.
|
|
134
139
|
*
|
|
135
140
|
* This field may hold a maximum of two entries (dual-stack families, in
|
|
136
141
|
* either order). These families must correspond to the values of the
|
|
@@ -142,17 +147,16 @@ export interface V1ServiceSpec {
|
|
|
142
147
|
ipFamilies?: V1IpFamily[];
|
|
143
148
|
/**
|
|
144
149
|
* IPFamilyPolicy represents the dual-stack-ness requested or required by
|
|
145
|
-
* this Service
|
|
146
|
-
*
|
|
147
|
-
*
|
|
148
|
-
*
|
|
149
|
-
* on
|
|
150
|
-
*
|
|
151
|
-
*
|
|
152
|
-
* wiped when updating a service to type ExternalName.
|
|
150
|
+
* this Service. If there is no value provided, then this field will be set
|
|
151
|
+
* to SingleStack. Services can be "SingleStack" (a single IP family),
|
|
152
|
+
* "PreferDualStack" (two IP families on dual-stack configured clusters or
|
|
153
|
+
* a single IP family on single-stack clusters), or "RequireDualStack"
|
|
154
|
+
* (two IP families on dual-stack configured clusters, otherwise fail). The
|
|
155
|
+
* ipFamilies and clusterIPs fields depend on the value of this field. This
|
|
156
|
+
* field will be wiped when updating a service to type ExternalName.
|
|
153
157
|
* +optional
|
|
154
158
|
*/
|
|
155
|
-
ipFamilyPolicy?:
|
|
159
|
+
ipFamilyPolicy?: V1IpFamilyPolicy;
|
|
156
160
|
/**
|
|
157
161
|
* loadBalancerClass is the class of the load balancer implementation this Service belongs to.
|
|
158
162
|
* If specified, the value of this field must be a label-style identifier, with an optional prefix,
|
|
@@ -169,11 +173,14 @@ export interface V1ServiceSpec {
|
|
|
169
173
|
*/
|
|
170
174
|
loadBalancerClass?: string;
|
|
171
175
|
/**
|
|
172
|
-
* Only applies to Service Type: LoadBalancer
|
|
173
|
-
* LoadBalancer will get created with the IP specified in this field.
|
|
176
|
+
* Only applies to Service Type: LoadBalancer.
|
|
174
177
|
* This feature depends on whether the underlying cloud-provider supports specifying
|
|
175
178
|
* the loadBalancerIP when a load balancer is created.
|
|
176
179
|
* This field will be ignored if the cloud-provider does not support the feature.
|
|
180
|
+
* Deprecated: This field was under-specified and its meaning varies across implementations,
|
|
181
|
+
* and it cannot support dual-stack.
|
|
182
|
+
* As of Kubernetes v1.24, users are encouraged to use implementation-specific annotations when available.
|
|
183
|
+
* This field may be removed in a future API version.
|
|
177
184
|
* +optional
|
|
178
185
|
*/
|
|
179
186
|
loadBalancerIP?: string;
|
|
@@ -181,7 +188,7 @@ export interface V1ServiceSpec {
|
|
|
181
188
|
* If specified and supported by the platform, this will restrict traffic through the cloud-provider
|
|
182
189
|
* load-balancer will be restricted to the specified client IPs. This field will be ignored if the
|
|
183
190
|
* cloud-provider does not support the feature."
|
|
184
|
-
* More info: https://kubernetes.io/docs/tasks/access-application-cluster/
|
|
191
|
+
* More info: https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/
|
|
185
192
|
* +optional
|
|
186
193
|
*/
|
|
187
194
|
loadBalancerSourceRanges?: string[];
|
|
@@ -215,6 +222,7 @@ export interface V1ServiceSpec {
|
|
|
215
222
|
* Ignored if type is ExternalName.
|
|
216
223
|
* More info: https://kubernetes.io/docs/concepts/services-networking/service/
|
|
217
224
|
* +optional
|
|
225
|
+
* +mapType=atomic
|
|
218
226
|
*/
|
|
219
227
|
selector?: {
|
|
220
228
|
[key: string]: string;
|
|
@@ -233,24 +241,6 @@ export interface V1ServiceSpec {
|
|
|
233
241
|
* +optional
|
|
234
242
|
*/
|
|
235
243
|
sessionAffinityConfig?: V1SessionAffinityConfig;
|
|
236
|
-
/**
|
|
237
|
-
* topologyKeys is a preference-order list of topology keys which
|
|
238
|
-
* implementations of services should use to preferentially sort endpoints
|
|
239
|
-
* when accessing this Service, it can not be used at the same time as
|
|
240
|
-
* externalTrafficPolicy=Local.
|
|
241
|
-
* Topology keys must be valid label keys and at most 16 keys may be specified.
|
|
242
|
-
* Endpoints are chosen based on the first topology key with available backends.
|
|
243
|
-
* If this field is specified and all entries have no backends that match
|
|
244
|
-
* the topology of the client, the service has no backends for that client
|
|
245
|
-
* and connections should fail.
|
|
246
|
-
* The special value "*" may be used to mean "any topology". This catch-all
|
|
247
|
-
* value, if used, only makes sense as the last value in the list.
|
|
248
|
-
* If this is not specified or empty, no topology constraints will be applied.
|
|
249
|
-
* This field is alpha-level and is only honored by servers that enable the ServiceTopology feature.
|
|
250
|
-
* This field is deprecated and will be removed in a future version.
|
|
251
|
-
* +optional
|
|
252
|
-
*/
|
|
253
|
-
topologyKeys?: string[];
|
|
254
244
|
/**
|
|
255
245
|
* type determines how the Service is exposed. Defaults to ClusterIP. Valid
|
|
256
246
|
* options are ExternalName, ClusterIP, NodePort, and LoadBalancer.
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import type { V1LocalObjectReference } from '../schemas/V1LocalObjectReference';
|
|
2
2
|
export interface V1StorageOsVolumeSource {
|
|
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
|
* Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
|
|
7
7
|
* +optional
|
|
8
8
|
*/
|
|
9
9
|
fsType?: string;
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* readOnly defaults to false (read/write). ReadOnly here will force
|
|
12
12
|
* the ReadOnly setting in VolumeMounts.
|
|
13
13
|
* +optional
|
|
14
14
|
*/
|
|
15
15
|
readOnly?: boolean;
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* secretRef specifies the secret to use for obtaining the StorageOS API
|
|
18
18
|
* credentials. If not specified, default values will be attempted.
|
|
19
19
|
* +optional
|
|
20
20
|
*/
|
|
21
21
|
secretRef?: V1LocalObjectReference;
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* volumeName is the human-readable name of the StorageOS volume. Volume
|
|
24
24
|
* names are only unique within a namespace.
|
|
25
25
|
*/
|
|
26
26
|
volumeName?: string;
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* volumeNamespace specifies the scope of the volume within StorageOS. If no
|
|
29
29
|
* namespace is specified then the Pod's namespace will be used. This allows the
|
|
30
30
|
* Kubernetes name scoping to be mirrored within StorageOS for tighter integration.
|
|
31
31
|
* Set VolumeName to any name to override the default behaviour.
|
|
@@ -29,56 +29,56 @@ import type { V1StorageOsVolumeSource } from '../schemas/V1StorageOsVolumeSource
|
|
|
29
29
|
import type { V1VsphereVirtualDiskVolumeSource } from '../schemas/V1VsphereVirtualDiskVolumeSource';
|
|
30
30
|
export interface V1Volume {
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* awsElasticBlockStore represents an AWS Disk resource that is attached to a
|
|
33
33
|
* kubelet's host machine and then exposed to the pod.
|
|
34
34
|
* More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
|
|
35
35
|
* +optional
|
|
36
36
|
*/
|
|
37
37
|
awsElasticBlockStore?: V1AwsElasticBlockStoreVolumeSource;
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
39
|
+
* azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
|
|
40
40
|
* +optional
|
|
41
41
|
*/
|
|
42
42
|
azureDisk?: V1AzureDiskVolumeSource;
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* azureFile represents an Azure File Service mount on the host and bind mount to the pod.
|
|
45
45
|
* +optional
|
|
46
46
|
*/
|
|
47
47
|
azureFile?: V1AzureFileVolumeSource;
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* cephFS represents a Ceph FS mount on the host that shares a pod's lifetime
|
|
50
50
|
* +optional
|
|
51
51
|
*/
|
|
52
52
|
cephfs?: V1CephFsVolumeSource;
|
|
53
53
|
/**
|
|
54
|
-
*
|
|
54
|
+
* cinder represents a cinder volume attached and mounted on kubelets host machine.
|
|
55
55
|
* More info: https://examples.k8s.io/mysql-cinder-pd/README.md
|
|
56
56
|
* +optional
|
|
57
57
|
*/
|
|
58
58
|
cinder?: V1CinderVolumeSource;
|
|
59
59
|
/**
|
|
60
|
-
*
|
|
60
|
+
* configMap represents a configMap that should populate this volume
|
|
61
61
|
* +optional
|
|
62
62
|
*/
|
|
63
63
|
configMap?: V1ConfigMapVolumeSource;
|
|
64
64
|
/**
|
|
65
|
-
*
|
|
65
|
+
* csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature).
|
|
66
66
|
* +optional
|
|
67
67
|
*/
|
|
68
68
|
csi?: V1CsiVolumeSource;
|
|
69
69
|
/**
|
|
70
|
-
*
|
|
70
|
+
* downwardAPI represents downward API about the pod that should populate this volume
|
|
71
71
|
* +optional
|
|
72
72
|
*/
|
|
73
73
|
downwardAPI?: V1DownwardApiVolumeSource;
|
|
74
74
|
/**
|
|
75
|
-
*
|
|
75
|
+
* emptyDir represents a temporary directory that shares a pod's lifetime.
|
|
76
76
|
* More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
|
|
77
77
|
* +optional
|
|
78
78
|
*/
|
|
79
79
|
emptyDir?: V1EmptyDirVolumeSource;
|
|
80
80
|
/**
|
|
81
|
-
*
|
|
81
|
+
* ephemeral represents a volume that is handled by a cluster storage driver.
|
|
82
82
|
* The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts,
|
|
83
83
|
* and deleted when the pod is removed.
|
|
84
84
|
*
|
|
@@ -103,37 +103,34 @@ export interface V1Volume {
|
|
|
103
103
|
* A pod can use both types of ephemeral volumes and
|
|
104
104
|
* persistent volumes at the same time.
|
|
105
105
|
*
|
|
106
|
-
* This is a beta feature and only available when the GenericEphemeralVolume
|
|
107
|
-
* feature gate is enabled.
|
|
108
|
-
*
|
|
109
106
|
* +optional
|
|
110
107
|
*/
|
|
111
108
|
ephemeral?: V1EphemeralVolumeSource;
|
|
112
109
|
/**
|
|
113
|
-
*
|
|
110
|
+
* fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.
|
|
114
111
|
* +optional
|
|
115
112
|
*/
|
|
116
113
|
fc?: V1FcVolumeSource;
|
|
117
114
|
/**
|
|
118
|
-
*
|
|
115
|
+
* flexVolume represents a generic volume resource that is
|
|
119
116
|
* provisioned/attached using an exec based plugin.
|
|
120
117
|
* +optional
|
|
121
118
|
*/
|
|
122
119
|
flexVolume?: V1FlexVolumeSource;
|
|
123
120
|
/**
|
|
124
|
-
*
|
|
121
|
+
* flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running
|
|
125
122
|
* +optional
|
|
126
123
|
*/
|
|
127
124
|
flocker?: V1FlockerVolumeSource;
|
|
128
125
|
/**
|
|
129
|
-
*
|
|
126
|
+
* gcePersistentDisk represents a GCE Disk resource that is attached to a
|
|
130
127
|
* kubelet's host machine and then exposed to the pod.
|
|
131
128
|
* More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
|
|
132
129
|
* +optional
|
|
133
130
|
*/
|
|
134
131
|
gcePersistentDisk?: V1GcePersistentDiskVolumeSource;
|
|
135
132
|
/**
|
|
136
|
-
*
|
|
133
|
+
* gitRepo represents a git repository at a particular revision.
|
|
137
134
|
* DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an
|
|
138
135
|
* EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir
|
|
139
136
|
* into the Pod's container.
|
|
@@ -141,13 +138,13 @@ export interface V1Volume {
|
|
|
141
138
|
*/
|
|
142
139
|
gitRepo?: V1GitRepoVolumeSource;
|
|
143
140
|
/**
|
|
144
|
-
*
|
|
141
|
+
* glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.
|
|
145
142
|
* More info: https://examples.k8s.io/volumes/glusterfs/README.md
|
|
146
143
|
* +optional
|
|
147
144
|
*/
|
|
148
145
|
glusterfs?: V1GlusterfsVolumeSource;
|
|
149
146
|
/**
|
|
150
|
-
*
|
|
147
|
+
* hostPath represents a pre-existing file or directory on the host
|
|
151
148
|
* machine that is directly exposed to the container. This is generally
|
|
152
149
|
* used for system agents or other privileged things that are allowed
|
|
153
150
|
* to see the host machine. Most containers will NOT need this.
|
|
@@ -159,73 +156,73 @@ export interface V1Volume {
|
|
|
159
156
|
*/
|
|
160
157
|
hostPath?: V1HostPathVolumeSource;
|
|
161
158
|
/**
|
|
162
|
-
*
|
|
159
|
+
* iscsi represents an ISCSI Disk resource that is attached to a
|
|
163
160
|
* kubelet's host machine and then exposed to the pod.
|
|
164
161
|
* More info: https://examples.k8s.io/volumes/iscsi/README.md
|
|
165
162
|
* +optional
|
|
166
163
|
*/
|
|
167
164
|
iscsi?: V1IscsiVolumeSource;
|
|
168
165
|
/**
|
|
169
|
-
*
|
|
166
|
+
* name of the volume.
|
|
170
167
|
* Must be a DNS_LABEL and unique within the pod.
|
|
171
168
|
* More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
172
169
|
*/
|
|
173
170
|
name?: string;
|
|
174
171
|
/**
|
|
175
|
-
*
|
|
172
|
+
* nfs represents an NFS mount on the host that shares a pod's lifetime
|
|
176
173
|
* More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
|
|
177
174
|
* +optional
|
|
178
175
|
*/
|
|
179
176
|
nfs?: V1NfsVolumeSource;
|
|
180
177
|
/**
|
|
181
|
-
*
|
|
178
|
+
* persistentVolumeClaimVolumeSource represents a reference to a
|
|
182
179
|
* PersistentVolumeClaim in the same namespace.
|
|
183
180
|
* More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
|
|
184
181
|
* +optional
|
|
185
182
|
*/
|
|
186
183
|
persistentVolumeClaim?: V1PersistentVolumeClaimVolumeSource;
|
|
187
184
|
/**
|
|
188
|
-
*
|
|
185
|
+
* photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine
|
|
189
186
|
*/
|
|
190
187
|
photonPersistentDisk?: V1PhotonPersistentDiskVolumeSource;
|
|
191
188
|
/**
|
|
192
|
-
*
|
|
189
|
+
* portworxVolume represents a portworx volume attached and mounted on kubelets host machine
|
|
193
190
|
* +optional
|
|
194
191
|
*/
|
|
195
192
|
portworxVolume?: V1PortworxVolumeSource;
|
|
196
193
|
/**
|
|
197
|
-
*
|
|
194
|
+
* projected items for all in one resources secrets, configmaps, and downward API
|
|
198
195
|
*/
|
|
199
196
|
projected?: V1ProjectedVolumeSource;
|
|
200
197
|
/**
|
|
201
|
-
*
|
|
198
|
+
* quobyte represents a Quobyte mount on the host that shares a pod's lifetime
|
|
202
199
|
* +optional
|
|
203
200
|
*/
|
|
204
201
|
quobyte?: V1QuobyteVolumeSource;
|
|
205
202
|
/**
|
|
206
|
-
*
|
|
203
|
+
* rbd represents a Rados Block Device mount on the host that shares a pod's lifetime.
|
|
207
204
|
* More info: https://examples.k8s.io/volumes/rbd/README.md
|
|
208
205
|
* +optional
|
|
209
206
|
*/
|
|
210
207
|
rbd?: V1RbdVolumeSource;
|
|
211
208
|
/**
|
|
212
|
-
*
|
|
209
|
+
* scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
|
|
213
210
|
* +optional
|
|
214
211
|
*/
|
|
215
212
|
scaleIO?: V1ScaleIoVolumeSource;
|
|
216
213
|
/**
|
|
217
|
-
*
|
|
214
|
+
* secret represents a secret that should populate this volume.
|
|
218
215
|
* More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
|
|
219
216
|
* +optional
|
|
220
217
|
*/
|
|
221
218
|
secret?: V1SecretVolumeSource;
|
|
222
219
|
/**
|
|
223
|
-
*
|
|
220
|
+
* storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.
|
|
224
221
|
* +optional
|
|
225
222
|
*/
|
|
226
223
|
storageos?: V1StorageOsVolumeSource;
|
|
227
224
|
/**
|
|
228
|
-
*
|
|
225
|
+
* vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine
|
|
229
226
|
* +optional
|
|
230
227
|
*/
|
|
231
228
|
vsphereVolume?: V1VsphereVirtualDiskVolumeSource;
|
|
@@ -4,22 +4,22 @@ import type { V1SecretProjection } from '../schemas/V1SecretProjection';
|
|
|
4
4
|
import type { V1ServiceAccountTokenProjection } from '../schemas/V1ServiceAccountTokenProjection';
|
|
5
5
|
export interface V1VolumeProjection {
|
|
6
6
|
/**
|
|
7
|
-
* information about the configMap data to project
|
|
7
|
+
* configMap information about the configMap data to project
|
|
8
8
|
* +optional
|
|
9
9
|
*/
|
|
10
10
|
configMap?: V1ConfigMapProjection;
|
|
11
11
|
/**
|
|
12
|
-
* information about the downwardAPI data to project
|
|
12
|
+
* downwardAPI information about the downwardAPI data to project
|
|
13
13
|
* +optional
|
|
14
14
|
*/
|
|
15
15
|
downwardAPI?: V1DownwardApiProjection;
|
|
16
16
|
/**
|
|
17
|
-
* information about the secret data to project
|
|
17
|
+
* secret information about the secret data to project
|
|
18
18
|
* +optional
|
|
19
19
|
*/
|
|
20
20
|
secret?: V1SecretProjection;
|
|
21
21
|
/**
|
|
22
|
-
* information about the serviceAccountToken data to project
|
|
22
|
+
* serviceAccountToken is information about the serviceAccountToken data to project
|
|
23
23
|
* +optional
|
|
24
24
|
*/
|
|
25
25
|
serviceAccountToken?: V1ServiceAccountTokenProjection;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
export interface V1VsphereVirtualDiskVolumeSource {
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* fsType is 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
|
* +optional
|
|
7
7
|
*/
|
|
8
8
|
fsType?: string;
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.
|
|
11
11
|
* +optional
|
|
12
12
|
*/
|
|
13
13
|
storagePolicyID?: string;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* storagePolicyName is the storage Policy Based Management (SPBM) profile name.
|
|
16
16
|
* +optional
|
|
17
17
|
*/
|
|
18
18
|
storagePolicyName?: string;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* volumePath is the path that identifies vSphere volume vmdk
|
|
21
21
|
*/
|
|
22
22
|
volumePath?: string;
|
|
23
23
|
}
|