@intentius/chant-lexicon-k8s 0.100.0 → 0.102.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/actions/apps.d.ts +4 -4
- package/dist/actions/apps.d.ts.map +1 -1
- package/dist/actions/core.d.ts +5 -5
- package/dist/actions/core.d.ts.map +1 -1
- package/dist/actions/networking.d.ts.map +1 -1
- package/dist/codegen/generate-typescript.d.ts +2 -2
- package/dist/codegen/generate-typescript.d.ts.map +1 -1
- package/dist/codegen/generate.d.ts.map +1 -1
- package/dist/codegen/naming.d.ts.map +1 -1
- package/dist/codegen/versions.d.ts.map +1 -1
- package/dist/components/capability-plugin.d.ts.map +1 -1
- package/dist/composites/catalog.d.ts.map +1 -1
- package/dist/composites/cockroachdb-cluster.d.ts +2 -2
- package/dist/composites/gke-otel-collector.d.ts.map +1 -1
- package/dist/composites/index.d.ts +1 -0
- package/dist/composites/index.d.ts.map +1 -1
- package/dist/composites/otel-collector-agent.d.ts +24 -2
- package/dist/composites/otel-collector-agent.d.ts.map +1 -1
- package/dist/composites/otel-collector-gateway.d.ts +37 -52
- package/dist/composites/otel-collector-gateway.d.ts.map +1 -1
- package/dist/composites/otel-collector-node.d.ts +88 -0
- package/dist/composites/otel-collector-node.d.ts.map +1 -0
- package/dist/composites/otel-collector-rbac.d.ts +74 -0
- package/dist/composites/otel-collector-rbac.d.ts.map +1 -0
- package/dist/composites/otel-collector-shape.d.ts +7 -0
- package/dist/composites/otel-collector-shape.d.ts.map +1 -1
- package/dist/composites/otel-collector.d.ts +17 -21
- package/dist/composites/otel-collector.d.ts.map +1 -1
- package/dist/composites/ray-cluster.d.ts +6 -6
- package/dist/composites/ray-job.d.ts +5 -5
- package/dist/composites/ray-service.d.ts +6 -6
- package/dist/crd/crd-sources.d.ts.map +1 -1
- package/dist/crd/loader.d.ts.map +1 -1
- package/dist/crd/oci-chart.d.ts +50 -0
- package/dist/crd/oci-chart.d.ts.map +1 -0
- package/dist/crd/types.d.ts +5 -0
- package/dist/crd/types.d.ts.map +1 -1
- package/dist/effect-receipt-row.d.ts.map +1 -1
- package/dist/generated/index.d.ts +752 -729
- package/dist/generated/index.d.ts.map +1 -1
- package/dist/import/embedded.d.ts +4 -2
- package/dist/import/embedded.d.ts.map +1 -1
- package/dist/import/generator.d.ts.map +1 -1
- package/dist/import/live-export.d.ts +5 -0
- package/dist/import/live-export.d.ts.map +1 -1
- package/dist/import/parser.d.ts.map +1 -1
- package/dist/import/testdata/embedded/fixtures.d.ts +6 -0
- package/dist/import/testdata/embedded/fixtures.d.ts.map +1 -1
- package/dist/integrity.json +8 -6
- package/dist/lint/audit-catalog.d.ts.map +1 -1
- package/dist/lint/post-synth/index.d.ts.map +1 -1
- package/dist/lint/post-synth/otel-placement-helpers.d.ts +5 -1
- package/dist/lint/post-synth/otel-placement-helpers.d.ts.map +1 -1
- package/dist/lint/post-synth/wk8604.d.ts +19 -0
- package/dist/lint/post-synth/wk8604.d.ts.map +1 -0
- package/dist/lint/post-synth/wk8605.d.ts +23 -0
- package/dist/lint/post-synth/wk8605.d.ts.map +1 -0
- package/dist/manifest.json +1 -1
- package/dist/meta.json +156 -17
- package/dist/okf/index.md +5 -0
- package/dist/okf/rules/WK8604.md +11 -0
- package/dist/okf/rules/WK8605.md +11 -0
- package/dist/okf/types/APIGroup.md +3 -3
- package/dist/okf/types/APIGroupList.md +1 -1
- package/dist/okf/types/APIResourceList.md +1 -1
- package/dist/okf/types/APIService.md +1 -1
- package/dist/okf/types/APIServiceList.md +2 -2
- package/dist/okf/types/APIVersions.md +1 -1
- package/dist/okf/types/BatchJob.md +1 -1
- package/dist/okf/types/CSIDriver.md +1 -1
- package/dist/okf/types/CSIDriverList.md +2 -2
- package/dist/okf/types/CSINode.md +1 -1
- package/dist/okf/types/CSINodeList.md +2 -2
- package/dist/okf/types/CSIStorageCapacity.md +2 -2
- package/dist/okf/types/CSIStorageCapacityList.md +2 -2
- package/dist/okf/types/CertificateSigningRequest.md +1 -1
- package/dist/okf/types/CertificateSigningRequestList.md +2 -2
- package/dist/okf/types/ClusterRole.md +1 -1
- package/dist/okf/types/ClusterRoleBindingList.md +2 -2
- package/dist/okf/types/ClusterRoleList.md +2 -2
- package/dist/okf/types/ClusterTrustBundle.md +1 -1
- package/dist/okf/types/ClusterTrustBundleList.md +2 -2
- package/dist/okf/types/ComponentStatus.md +1 -1
- package/dist/okf/types/ComponentStatusList.md +2 -2
- package/dist/okf/types/ConfigMapList.md +2 -2
- package/dist/okf/types/ControllerRevisionList.md +2 -2
- package/dist/okf/types/CoreEventList.md +2 -2
- package/dist/okf/types/CronJob.md +1 -1
- package/dist/okf/types/CronJobList.md +2 -2
- package/dist/okf/types/CustomResourceDefinition.md +1 -1
- package/dist/okf/types/CustomResourceDefinitionList.md +2 -2
- package/dist/okf/types/DaemonSet.md +1 -1
- package/dist/okf/types/DaemonSetList.md +2 -2
- package/dist/okf/types/DeleteOptions.md +1 -1
- package/dist/okf/types/Deploy.md +1 -1
- package/dist/okf/types/DeploymentList.md +2 -2
- package/dist/okf/types/DeviceClass.md +1 -1
- package/dist/okf/types/DeviceClassList.md +2 -2
- package/dist/okf/types/DeviceTaintRule.md +1 -1
- package/dist/okf/types/DeviceTaintRuleList.md +2 -2
- package/dist/okf/types/EndpointSlice.md +2 -2
- package/dist/okf/types/EndpointSliceList.md +2 -2
- package/dist/okf/types/Endpoints.md +1 -1
- package/dist/okf/types/EndpointsList.md +2 -2
- package/dist/okf/types/Event.md +2 -2
- package/dist/okf/types/EventsEvent.md +2 -2
- package/dist/okf/types/EventsEventList.md +2 -2
- package/dist/okf/types/Eviction.md +1 -1
- package/dist/okf/types/FlowSchema.md +1 -1
- package/dist/okf/types/FlowSchemaList.md +2 -2
- package/dist/okf/types/GrafanaDashboard.md +14 -0
- package/dist/okf/types/GrafanaDatasource.md +14 -0
- package/dist/okf/types/GrafanaFolder.md +14 -0
- package/dist/okf/types/HorizontalPodAutoscaler.md +1 -1
- package/dist/okf/types/HorizontalPodAutoscalerList.md +2 -2
- package/dist/okf/types/IPAddress.md +1 -1
- package/dist/okf/types/IPAddressList.md +2 -2
- package/dist/okf/types/Ing.md +1 -1
- package/dist/okf/types/IngressClass.md +1 -1
- package/dist/okf/types/IngressClassList.md +2 -2
- package/dist/okf/types/IngressList.md +2 -2
- package/dist/okf/types/JobList.md +2 -2
- package/dist/okf/types/Lease.md +1 -1
- package/dist/okf/types/LeaseCandidate.md +1 -1
- package/dist/okf/types/LeaseCandidateList.md +2 -2
- package/dist/okf/types/LeaseList.md +2 -2
- package/dist/okf/types/LimitRange.md +1 -1
- package/dist/okf/types/LimitRangeList.md +2 -2
- package/dist/okf/types/LocalSubjectAccessReview.md +1 -1
- package/dist/okf/types/MutatingAdmissionPolicy.md +1 -1
- package/dist/okf/types/MutatingAdmissionPolicyBinding.md +1 -1
- package/dist/okf/types/MutatingAdmissionPolicyBindingList.md +2 -2
- package/dist/okf/types/MutatingAdmissionPolicyList.md +2 -2
- package/dist/okf/types/MutatingWebhookConfiguration.md +1 -1
- package/dist/okf/types/MutatingWebhookConfigurationList.md +2 -2
- package/dist/okf/types/Namespace.md +1 -1
- package/dist/okf/types/NamespaceList.md +2 -2
- package/dist/okf/types/NetPol.md +1 -1
- package/dist/okf/types/NetworkPolicyList.md +2 -2
- package/dist/okf/types/Node.md +1 -1
- package/dist/okf/types/NodeList.md +2 -2
- package/dist/okf/types/PersistentVolume.md +1 -1
- package/dist/okf/types/PersistentVolumeClaimList.md +2 -2
- package/dist/okf/types/PersistentVolumeList.md +2 -2
- package/dist/okf/types/PodCertificateRequest.md +1 -1
- package/dist/okf/types/PodCertificateRequestList.md +2 -2
- package/dist/okf/types/PodDisruptionBudgetList.md +2 -2
- package/dist/okf/types/PodList.md +2 -2
- package/dist/okf/types/PodTemplateList.md +2 -2
- package/dist/okf/types/PriorityClassList.md +2 -2
- package/dist/okf/types/PriorityLevelConfiguration.md +1 -1
- package/dist/okf/types/PriorityLevelConfigurationList.md +2 -2
- package/dist/okf/types/ReplicaSet.md +1 -1
- package/dist/okf/types/ReplicaSetList.md +2 -2
- package/dist/okf/types/ReplicationController.md +1 -1
- package/dist/okf/types/ReplicationControllerList.md +2 -2
- package/dist/okf/types/ResourceClaim.md +1 -1
- package/dist/okf/types/ResourceClaimList.md +2 -2
- package/dist/okf/types/ResourceClaimTemplate.md +1 -1
- package/dist/okf/types/ResourceClaimTemplateList.md +2 -2
- package/dist/okf/types/ResourceQuota.md +1 -1
- package/dist/okf/types/ResourceQuotaList.md +2 -2
- package/dist/okf/types/ResourceSlice.md +1 -1
- package/dist/okf/types/ResourceSliceList.md +2 -2
- package/dist/okf/types/RoleBindingList.md +2 -2
- package/dist/okf/types/RoleList.md +2 -2
- package/dist/okf/types/RuntimeClass.md +2 -2
- package/dist/okf/types/RuntimeClassList.md +2 -2
- package/dist/okf/types/Scale.md +1 -1
- package/dist/okf/types/SecretList.md +2 -2
- package/dist/okf/types/SelfSubjectAccessReview.md +1 -1
- package/dist/okf/types/SelfSubjectRulesReview.md +1 -1
- package/dist/okf/types/Service.md +1 -1
- package/dist/okf/types/ServiceAccountList.md +2 -2
- package/dist/okf/types/ServiceCIDR.md +1 -1
- package/dist/okf/types/ServiceCIDRList.md +2 -2
- package/dist/okf/types/ServiceList.md +2 -2
- package/dist/okf/types/StatefulSet.md +1 -1
- package/dist/okf/types/StatefulSetList.md +2 -2
- package/dist/okf/types/Status.md +2 -2
- package/dist/okf/types/StorageClass.md +1 -1
- package/dist/okf/types/StorageClassList.md +2 -2
- package/dist/okf/types/StorageVersionMigration.md +1 -1
- package/dist/okf/types/StorageVersionMigrationList.md +2 -2
- package/dist/okf/types/SubjectAccessReview.md +1 -1
- package/dist/okf/types/TokenRequest.md +1 -1
- package/dist/okf/types/TokenReview.md +1 -1
- package/dist/okf/types/ValidatingAdmissionPolicy.md +1 -1
- package/dist/okf/types/ValidatingAdmissionPolicyBinding.md +1 -1
- package/dist/okf/types/ValidatingAdmissionPolicyBindingList.md +2 -2
- package/dist/okf/types/ValidatingAdmissionPolicyList.md +2 -2
- package/dist/okf/types/ValidatingWebhookConfiguration.md +1 -1
- package/dist/okf/types/ValidatingWebhookConfigurationList.md +2 -2
- package/dist/okf/types/VolumeAttachment.md +1 -1
- package/dist/okf/types/VolumeAttachmentList.md +2 -2
- package/dist/okf/types/VolumeAttributesClassList.md +2 -2
- package/dist/op/activities/argo.d.ts.map +1 -1
- package/dist/op/activities/index.d.ts +3 -3
- package/dist/op/activities/index.d.ts.map +1 -1
- package/dist/op/activities/wait-for-ready.d.ts.map +1 -1
- package/dist/op/builders.d.ts.map +1 -1
- package/dist/rules/otel-placement-helpers.ts +7 -11
- package/dist/rules/wk8604.ts +29 -0
- package/dist/rules/wk8605.ts +131 -0
- package/dist/skills/chant-k8s.md +1 -1
- package/dist/spec/parse.d.ts +27 -0
- package/dist/spec/parse.d.ts.map +1 -1
- package/dist/types/index.d.ts +5360 -972
- package/dist/variables.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/codegen/declarations.test.ts +118 -0
- package/src/codegen/generate-typescript.ts +69 -4
- package/src/codegen/generate.ts +15 -6
- package/src/composites/__snapshots__/gke-otel-collector.snapshot.test.ts.snap +2 -68
- package/src/composites/catalog.ts +12 -0
- package/src/composites/gke-otel-collector.snapshot.test.ts +3 -1
- package/src/composites/gke-otel-collector.ts +13 -2
- package/src/composites/index.ts +1 -0
- package/src/composites/otel-collector-agent.ts +45 -11
- package/src/composites/otel-collector-gateway.test.ts +102 -5
- package/src/composites/otel-collector-gateway.ts +96 -18
- package/src/composites/otel-collector-node.test.ts +174 -0
- package/src/composites/otel-collector-node.ts +213 -0
- package/src/composites/otel-collector-rbac.test.ts +114 -0
- package/src/composites/otel-collector-rbac.ts +144 -0
- package/src/composites/otel-collector-shape.ts +19 -0
- package/src/composites/otel-collector.ts +40 -35
- package/src/crd/crd-sources.ts +26 -0
- package/src/crd/loader.test.ts +9 -1
- package/src/crd/loader.ts +26 -3
- package/src/crd/oci-chart.test.ts +149 -0
- package/src/crd/oci-chart.ts +178 -0
- package/src/crd/types.ts +5 -0
- package/src/generated/index.d.ts +5360 -972
- package/src/generated/index.ts +23 -0
- package/src/generated/lexicon-k8s.json +156 -17
- package/src/generated/operations.json +48 -0
- package/src/import/embedded-live.test.ts +180 -0
- package/src/import/embedded-roundtrip.test.ts +73 -7
- package/src/import/embedded-types.e2e.test.ts +3 -1
- package/src/import/embedded.test.ts +64 -0
- package/src/import/embedded.ts +31 -2
- package/src/import/generator.test.ts +19 -0
- package/src/import/generator.ts +20 -2
- package/src/import/live-export.ts +10 -2
- package/src/import/testdata/embedded/README.md +4 -1
- package/src/import/testdata/embedded/alertmanager-configmap.yaml +91 -0
- package/src/import/testdata/embedded/fixtures.ts +18 -0
- package/src/import/testdata/embedded/grafana-operator-dashboard.yaml +363 -0
- package/src/import/testdata/embedded/grafana-v2-dashboard-configmap.yaml +851 -0
- package/src/lint/audit-catalog.ts +2 -0
- package/src/lint/post-synth/index.ts +4 -0
- package/src/lint/post-synth/otel-placement-helpers.ts +7 -11
- package/src/lint/post-synth/otel-placement.test.ts +35 -0
- package/src/lint/post-synth/post-synth.test.ts +3 -3
- package/src/lint/post-synth/wk8604.ts +29 -0
- package/src/lint/post-synth/wk8605.test.ts +141 -0
- package/src/lint/post-synth/wk8605.ts +131 -0
- package/src/skills/chant-k8s.md +1 -1
- package/src/spec/parse.test.ts +118 -0
- package/src/spec/parse.ts +250 -29
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: post-synth-check
|
|
3
|
+
title: WK8605
|
|
4
|
+
description: OpenTelemetry Collector config reads the node (k8sattributes filtered to its node, kubeletstats, hostmetrics root_path, filelog) but its workload doesn't set the node name variable or mount the hos...
|
|
5
|
+
id: WK8605
|
|
6
|
+
severity: error
|
|
7
|
+
category: post-synth
|
|
8
|
+
lexicon: k8s
|
|
9
|
+
docs: https://intentius.io/chant/lexicons/k8s/rules/
|
|
10
|
+
---
|
|
11
|
+
OpenTelemetry Collector config reads the node (k8sattributes filtered to its node, kubeletstats, hostmetrics root_path, filelog) but its workload doesn't set the node name variable or mount the host paths. Sees one build root at a time (chant #1939).
|
|
@@ -11,6 +11,6 @@ resource_type: K8s::Core::APIGroup
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
13
|
- `name` (`string`, required): name is the name of the group.
|
|
14
|
-
- `versions` (`
|
|
15
|
-
- `preferredVersion` (`
|
|
16
|
-
- `serverAddressByClientCIDRs` (`
|
|
14
|
+
- `versions` (`GroupVersionForDiscovery[]`, required): versions are the versions supported in this group.
|
|
15
|
+
- `preferredVersion` (`GroupVersionForDiscovery`, optional): preferredVersion is the version preferred by the API server, which probably is the storage version.
|
|
16
|
+
- `serverAddressByClientCIDRs` (`ServerAddressByClientCIDR[]`, optional): a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
|
|
@@ -10,4 +10,4 @@ resource_type: K8s::Core::APIGroupList
|
|
|
10
10
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
|
-
- `groups` (`
|
|
13
|
+
- `groups` (`{ name: string; preferredVersion?: GroupVersionForDiscovery; serverAddressByClientCIDRs?: ServerAddressByClientCIDR[]; versions: GroupVersionForDiscovery[] }[]`, required): groups is a list of APIGroup.
|
|
@@ -11,4 +11,4 @@ resource_type: K8s::Core::APIResourceList
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
13
|
- `groupVersion` (`string`, required): groupVersion is the group and version this APIResourceList is for.
|
|
14
|
-
- `resources` (`
|
|
14
|
+
- `resources` (`APIResource[]`, required): resources contains the name of the resources and if they are namespaced.
|
|
@@ -11,4 +11,4 @@ resource_type: K8s::Apiregistration::APIService
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
13
|
- `metadata` (`ObjectMeta`, optional): Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
14
|
-
- `spec` (`
|
|
14
|
+
- `spec` (`APIServiceSpec`, optional): Spec contains information for locating and communicating with a server
|
|
@@ -10,5 +10,5 @@ resource_type: K8s::Apiregistration::APIServiceList
|
|
|
10
10
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
|
-
- `items` (`
|
|
14
|
-
- `metadata` (`
|
|
13
|
+
- `items` (`{ metadata?: ObjectMeta; spec?: APIServiceSpec }[]`, required): Items is the list of APIService
|
|
14
|
+
- `metadata` (`ListMeta`, optional): Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
@@ -10,5 +10,5 @@ resource_type: K8s::Core::APIVersions
|
|
|
10
10
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
|
-
- `serverAddressByClientCIDRs` (`
|
|
13
|
+
- `serverAddressByClientCIDRs` (`ServerAddressByClientCIDR[]`, required): a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
|
|
14
14
|
- `versions` (`string[]`, required): versions are the api versions that are available.
|
|
@@ -11,4 +11,4 @@ resource_type: K8s::Batch::Job
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
13
|
- `metadata` (`ObjectMeta`, optional): Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
14
|
-
- `spec` (`
|
|
14
|
+
- `spec` (`JobSpec`, optional): Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
|
@@ -10,5 +10,5 @@ resource_type: K8s::Storage::CSIDriver
|
|
|
10
10
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
|
-
- `spec` (`
|
|
13
|
+
- `spec` (`CSIDriverSpec`, required): spec represents the specification of the CSI Driver.
|
|
14
14
|
- `metadata` (`ObjectMeta`, optional): Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
@@ -10,5 +10,5 @@ resource_type: K8s::Storage::CSIDriverList
|
|
|
10
10
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
|
-
- `items` (`
|
|
14
|
-
- `metadata` (`
|
|
13
|
+
- `items` (`{ metadata?: ObjectMeta; spec: CSIDriverSpec }[]`, required): items is the list of CSIDriver
|
|
14
|
+
- `metadata` (`ListMeta`, optional): Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
@@ -10,5 +10,5 @@ resource_type: K8s::Storage::CSINode
|
|
|
10
10
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
|
-
- `spec` (`
|
|
13
|
+
- `spec` (`CSINodeSpec`, required): spec is the specification of CSINode
|
|
14
14
|
- `metadata` (`ObjectMeta`, optional): Standard object's metadata. metadata.name must be the Kubernetes node name.
|
|
@@ -10,5 +10,5 @@ resource_type: K8s::Storage::CSINodeList
|
|
|
10
10
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
|
-
- `items` (`
|
|
14
|
-
- `metadata` (`
|
|
13
|
+
- `items` (`{ metadata?: ObjectMeta; spec: CSINodeSpec }[]`, required): items is the list of CSINode
|
|
14
|
+
- `metadata` (`ListMeta`, optional): Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
@@ -11,7 +11,7 @@ resource_type: K8s::Storage::CSIStorageCapacity
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
13
|
- `storageClassName` (`string`, required): storageClassName represents the name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable.
|
|
14
|
-
- `capacity` (`string`, optional): capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields. The semantic is currently (CSI spec 1.2) defined as: The available capacity, in bytes, of the storage that can be used to provision volumes. If not set, that information is currently unavailable.
|
|
15
|
-
- `maximumVolumeSize` (`string`, optional): maximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields. This is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim.
|
|
14
|
+
- `capacity` (`string | number`, optional): capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields. The semantic is currently (CSI spec 1.2) defined as: The available capacity, in bytes, of the storage that can be used to provision volumes. If not set, that information is currently unavailable.
|
|
15
|
+
- `maximumVolumeSize` (`string | number`, optional): maximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields. This is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim.
|
|
16
16
|
- `metadata` (`ObjectMeta`, optional): Standard object's metadata. The name has no particular meaning. It must be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-<uuid>, a generated name, or a reverse-domain name which ends with the unique CSI driver name. Objects are namespaced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
17
17
|
- `nodeTopology` (`LabelSelector`, optional): nodeTopology defines which nodes have access to the storage for which capacity was reported. If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable.
|
|
@@ -10,5 +10,5 @@ resource_type: K8s::Storage::CSIStorageCapacityList
|
|
|
10
10
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
|
-
- `items` (`
|
|
14
|
-
- `metadata` (`
|
|
13
|
+
- `items` (`({ capacity?: string | number; maximumVolumeSize?: string | number; metadata?: ObjectMeta; nodeTopology?: LabelSelector; storageClassName: string })[]`, required): items is the list of CSIStorageCapacity objects.
|
|
14
|
+
- `metadata` (`ListMeta`, optional): Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
@@ -10,5 +10,5 @@ resource_type: K8s::Certificates::CertificateSigningRequest
|
|
|
10
10
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
|
-
- `spec` (`
|
|
13
|
+
- `spec` (`CertificateSigningRequestSpec`, required): spec contains the certificate request, and is immutable after creation. Only the request, signerName, expirationSeconds, and usages fields can be set on creation. Other fields are derived by Kubernetes and cannot be modified by users.
|
|
14
14
|
- `metadata` (`ObjectMeta`, optional)
|
|
@@ -10,5 +10,5 @@ resource_type: K8s::Certificates::CertificateSigningRequestList
|
|
|
10
10
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
|
-
- `items` (`
|
|
14
|
-
- `metadata` (`
|
|
13
|
+
- `items` (`{ metadata?: ObjectMeta; spec: CertificateSigningRequestSpec }[]`, required): items is a collection of CertificateSigningRequest objects
|
|
14
|
+
- `metadata` (`ListMeta`, optional)
|
|
@@ -10,6 +10,6 @@ resource_type: K8s::Rbac::ClusterRole
|
|
|
10
10
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
|
-
- `aggregationRule` (`
|
|
13
|
+
- `aggregationRule` (`AggregationRule`, optional): AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller.
|
|
14
14
|
- `metadata` (`ObjectMeta`, optional): Standard object's metadata.
|
|
15
15
|
- `rules` (`PolicyRule[]`, optional): Rules holds all the PolicyRules for this ClusterRole
|
|
@@ -10,5 +10,5 @@ resource_type: K8s::Rbac::ClusterRoleBindingList
|
|
|
10
10
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
|
-
- `items` (`
|
|
14
|
-
- `metadata` (`
|
|
13
|
+
- `items` (`{ metadata?: ObjectMeta; roleRef: RoleRef; subjects?: Subject[] }[]`, required): Items is a list of ClusterRoleBindings
|
|
14
|
+
- `metadata` (`ListMeta`, optional): Standard object's metadata.
|
|
@@ -10,5 +10,5 @@ resource_type: K8s::Rbac::ClusterRoleList
|
|
|
10
10
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
|
-
- `items` (`
|
|
14
|
-
- `metadata` (`
|
|
13
|
+
- `items` (`{ aggregationRule?: AggregationRule; metadata?: ObjectMeta; rules?: PolicyRule[] }[]`, required): Items is a list of ClusterRoles
|
|
14
|
+
- `metadata` (`ListMeta`, optional): Standard object's metadata.
|
|
@@ -10,5 +10,5 @@ resource_type: K8s::Certificates::ClusterTrustBundle
|
|
|
10
10
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
|
-
- `spec` (`
|
|
13
|
+
- `spec` (`ClusterTrustBundleSpec`, required): spec contains the signer (if any) and trust anchors.
|
|
14
14
|
- `metadata` (`ObjectMeta`, optional): metadata contains the object metadata.
|
|
@@ -10,5 +10,5 @@ resource_type: K8s::Certificates::ClusterTrustBundleList
|
|
|
10
10
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
|
-
- `items` (`
|
|
14
|
-
- `metadata` (`
|
|
13
|
+
- `items` (`{ metadata?: ObjectMeta; spec: ClusterTrustBundleSpec }[]`, required): items is a collection of ClusterTrustBundle objects
|
|
14
|
+
- `metadata` (`ListMeta`, optional): metadata contains the list metadata.
|
|
@@ -10,5 +10,5 @@ resource_type: K8s::Core::ComponentStatus
|
|
|
10
10
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
|
-
- `conditions` (`
|
|
13
|
+
- `conditions` (`ComponentCondition[]`, optional): List of component conditions observed
|
|
14
14
|
- `metadata` (`ObjectMeta`, optional): Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
@@ -10,5 +10,5 @@ resource_type: K8s::Core::ComponentStatusList
|
|
|
10
10
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
|
-
- `items` (`
|
|
14
|
-
- `metadata` (`
|
|
13
|
+
- `items` (`{ conditions?: ComponentCondition[]; metadata?: ObjectMeta }[]`, required): List of ComponentStatus objects.
|
|
14
|
+
- `metadata` (`ListMeta`, optional): Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
@@ -10,5 +10,5 @@ resource_type: K8s::Core::ConfigMapList
|
|
|
10
10
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
|
-
- `items` (`Record<string,
|
|
14
|
-
- `metadata` (`
|
|
13
|
+
- `items` (`{ binaryData?: Record<string, string>; data?: Record<string, string>; immutable?: boolean; metadata?: ObjectMeta }[]`, required): Items is the list of ConfigMaps.
|
|
14
|
+
- `metadata` (`ListMeta`, optional): More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
@@ -10,5 +10,5 @@ resource_type: K8s::Apps::ControllerRevisionList
|
|
|
10
10
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
|
-
- `items` (`Record<string,
|
|
14
|
-
- `metadata` (`
|
|
13
|
+
- `items` (`{ data?: Record<string, any>; metadata?: ObjectMeta; revision: number }[]`, required): Items is the list of ControllerRevisions
|
|
14
|
+
- `metadata` (`ListMeta`, optional): More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
@@ -10,5 +10,5 @@ resource_type: K8s::Core::EventList
|
|
|
10
10
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
|
-
- `items` (`
|
|
14
|
-
- `metadata` (`
|
|
13
|
+
- `items` (`{ action?: string; count?: number; eventTime?: string; firstTimestamp?: string; involvedObject: ObjectReference; lastTimestamp?: string; message?: string; metadata: ObjectMeta; reason?: string; related?: ObjectReference; reportingComponent?: string; reportingInstance?: string; series?: CoreEventSeries; source?: EventSource; type?: string }[]`, required): List of events
|
|
14
|
+
- `metadata` (`ListMeta`, optional): Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
@@ -10,7 +10,7 @@ resource_type: K8s::Batch::CronJob
|
|
|
10
10
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
|
-
- `spec` (`
|
|
13
|
+
- `spec` (`CronJobSpec`, required): Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
|
14
14
|
- `metadata` (`ObjectMeta`, optional): Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
15
15
|
|
|
16
16
|
## Governed by
|
|
@@ -10,5 +10,5 @@ resource_type: K8s::Batch::CronJobList
|
|
|
10
10
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
|
-
- `items` (`
|
|
14
|
-
- `metadata` (`
|
|
13
|
+
- `items` (`{ metadata?: ObjectMeta; spec: CronJobSpec }[]`, required): items is the list of CronJobs.
|
|
14
|
+
- `metadata` (`ListMeta`, optional): Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
@@ -10,5 +10,5 @@ resource_type: K8s::Apiextensions::CustomResourceDefinition
|
|
|
10
10
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
|
-
- `spec` (`
|
|
13
|
+
- `spec` (`CustomResourceDefinitionSpec`, required): spec describes how the user wants the resources to appear
|
|
14
14
|
- `metadata` (`ObjectMeta`, optional): Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
@@ -10,5 +10,5 @@ resource_type: K8s::Apiextensions::CustomResourceDefinitionList
|
|
|
10
10
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
|
-
- `items` (`
|
|
14
|
-
- `metadata` (`
|
|
13
|
+
- `items` (`{ metadata?: ObjectMeta; spec: CustomResourceDefinitionSpec }[]`, required): items list individual CustomResourceDefinition objects
|
|
14
|
+
- `metadata` (`ListMeta`, optional): Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
@@ -11,7 +11,7 @@ resource_type: K8s::Apps::DaemonSet
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
13
|
- `metadata` (`ObjectMeta`, optional): Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
14
|
-
- `spec` (`
|
|
14
|
+
- `spec` (`DaemonSetSpec`, optional): The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
|
15
15
|
|
|
16
16
|
## Governed by
|
|
17
17
|
|
|
@@ -10,5 +10,5 @@ resource_type: K8s::Apps::DaemonSetList
|
|
|
10
10
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
|
-
- `items` (`
|
|
14
|
-
- `metadata` (`
|
|
13
|
+
- `items` (`{ metadata?: ObjectMeta; spec?: DaemonSetSpec }[]`, required): A list of daemon sets.
|
|
14
|
+
- `metadata` (`ListMeta`, optional): Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
@@ -14,5 +14,5 @@ resource_type: K8s::Core::DeleteOptions
|
|
|
14
14
|
- `gracePeriodSeconds` (`number`, optional): The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
|
|
15
15
|
- `ignoreStoreReadErrorWithClusterBreakingPotential` (`boolean`, optional): if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it
|
|
16
16
|
- `orphanDependents` (`boolean`, optional): Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
|
|
17
|
-
- `preconditions` (`
|
|
17
|
+
- `preconditions` (`Preconditions`, optional): Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned.
|
|
18
18
|
- `propagationPolicy` (`string`, optional): Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.
|
package/dist/okf/types/Deploy.md
CHANGED
|
@@ -11,4 +11,4 @@ resource_type: K8s::Apps::Deployment
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
13
|
- `metadata` (`ObjectMeta`, optional): Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
14
|
-
- `spec` (`
|
|
14
|
+
- `spec` (`DeploymentSpec`, optional): Specification of the desired behavior of the Deployment.
|
|
@@ -10,5 +10,5 @@ resource_type: K8s::Apps::DeploymentList
|
|
|
10
10
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
|
-
- `items` (`
|
|
14
|
-
- `metadata` (`
|
|
13
|
+
- `items` (`{ metadata?: ObjectMeta; spec?: DeploymentSpec }[]`, required): Items is the list of Deployments.
|
|
14
|
+
- `metadata` (`ListMeta`, optional): Standard list metadata.
|
|
@@ -10,5 +10,5 @@ resource_type: K8s::Resource::DeviceClass
|
|
|
10
10
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
|
-
- `spec` (`
|
|
13
|
+
- `spec` (`DeviceClassSpec`, required): Spec defines what can be allocated and how to configure it. This is mutable. Consumers have to be prepared for classes changing at any time, either because they get updated or replaced. Claim allocations are done once based on whatever was set in classes at the time of allocation. Changing the spec automatically increments the metadata.generation number.
|
|
14
14
|
- `metadata` (`ObjectMeta`, optional): Standard object metadata
|
|
@@ -10,5 +10,5 @@ resource_type: K8s::Resource::DeviceClassList
|
|
|
10
10
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
|
-
- `items` (`
|
|
14
|
-
- `metadata` (`
|
|
13
|
+
- `items` (`{ metadata?: ObjectMeta; spec: DeviceClassSpec }[]`, required): Items is the list of resource classes.
|
|
14
|
+
- `metadata` (`ListMeta`, optional): Standard list metadata
|
|
@@ -10,5 +10,5 @@ resource_type: K8s::Resource::DeviceTaintRule
|
|
|
10
10
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
|
-
- `spec` (`
|
|
13
|
+
- `spec` (`DeviceTaintRuleSpec`, required): Spec specifies the selector and one taint. Changing the spec automatically increments the metadata.generation number.
|
|
14
14
|
- `metadata` (`ObjectMeta`, optional): Standard object metadata
|
|
@@ -10,5 +10,5 @@ resource_type: K8s::Resource::DeviceTaintRuleList
|
|
|
10
10
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
|
-
- `items` (`
|
|
14
|
-
- `metadata` (`
|
|
13
|
+
- `items` (`{ metadata?: ObjectMeta; spec: DeviceTaintRuleSpec }[]`, required): Items is the list of DeviceTaintRules.
|
|
14
|
+
- `metadata` (`ListMeta`, optional): Standard list metadata
|
|
@@ -11,6 +11,6 @@ resource_type: K8s::Discovery::EndpointSlice
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
13
|
- `addressType` (`string`, required): addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name. (Deprecated) The EndpointSlice controller only generates, and kube-proxy only processes, slices of addressType "IPv4" and "IPv6". No semantics are defined for the "FQDN" type.
|
|
14
|
-
- `endpoints` (`
|
|
14
|
+
- `endpoints` (`Endpoint[]`, optional): endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints.
|
|
15
15
|
- `metadata` (`ObjectMeta`, optional): Standard object's metadata.
|
|
16
|
-
- `ports` (`
|
|
16
|
+
- `ports` (`DiscoveryEndpointPort[]`, optional): ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. Each slice may include a maximum of 100 ports. Services always have at least 1 port, so EndpointSlices generated by the EndpointSlice controller will likewise always have at least 1 port. EndpointSlices used for other purposes may have an empty ports list.
|
|
@@ -10,5 +10,5 @@ resource_type: K8s::Discovery::EndpointSliceList
|
|
|
10
10
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
|
-
- `items` (`
|
|
14
|
-
- `metadata` (`
|
|
13
|
+
- `items` (`{ addressType: string; endpoints?: Endpoint[]; metadata?: ObjectMeta; ports?: DiscoveryEndpointPort[] }[]`, required): items is the list of endpoint slices
|
|
14
|
+
- `metadata` (`ListMeta`, optional): Standard list metadata.
|
|
@@ -11,4 +11,4 @@ resource_type: K8s::Core::Endpoints
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
13
|
- `metadata` (`ObjectMeta`, optional): Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
14
|
-
- `subsets` (`
|
|
14
|
+
- `subsets` (`EndpointSubset[]`, optional): The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service.
|
|
@@ -10,5 +10,5 @@ resource_type: K8s::Core::EndpointsList
|
|
|
10
10
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
|
-
- `items` (`
|
|
14
|
-
- `metadata` (`
|
|
13
|
+
- `items` (`{ metadata?: ObjectMeta; subsets?: EndpointSubset[] }[]`, required): List of endpoints.
|
|
14
|
+
- `metadata` (`ListMeta`, optional): Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
package/dist/okf/types/Event.md
CHANGED
|
@@ -22,6 +22,6 @@ resource_type: K8s::Core::Event
|
|
|
22
22
|
- `related` (`ObjectReference`, optional): Optional secondary object for more complex actions.
|
|
23
23
|
- `reportingComponent` (`string`, optional): Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`.
|
|
24
24
|
- `reportingInstance` (`string`, optional): ID of the controller instance, e.g. `kubelet-xyzf`.
|
|
25
|
-
- `series` (`
|
|
26
|
-
- `source` (`
|
|
25
|
+
- `series` (`CoreEventSeries`, optional): Data about the Event series this event represents or nil if it's a singleton Event.
|
|
26
|
+
- `source` (`EventSource`, optional): The component reporting this event. Should be a short machine understandable string.
|
|
27
27
|
- `type` (`string`, optional): Type of this event (Normal, Warning), new types could be added in the future
|
|
@@ -15,7 +15,7 @@ resource_type: K8s::Events::Event
|
|
|
15
15
|
- `deprecatedCount` (`number`, optional): deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type.
|
|
16
16
|
- `deprecatedFirstTimestamp` (`string`, optional): deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.
|
|
17
17
|
- `deprecatedLastTimestamp` (`string`, optional): deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.
|
|
18
|
-
- `deprecatedSource` (`
|
|
18
|
+
- `deprecatedSource` (`EventSource`, optional): deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type.
|
|
19
19
|
- `metadata` (`ObjectMeta`, optional): Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
20
20
|
- `note` (`string`, optional): note is a human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB.
|
|
21
21
|
- `reason` (`string`, optional): reason is why the action was taken. It is human-readable. This field cannot be empty for new Events and it can have at most 128 characters.
|
|
@@ -23,5 +23,5 @@ resource_type: K8s::Events::Event
|
|
|
23
23
|
- `related` (`ObjectReference`, optional): related is the optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object.
|
|
24
24
|
- `reportingController` (`string`, optional): reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events.
|
|
25
25
|
- `reportingInstance` (`string`, optional): reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters.
|
|
26
|
-
- `series` (`
|
|
26
|
+
- `series` (`EventsEventSeries`, optional): series is data about the Event series this event represents or nil if it's a singleton Event.
|
|
27
27
|
- `type` (`string`, optional): type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable. This field cannot be empty for new Events.
|
|
@@ -10,5 +10,5 @@ resource_type: K8s::Events::EventList
|
|
|
10
10
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
|
-
- `items` (`
|
|
14
|
-
- `metadata` (`
|
|
13
|
+
- `items` (`{ action?: string; deprecatedCount?: number; deprecatedFirstTimestamp?: string; deprecatedLastTimestamp?: string; deprecatedSource?: EventSource; eventTime: string; metadata?: ObjectMeta; note?: string; reason?: string; regarding?: ObjectReference; related?: ObjectReference; reportingController?: string; reportingInstance?: string; series?: EventsEventSeries; type?: string }[]`, required): items is a list of schema objects.
|
|
14
|
+
- `metadata` (`ListMeta`, optional): Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
@@ -10,5 +10,5 @@ resource_type: K8s::Policy::Eviction
|
|
|
10
10
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
|
-
- `deleteOptions` (`
|
|
13
|
+
- `deleteOptions` (`{ dryRun?: string[]; gracePeriodSeconds?: number; ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; orphanDependents?: boolean; preconditions?: Preconditions; propagationPolicy?: string }`, optional): DeleteOptions may be provided
|
|
14
14
|
- `metadata` (`ObjectMeta`, optional): ObjectMeta describes the pod that is being evicted.
|
|
@@ -11,4 +11,4 @@ resource_type: K8s::Flowcontrol::FlowSchema
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
13
|
- `metadata` (`ObjectMeta`, optional): `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
14
|
-
- `spec` (`
|
|
14
|
+
- `spec` (`FlowSchemaSpec`, optional): `spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
|
@@ -10,5 +10,5 @@ resource_type: K8s::Flowcontrol::FlowSchemaList
|
|
|
10
10
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
|
-
- `items` (`
|
|
14
|
-
- `metadata` (`
|
|
13
|
+
- `items` (`{ metadata?: ObjectMeta; spec?: FlowSchemaSpec }[]`, required): `items` is a list of FlowSchemas.
|
|
14
|
+
- `metadata` (`ListMeta`, optional): `metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: resource-type
|
|
3
|
+
title: GrafanaDashboard
|
|
4
|
+
description: k8s resource type K8s::Grafana::GrafanaDashboard
|
|
5
|
+
name: GrafanaDashboard
|
|
6
|
+
lexicon: k8s
|
|
7
|
+
resource_type: K8s::Grafana::GrafanaDashboard
|
|
8
|
+
---
|
|
9
|
+
`K8s::Grafana::GrafanaDashboard`, a resource type of the k8s lexicon.
|
|
10
|
+
|
|
11
|
+
## Properties
|
|
12
|
+
|
|
13
|
+
- `spec` (`Record<string, unknown>`, required): GrafanaDashboardSpec defines the desired state of GrafanaDashboard
|
|
14
|
+
- `metadata` (`ObjectMeta`, optional): Standard object's metadata.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: resource-type
|
|
3
|
+
title: GrafanaDatasource
|
|
4
|
+
description: k8s resource type K8s::Grafana::GrafanaDatasource
|
|
5
|
+
name: GrafanaDatasource
|
|
6
|
+
lexicon: k8s
|
|
7
|
+
resource_type: K8s::Grafana::GrafanaDatasource
|
|
8
|
+
---
|
|
9
|
+
`K8s::Grafana::GrafanaDatasource`, a resource type of the k8s lexicon.
|
|
10
|
+
|
|
11
|
+
## Properties
|
|
12
|
+
|
|
13
|
+
- `spec` (`Record<string, unknown>`, required): GrafanaDatasourceSpec defines the desired state of GrafanaDatasource
|
|
14
|
+
- `metadata` (`ObjectMeta`, optional): Standard object's metadata.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: resource-type
|
|
3
|
+
title: GrafanaFolder
|
|
4
|
+
description: k8s resource type K8s::Grafana::GrafanaFolder
|
|
5
|
+
name: GrafanaFolder
|
|
6
|
+
lexicon: k8s
|
|
7
|
+
resource_type: K8s::Grafana::GrafanaFolder
|
|
8
|
+
---
|
|
9
|
+
`K8s::Grafana::GrafanaFolder`, a resource type of the k8s lexicon.
|
|
10
|
+
|
|
11
|
+
## Properties
|
|
12
|
+
|
|
13
|
+
- `spec` (`Record<string, unknown>`, required): GrafanaFolderSpec defines the desired state of GrafanaFolder
|
|
14
|
+
- `metadata` (`ObjectMeta`, optional): Standard object's metadata.
|
|
@@ -10,5 +10,5 @@ resource_type: K8s::Autoscaling::HorizontalPodAutoscaler
|
|
|
10
10
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
|
-
- `spec` (`
|
|
13
|
+
- `spec` (`HorizontalPodAutoscalerSpec`, required): spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
|
|
14
14
|
- `metadata` (`ObjectMeta`, optional): metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
@@ -10,5 +10,5 @@ resource_type: K8s::Autoscaling::HorizontalPodAutoscalerList
|
|
|
10
10
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
|
-
- `items` (`
|
|
14
|
-
- `metadata` (`
|
|
13
|
+
- `items` (`{ metadata?: ObjectMeta; spec: HorizontalPodAutoscalerSpec }[]`, required): items is the list of horizontal pod autoscaler objects.
|
|
14
|
+
- `metadata` (`ListMeta`, optional): metadata is the standard list metadata.
|
|
@@ -10,5 +10,5 @@ resource_type: K8s::Networking::IPAddress
|
|
|
10
10
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
|
-
- `spec` (`
|
|
13
|
+
- `spec` (`IPAddressSpec`, required): spec is the desired state of the IPAddress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
|
14
14
|
- `metadata` (`ObjectMeta`, optional): Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
@@ -10,5 +10,5 @@ resource_type: K8s::Networking::IPAddressList
|
|
|
10
10
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
|
-
- `items` (`
|
|
14
|
-
- `metadata` (`
|
|
13
|
+
- `items` (`{ metadata?: ObjectMeta; spec: IPAddressSpec }[]`, required): items is the list of IPAddresses.
|
|
14
|
+
- `metadata` (`ListMeta`, optional): Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
package/dist/okf/types/Ing.md
CHANGED
|
@@ -11,4 +11,4 @@ resource_type: K8s::Networking::Ingress
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
13
|
- `metadata` (`ObjectMeta`, optional): Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
14
|
-
- `spec` (`
|
|
14
|
+
- `spec` (`IngressSpec`, optional): spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
|
@@ -11,4 +11,4 @@ resource_type: K8s::Networking::IngressClass
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
13
|
- `metadata` (`ObjectMeta`, optional): Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
14
|
-
- `spec` (`
|
|
14
|
+
- `spec` (`IngressClassSpec`, optional): spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|