Skip to content

Commit

Permalink
Update upstream specifications to their latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
sebhoss authored Nov 24, 2023
1 parent 8a4dea2 commit 29f7835
Show file tree
Hide file tree
Showing 115 changed files with 11,833 additions and 270 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ spec:
description: LimitadorStatus defines the observed state of Limitador
properties:
conditions:
description: 'Represents the observations of a foo''s current state. Known .status.conditions.type are: "Available"'
description: 'Represents the observations of a foo''s current state. Known .status.conditions.type are: "Ready"'
items:
description: "Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct use as an array at the field path .status.conditions. For example, \n type FooStatus struct{ // Represents the observations of a foo's current state. // Known .status.conditions.type are: \"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }"
properties:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,9 @@ spec:
items:
description: OpsGenieConfig configures notifications via OpsGenie. See https://prometheus.io/docs/alerting/latest/configuration/#opsgenie_config
properties:
actions:
description: Comma separated list of actions that will be available for the alert.
type: string
apiURL:
description: The URL to send OpsGenie API requests to.
type: string
Expand Down Expand Up @@ -333,6 +336,9 @@ spec:
type: string
description: A set of arbitrary key/value pairs that provide further detail about the incident.
type: object
entity:
description: Optional field that can be used to specify which domain alert is related to.
type: string
http_config:
description: HTTP client configuration.
type: object
Expand Down Expand Up @@ -377,6 +383,9 @@ spec:
tags:
description: Comma separated list of tags attached to the notifications.
type: string
update_alerts:
description: Whether to update message and description of the alert in OpsGenie if it already exists By default, the alert is never updated in OpsGenie, the new message only appears in activity log.
type: boolean
type: object
type: array
pagerduty_configs:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -613,10 +613,6 @@ spec:
x-kubernetes-validations:
- message: duplicated component
rule: self.all(x, size(self.filter(c, c.name == x.name)) == 1)
- message: component can not be added dynamically
rule: self.all(x, oldSelf.exists(y, y.name == x.name))
- message: component can not be removed dynamically
rule: oldSelf.all(x, self.exists(y, y.name == x.name))
connectionCredentials:
description: connectionCredentials defines the credentials used to access a cluster.
items:
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,13 @@ spec:
description: ApplicationDestination holds information about the application's destination
properties:
name:
description: Name is an alternate way of specifying the target cluster by its symbolic name
description: Name is an alternate way of specifying the target cluster by its symbolic name. This must be set if Server is not set.
type: string
namespace:
description: Namespace specifies the target namespace for the application's resources. The namespace will only be set for namespace-scoped resources that have not set a value for .metadata.namespace
type: string
server:
description: Server specifies the URL of the target cluster and must be set to the Kubernetes control plane API
description: Server specifies the URL of the target cluster's Kubernetes control plane API. This must be set if Name is not set.
type: string
type: object
type: array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,18 @@ spec:
items:
type: string
type: array
subnetRefs:
items:
description: "AWSResourceReferenceWrapper provides a wrapper around *AWSResourceReference type to provide more user friendly syntax for references using 'from' field Ex: APIIDRef: \n from: name: my-api"
properties:
from:
description: AWSResourceReference provides all the values necessary to reference another k8s resource for finding the identifier(Id/ARN/Name)
properties:
name:
type: string
type: object
type: object
type: array
tags:
description: A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
items:
Expand All @@ -54,7 +66,6 @@ spec:
required:
- cacheSubnetGroupDescription
- cacheSubnetGroupName
- subnetIDs
type: object
status:
description: CacheSubnetGroupStatus defines the observed state of CacheSubnetGroup
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,16 @@ spec:
cacheParameterGroupName:
description: "The name of the parameter group to associate with this replication group. If this argument is omitted, the default cache parameter group for the specified engine is used. \n If you are running Redis version 3.2.4 or later, only one node group (shard), and want to use a default parameter group, we recommend that you specify the parameter group by name. \n * To create a Redis (cluster mode disabled) replication group, use CacheParameterGroupName=default.redis3.2. \n * To create a Redis (cluster mode enabled) replication group, use CacheParameterGroupName=default.redis3.2.cluster.on."
type: string
cacheParameterGroupRef:
description: "AWSResourceReferenceWrapper provides a wrapper around *AWSResourceReference type to provide more user friendly syntax for references using 'from' field Ex: APIIDRef: \n from: name: my-api"
properties:
from:
description: AWSResourceReference provides all the values necessary to reference another k8s resource for finding the identifier(Id/ARN/Name)
properties:
name:
type: string
type: object
type: object
cacheSecurityGroupNames:
description: A list of cache security group names to associate with this replication group.
items:
Expand All @@ -65,6 +75,16 @@ spec:
cacheSubnetGroupName:
description: "The name of the cache subnet group to be used for the replication group. \n If you're going to launch your cluster in an Amazon VPC, you need to create a subnet group before you start creating a cluster. For more information, see Subnets and Subnet Groups (https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/SubnetGroups.html)."
type: string
cacheSubnetGroupRef:
description: "AWSResourceReferenceWrapper provides a wrapper around *AWSResourceReference type to provide more user friendly syntax for references using 'from' field Ex: APIIDRef: \n from: name: my-api"
properties:
from:
description: AWSResourceReference provides all the values necessary to reference another k8s resource for finding the identifier(Id/ARN/Name)
properties:
name:
type: string
type: object
type: object
dataTieringEnabled:
description: Enables data tiering. Data tiering is only supported for replication groups using the r6gd node type. This parameter must be set to true when using r6gd nodes. For more information, see Data tiering (https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/data-tiering.html).
type: boolean
Expand Down Expand Up @@ -174,6 +194,18 @@ spec:
items:
type: string
type: array
securityGroupRefs:
items:
description: "AWSResourceReferenceWrapper provides a wrapper around *AWSResourceReference type to provide more user friendly syntax for references using 'from' field Ex: APIIDRef: \n from: name: my-api"
properties:
from:
description: AWSResourceReference provides all the values necessary to reference another k8s resource for finding the identifier(Id/ARN/Name)
properties:
name:
type: string
type: object
type: object
type: array
snapshotARNs:
description: "A list of Amazon Resource Names (ARN) that uniquely identify the Redis RDB snapshot files stored in Amazon S3. The snapshot files are used to populate the new replication group. The Amazon S3 object name in the ARN cannot contain any commas. The new replication group will have the number of node groups (console: shards) specified by the parameter NumNodeGroups or the number of node groups configured by NodeGroupConfiguration regardless of the number of ARNs specified here. \n Example of an Amazon S3 ARN: arn:aws:s3:::my_bucket/snapshot1.rdb"
items:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -961,10 +961,12 @@ spec:
type: string
namespace:
type: string
templateName:
type: string
templateNamespace:
type: string
version:
type: string
required:
- name
type: object
required:
- name
Expand Down Expand Up @@ -1013,10 +1015,12 @@ spec:
type: string
namespace:
type: string
templateName:
type: string
templateNamespace:
type: string
version:
type: string
required:
- name
type: object
required:
- name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1025,10 +1025,12 @@ spec:
type: string
namespace:
type: string
templateName:
type: string
templateNamespace:
type: string
version:
type: string
required:
- name
type: object
required:
- name
Expand Down Expand Up @@ -1079,10 +1081,12 @@ spec:
type: string
namespace:
type: string
templateName:
type: string
templateNamespace:
type: string
version:
type: string
required:
- name
type: object
required:
- name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,13 @@ spec:
description: ClusterID, a Random (Version 4) UUID, is a unique value in time and space value representing for child cluster. It is typically generated by the clusternet agent on the successful creation of a "clusternet-agent" Lease in the child cluster. Also it is not allowed to change on PUT operations.
pattern: '[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}'
type: string
clusterInitBaseName:
description: ClusterInitBaseName denotes the name of a Base used for initialization. Also a taint "clusters.clusternet.io/initialization:NoSchedule" will be added during the operation and removed after successful initialization. If this cluster has got an annotation "clusters.clusternet.io/skip-cluster-init", this field will be empty. Normally this field is fully managed by clusternet-controller-manager and immutable.
maxLength: 512
type: string
x-kubernetes-validations:
- message: clusterInitBaseName is immutable
rule: self == oldSelf
clusterType:
description: ClusterType denotes the type of the child cluster.
type: string
Expand Down Expand Up @@ -97,6 +104,9 @@ spec:
- clusterId
- syncMode
type: object
x-kubernetes-validations:
- message: clusterInitSubName is required once set
rule: '!has(oldSelf.clusterInitSubName) || has(self.clusterInitSubName)'
status:
description: ManagedClusterStatus defines the observed state of ManagedCluster
properties:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,11 @@ spec:
type: string
principalType:
description: The type of principal to use for authentication. If left blank, the Auth struct will determine the principal type. This optional field must be specified if using workload identity.
enum:
- ''
- UserPrincipal
- InstancePrincipal
- Workload
type: string
region:
description: Region is the region where vault is located.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,11 @@ spec:
type: string
principalType:
description: The type of principal to use for authentication. If left blank, the Auth struct will determine the principal type. This optional field must be specified if using workload identity.
enum:
- ''
- UserPrincipal
- InstancePrincipal
- Workload
type: string
region:
description: Region is the region where vault is located.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1119,6 +1119,11 @@ spec:
type: string
principalType:
description: The type of principal to use for authentication. If left blank, the Auth struct will determine the principal type. This optional field must be specified if using workload identity.
enum:
- ''
- UserPrincipal
- InstancePrincipal
- Workload
type: string
region:
description: Region is the region where vault is located.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1119,6 +1119,11 @@ spec:
type: string
principalType:
description: The type of principal to use for authentication. If left blank, the Auth struct will determine the principal type. This optional field must be specified if using workload identity.
enum:
- ''
- UserPrincipal
- InstancePrincipal
- Workload
type: string
region:
description: Region is the region where vault is located.
Expand Down
Loading

0 comments on commit 29f7835

Please sign in to comment.