Skip to content

Commit 6352869

Browse files
committed
Update upstream specifications to their latest version
1 parent 487f646 commit 6352869

File tree

141 files changed

+6922
-696
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

141 files changed

+6922
-696
lines changed

crd-catalog/Kuadrant/dns-operator/kuadrant.io/v1alpha1/dnsrecords.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ spec:
6161
properties:
6262
delegate:
6363
type: "boolean"
64+
x-kubernetes-validations:
65+
- message: "delegate is immutable"
66+
rule: "self == oldSelf"
6467
endpoints:
6568
description: "endpoints is a list of endpoints that will be published into the dns provider."
6669
items:

crd-catalog/ROCm/gpu-operator/amd.com/v1alpha1/deviceconfigs.yaml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ spec:
3535
description: "common config"
3636
properties:
3737
initContainerImage:
38-
description: "InitContainerImage is being used for the operands pods, i.e. metrics exporter, test runner, device plugin and node labeller"
38+
description: "InitContainerImage is being used for the operands pods, i.e. metrics exporter, test runner, device plugin, device config manager and node labeller"
3939
type: "string"
4040
utilsContainer:
4141
description: "UtilsContainer contains parameters to configure operator's utils container"
@@ -892,6 +892,26 @@ spec:
892892
type: "string"
893893
type: "object"
894894
type: "object"
895+
remediationWorkflow:
896+
description: "remediation workflow"
897+
properties:
898+
conditionalWorkflows:
899+
description: "Name of the ConfigMap that holds condition-to-workflow mappings."
900+
properties:
901+
name:
902+
default: ""
903+
description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
904+
type: "string"
905+
type: "object"
906+
x-kubernetes-map-type: "atomic"
907+
enable:
908+
description: "enable remediation workflows. disabled by default\nenable if operator should automatically handle remediation of node incase of gpu issues"
909+
type: "boolean"
910+
ttlForFailedWorkflows:
911+
default: 24
912+
description: "Time to live for argo workflow object and its pods for a failed workflow in hours. By default, it is set to 24 hours"
913+
type: "integer"
914+
type: "object"
895915
selector:
896916
additionalProperties:
897917
type: "string"

crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1/clusters.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,9 @@ spec:
414414
disableExporter:
415415
description: "Determines whether metrics exporter information is annotated on the Component's headless Service.\n\n\nIf set to true, the following annotations will not be patched into the Service:\n\n\n- \"monitor.kubeblocks.io/path\"\n- \"monitor.kubeblocks.io/port\"\n- \"monitor.kubeblocks.io/scheme\"\n\n\nThese annotations allow the Prometheus installed by KubeBlocks to discover and scrape metrics from the exporter."
416416
type: "boolean"
417+
enableInstanceAPI:
418+
description: "Specifies whether to enable the new Instance API."
419+
type: "boolean"
417420
env:
418421
description: "List of environment variables to add.\nThese environment variables will be placed after the environment variables declared in the Pod."
419422
items:
@@ -6616,6 +6619,9 @@ spec:
66166619
disableExporter:
66176620
description: "Determines whether metrics exporter information is annotated on the Component's headless Service.\n\n\nIf set to true, the following annotations will not be patched into the Service:\n\n\n- \"monitor.kubeblocks.io/path\"\n- \"monitor.kubeblocks.io/port\"\n- \"monitor.kubeblocks.io/scheme\"\n\n\nThese annotations allow the Prometheus installed by KubeBlocks to discover and scrape metrics from the exporter."
66186621
type: "boolean"
6622+
enableInstanceAPI:
6623+
description: "Specifies whether to enable the new Instance API."
6624+
type: "boolean"
66196625
env:
66206626
description: "List of environment variables to add.\nThese environment variables will be placed after the environment variables declared in the Pod."
66216627
items:

crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1/components.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,9 @@ spec:
358358
disableExporter:
359359
description: "Determines whether metrics exporter information is annotated on the Component's headless Service.\n\n\nIf set to true, the following annotations will not be patched into the Service:\n\n\n- \"monitor.kubeblocks.io/path\"\n- \"monitor.kubeblocks.io/port\"\n- \"monitor.kubeblocks.io/scheme\"\n\n\nThese annotations allow the Prometheus installed by KubeBlocks to discover and scrape metrics from the exporter."
360360
type: "boolean"
361+
enableInstanceAPI:
362+
description: "Specifies whether to enable the new Instance API."
363+
type: "boolean"
361364
env:
362365
description: "List of environment variables to add."
363366
items:

crd-catalog/apecloud/kubeblocks/workloads.kubeblocks.io/v1/instancesets.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,10 +347,42 @@ spec:
347347
default: false
348348
description: "Specifies whether to create the default headless service."
349349
type: "boolean"
350+
enableInstanceAPI:
351+
description: "Specifies whether to enable the new Instance API."
352+
type: "boolean"
350353
flatInstanceOrdinal:
351354
default: false
352355
description: "flatInstanceOrdinal controls whether the naming of instances(pods) under this component uses a flattened,\nglobally uniquely ordinal scheme, regardless of the instance template.\n\n\nDefaults to false."
353356
type: "boolean"
357+
instanceAssistantObjects:
358+
description: "Assistant objects that are necessary to run the instance.\n\n\n- Service:\n - component service\n- ConfigMap:\n - config & script templates\n - env\n - kbagent task\n- Secret:\n - account\n - TLS\n- RBAC:\n - sa\n - role\n - rolebinding"
359+
items:
360+
description: "ObjectReference contains enough information to let you inspect or modify the referred object.\n---\nNew uses of this type are discouraged because of difficulty describing its usage when embedded in APIs.\n 1. Ignored fields. It includes many fields which are not generally honored. For instance, ResourceVersion and FieldPath are both very rarely valid in actual usage.\n 2. Invalid usage help. It is impossible to add specific help for individual usage. In most embedded usages, there are particular\n restrictions like, \"must refer only to types A and B\" or \"UID not honored\" or \"name must be restricted\".\n Those cannot be well described when embedded.\n 3. Inconsistent validation. Because the usages are different, the validation rules are different by usage, which makes it hard for users to predict what will happen.\n 4. The fields are both imprecise and overly precise. Kind is not a precise mapping to a URL. This can produce ambiguity\n during interpretation and require a REST mapping. In most cases, the dependency is on the group,resource tuple\n and the version of the actual struct is irrelevant.\n 5. We cannot easily change it. Because this type is embedded in many locations, updates to this type\n will affect numerous schemas. Don't make new APIs embed an underspecified API type they do not control.\n\n\nInstead of using this type, create a locally provided and used type that is well-focused on your reference.\nFor example, ServiceReferences for admission registration: https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533 ."
361+
properties:
362+
apiVersion:
363+
description: "API version of the referent."
364+
type: "string"
365+
fieldPath:
366+
description: "If referring to a piece of an object instead of an entire object, this string\nshould contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].\nFor example, if the object reference is to a container within a pod, this would take on a value like:\n\"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered\nthe event) or if no container name is specified \"spec.containers[2]\" (container with\nindex 2 in this pod). This syntax is chosen only to have some well-defined way of\nreferencing a part of an object.\nTODO: this design is not final and this field is subject to change in the future."
367+
type: "string"
368+
kind:
369+
description: "Kind of the referent.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
370+
type: "string"
371+
name:
372+
description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
373+
type: "string"
374+
namespace:
375+
description: "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"
376+
type: "string"
377+
resourceVersion:
378+
description: "Specific resourceVersion to which this reference is made, if any.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"
379+
type: "string"
380+
uid:
381+
description: "UID of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids"
382+
type: "string"
383+
type: "object"
384+
x-kubernetes-map-type: "atomic"
385+
type: "array"
354386
instanceUpdateStrategy:
355387
description: "Provides fine-grained control over the spec update process of all instances."
356388
properties:

crd-catalog/aws-controllers-k8s/ecr-controller/ecr.services.k8s.aws/v1alpha1/pullthroughcacherules.yaml

Lines changed: 44 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,38 @@ spec:
2929
spec:
3030
description: "PullThroughCacheRuleSpec defines the desired state of PullThroughCacheRule.\n\nThe details of a pull through cache rule."
3131
properties:
32+
credentialARN:
33+
description: "The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager\nsecret that identifies the credentials to authenticate to the upstream registry.\n\nRegex Pattern: `^arn:aws:secretsmanager:[a-zA-Z0-9-:]+:secret:ecr\\-pullthroughcache\\/[a-zA-Z0-9\\/_+=.@-]+$`"
34+
type: "string"
35+
credentialRef:
36+
description: "AWSResourceReferenceWrapper provides a wrapper around *AWSResourceReference\ntype to provide more user friendly syntax for references using 'from' field\nEx:\nAPIIDRef:\n\n\tfrom:\n\t name: my-api"
37+
properties:
38+
from:
39+
description: "AWSResourceReference provides all the values necessary to reference another\nk8s resource for finding the identifier(Id/ARN/Name)"
40+
properties:
41+
name:
42+
type: "string"
43+
namespace:
44+
type: "string"
45+
type: "object"
46+
type: "object"
47+
customRoleARN:
48+
description: "Amazon Resource Name (ARN) of the IAM role to be assumed by Amazon ECR to\nauthenticate to the ECR upstream registry. This role must be in the same\naccount as the registry that you are configuring."
49+
type: "string"
50+
customRoleRef:
51+
description: "AWSResourceReferenceWrapper provides a wrapper around *AWSResourceReference\ntype to provide more user friendly syntax for references using 'from' field\nEx:\nAPIIDRef:\n\n\tfrom:\n\t name: my-api"
52+
properties:
53+
from:
54+
description: "AWSResourceReference provides all the values necessary to reference another\nk8s resource for finding the identifier(Id/ARN/Name)"
55+
properties:
56+
name:
57+
type: "string"
58+
namespace:
59+
type: "string"
60+
type: "object"
61+
type: "object"
3262
ecrRepositoryPrefix:
33-
description: "The repository name prefix to use when caching images from the source registry.\n\nRegex Pattern: `^(?:[a-z0-9]+(?:[._-][a-z0-9]+)*/)*[a-z0-9]+(?:[._-][a-z0-9]+)*$`"
63+
description: "The repository name prefix to use when caching images from the source registry.\n\nThere is always an assumed / applied to the end of the prefix. If you specify\necr-public as the prefix, Amazon ECR treats that as ecr-public/.\n\nRegex Pattern: `^((?:[a-z0-9]+(?:[._-][a-z0-9]+)*/)*[a-z0-9]+(?:[._-][a-z0-9]+)*/?|ROOT)$`"
3464
type: "string"
3565
x-kubernetes-validations:
3666
- message: "Value is immutable once set"
@@ -41,8 +71,20 @@ spec:
4171
x-kubernetes-validations:
4272
- message: "Value is immutable once set"
4373
rule: "self == oldSelf"
74+
upstreamRegistry:
75+
description: "The name of the upstream registry."
76+
type: "string"
77+
x-kubernetes-validations:
78+
- message: "Value is immutable once set"
79+
rule: "self == oldSelf"
4480
upstreamRegistryURL:
45-
description: "The registry URL of the upstream public registry to use as the source for\nthe pull through cache rule. The following is the syntax to use for each\nsupported upstream registry.\n\n * Amazon ECR Public (ecr-public) - public.ecr.aws\n\n * Docker Hub (docker-hub) - registry-1.docker.io\n\n * Quay (quay) - quay.io\n\n * Kubernetes (k8s) - registry.k8s.io\n\n * GitHub Container Registry (github-container-registry) - ghcr.io\n\n * Microsoft Azure Container Registry (azure-container-registry) - .azurecr.io"
81+
description: "The registry URL of the upstream public registry to use as the source for\nthe pull through cache rule. The following is the syntax to use for each\nsupported upstream registry.\n\n * Amazon ECR (ecr) – .dkr.ecr..amazonaws.com\n\n * Amazon ECR Public (ecr-public) – public.ecr.aws\n\n * Docker Hub (docker-hub) – registry-1.docker.io\n\n * GitHub Container Registry (github-container-registry) – ghcr.io\n\n * GitLab Container Registry (gitlab-container-registry) – registry.gitlab.com\n\n * Kubernetes (k8s) – registry.k8s.io\n\n * Microsoft Azure Container Registry (azure-container-registry) – .azurecr.io\n\n * Quay (quay) – quay.io"
82+
type: "string"
83+
x-kubernetes-validations:
84+
- message: "Value is immutable once set"
85+
rule: "self == oldSelf"
86+
upstreamRepositoryPrefix:
87+
description: "The repository name prefix of the upstream registry to match with the upstream\nrepository name. When this field isn't specified, Amazon ECR will use the\nROOT.\n\nRegex Pattern: `^((?:[a-z0-9]+(?:[._-][a-z0-9]+)*/)*[a-z0-9]+(?:[._-][a-z0-9]+)*/?|ROOT)$`"
4688
type: "string"
4789
x-kubernetes-validations:
4890
- message: "Value is immutable once set"

crd-catalog/aws-controllers-k8s/lambda-controller/lambda.services.k8s.aws/v1alpha1/aliases.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,16 @@ spec:
3535
description: "Configures options for asynchronous invocation on an alias.\n\n- DestinationConfig\nA destination for events after they have been sent to a function for processing.\n\nTypes of Destinations:\nFunction - The Amazon Resource Name (ARN) of a Lambda function.\nQueue - The ARN of a standard SQS queue.\nTopic - The ARN of a standard SNS topic.\nEvent Bus - The ARN of an Amazon EventBridge event bus.\n\n- MaximumEventAgeInSeconds\nThe maximum age of a request that Lambda sends to a function for processing.\n\n- MaximumRetryAttempts\nThe maximum number of times to retry when the function returns an error."
3636
properties:
3737
destinationConfig:
38-
description: "A configuration object that specifies the destination of an event after Lambda\nprocesses it."
38+
description: "A configuration object that specifies the destination of an event after Lambda\nprocesses it. For more information, see Adding a destination (https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html#invocation-async-destinations)."
3939
properties:
4040
onFailure:
41-
description: "A destination for events that failed processing."
41+
description: "A destination for events that failed processing. For more information, see\nAdding a destination (https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html#invocation-async-destinations)."
4242
properties:
4343
destination:
4444
type: "string"
4545
type: "object"
4646
onSuccess:
47-
description: "A destination for events that were processed successfully.\n\nTo retain records of successful asynchronous invocations (https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations),\nyou can configure an Amazon SNS topic, Amazon SQS queue, Lambda function,\nor Amazon EventBridge event bus as the destination."
47+
description: "A destination for events that were processed successfully.\n\nTo retain records of successful asynchronous invocations (https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations),\nyou can configure an Amazon SNS topic, Amazon SQS queue, Lambda function,\nor Amazon EventBridge event bus as the destination.\n\nOnSuccess is not supported in CreateEventSourceMapping or UpdateEventSourceMapping\nrequests."
4848
properties:
4949
destination:
5050
type: "string"

0 commit comments

Comments
 (0)