Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update upstream specifications to their latest version #91

Merged
merged 1 commit into from
Dec 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3163,6 +3163,12 @@ spec:
type: object
type: array
type: object
redisEnterpriseIPFamily:
description: Reserved, future use, only for use if instructed by Redis. IPFamily dictates what IP family to choose for pods' internal and external communication.
enum:
- IPv4
- IPv6
type: string
redisEnterpriseImageSpec:
description: Specification for Redis Enterprise container image
properties:
Expand Down Expand Up @@ -7353,6 +7359,8 @@ spec:
description: The most recent time at which the status being indicated is known by the responder to have been correct.
type: string
type: object
redisEnterpriseIPFamily:
type: string
specStatus:
type: string
state:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3074,6 +3074,11 @@ spec:
type: object
type: array
type: object
redisEnterpriseIPFamily:
enum:
- IPv4
- IPv6
type: string
redisEnterpriseImageSpec:
properties:
digestHash:
Expand Down Expand Up @@ -7189,6 +7194,8 @@ spec:
thisUpdate:
type: string
type: object
redisEnterpriseIPFamily:
type: string
specStatus:
type: string
state:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
labels:
app: redis-enterprise
name: redisenterprisedatabases.app.redislabs.com
spec:
group: app.redislabs.com
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,30 @@ spec:
type: object
type: object
type: object
status:
properties:
conditions:
items:
properties:
lastTransitionTime:
type: string
message:
type: string
reason:
type: string
status:
type: string
type:
type: string
type: object
required:
- type
- status
- lastTransitionTime
type: array
observedGeneration:
type: integer
type: object
type: object
served: true
storage: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,8 @@ spec:
name:
minLength: 1
type: string
required:
- name
type: object
value:
properties:
Expand Down Expand Up @@ -220,6 +222,30 @@ spec:
required:
- authParameter
type: object
status:
properties:
conditions:
items:
properties:
lastTransitionTime:
type: string
message:
type: string
reason:
type: string
status:
type: string
type:
type: string
type: object
required:
- type
- status
- lastTransitionTime
type: array
observedGeneration:
type: integer
type: object
type: object
served: true
storage: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,23 @@ spec:
type: object
className:
type: string
labels:
additionalProperties:
type: string
type: object
template:
type: string
tls:
items:
properties:
hosts:
items:
type: string
type: array
secretName:
type: string
type: object
type: array
type: object
job:
properties:
Expand All @@ -76,6 +91,8 @@ spec:
type: string
parallelism:
type: integer
savepointRedeployNonce:
type: integer
savepointTriggerNonce:
type: integer
state:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ spec:
type: string
parallelism:
type: integer
savepointRedeployNonce:
type: integer
savepointTriggerNonce:
type: integer
state:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4721,6 +4721,131 @@ spec:
- containers
type: object
x-kubernetes-preserve-unknown-fields: true
postStartSpec:
description: postStartSpec defines the command to be executed when the component is ready, and the command will only be executed once after the component becomes ready.
properties:
cmdExecutorConfig:
description: cmdExecutorConfig is the executor configuration of the post-start command.
properties:
args:
description: args is used to perform statements.
items:
type: string
type: array
command:
description: command to perform statements.
items:
type: string
minItems: 1
type: array
env:
description: envs is a list of environment variables.
items:
description: EnvVar represents an environment variable present in a Container.
properties:
name:
description: Name of the environment variable. Must be a C_IDENTIFIER.
type: string
value:
description: 'Variable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "".'
type: string
valueFrom:
description: Source for the environment variable's value. Cannot be used if value is not empty.
properties:
configMapKeyRef:
description: Selects a key of a ConfigMap.
properties:
key:
description: The key to select.
type: string
name:
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
type: string
optional:
description: Specify whether the ConfigMap or its key must be defined
type: boolean
required:
- key
type: object
x-kubernetes-map-type: atomic
fieldRef:
description: 'Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels[''<KEY>'']`, `metadata.annotations[''<KEY>'']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.'
properties:
apiVersion:
description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
type: string
fieldPath:
description: Path of the field to select in the specified API version.
type: string
required:
- fieldPath
type: object
x-kubernetes-map-type: atomic
resourceFieldRef:
description: 'Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.'
properties:
containerName:
description: 'Container name: required for volumes, optional for env vars'
type: string
divisor:
anyOf:
- type: integer
- type: string
description: Specifies the output format of the exposed resources, defaults to "1"
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
resource:
description: 'Required: resource to select'
type: string
required:
- resource
type: object
x-kubernetes-map-type: atomic
secretKeyRef:
description: Selects a key of a secret in the pod's namespace
properties:
key:
description: The key of the secret to select from. Must be a valid secret key.
type: string
name:
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
type: string
optional:
description: Specify whether the Secret or its key must be defined
type: boolean
required:
- key
type: object
x-kubernetes-map-type: atomic
type: object
required:
- name
type: object
type: array
x-kubernetes-preserve-unknown-fields: true
image:
description: image for Connector when executing the command.
type: string
required:
- command
- image
type: object
scriptSpecSelectors:
description: scriptSpecSelectors defines the selector of the scriptSpecs that need to be referenced. Once ScriptSpecSelectors is defined, the scripts defined in scriptSpecs can be referenced in the PostStartAction.CmdExecutorConfig.
items:
properties:
name:
description: ScriptSpec name of the referent, refer to componentDefs[x].scriptSpecs[y].Name.
maxLength: 63
pattern: ^[a-z0-9]([a-z0-9\.\-]*[a-z0-9])?$
type: string
required:
- name
type: object
type: array
required:
- cmdExecutorConfig
type: object
probes:
description: probes setting for healthy checks.
properties:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ spec:
type: boolean
replicas:
default: 1
description: Component replicas. The default value is used in ClusterDefinition spec if not specified.
description: Component replicas.
format: int32
minimum: 0.0
type: integer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ spec:
description: restoreTime point in time to restore
type: string
volumeRestorePolicy:
default: Serial
default: Parallel
description: 'the volume claim restore policy, support values: [Serial, Parallel]'
enum:
- Serial
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ spec:
- Delete
- Retain
default: Delete
description: deletionPolicy determines whether the backup contents stored in backup repository should be deleted when the backup custom resource is deleted. Supported values are "Retain" and "Delete". "Retain" means that the backup can not be deleted and remains in 'Deleting' phase. "Delete" means that the backup content and its physical snapshot on backup repository are deleted.
description: 'deletionPolicy determines whether the backup contents stored in backup repository should be deleted when the backup custom resource is deleted. Supported values are "Retain" and "Delete". "Retain" means that the backup can not be deleted and remains in ''Deleting'' phase. "Delete" means that the backup content and its physical snapshot on backup repository are deleted. TODO: for the retain policy, we should support in the future for only deleting the backup custom objects but retaining the backup contents in backup repository. The current implementation only prevent accidental deletion of backup data.'
type: string
parentBackupName:
description: parentBackupName determines the parent backup name for incremental or differential backup.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ spec:
description: The name of the add-on. The name must match one of the names that DescribeAddonVersions (https://docs.aws.amazon.com/eks/latest/APIReference/API_DescribeAddonVersions.html) returns.
type: string
resolveConflicts:
description: "How to resolve field value conflicts for an Amazon EKS add-on. Conflicts are handled based on the value you choose: \n * None – If the self-managed version of the add-on is installed on your cluster, Amazon EKS doesn't change the value. Creation of the add-on might fail. \n * Overwrite – If the self-managed version of the add-on is installed on your cluster and the Amazon EKS default value is different than the existing value, Amazon EKS changes the value to the Amazon EKS default value. \n * Preserve – Not supported. You can set this value when updating an add-on though. For more information, see UpdateAddon (https://docs.aws.amazon.com/eks/latest/APIReference/API_UpdateAddon.html). \n If you don't currently have the self-managed version of the add-on installed on your cluster, the Amazon EKS add-on is installed. Amazon EKS sets all values to default values, regardless of the option that you specify."
description: "How to resolve field value conflicts for an Amazon EKS add-on. Conflicts are handled based on the value you choose: \n * None – If the self-managed version of the add-on is installed on your cluster, Amazon EKS doesn't change the value. Creation of the add-on might fail. \n * Overwrite – If the self-managed version of the add-on is installed on your cluster and the Amazon EKS default value is different than the existing value, Amazon EKS changes the value to the Amazon EKS default value. \n * Preserve – This is similar to the NONE option. If the self-managed version of the add-on is installed on your cluster Amazon EKS doesn't change the add-on resource properties. Creation of the add-on might fail if conflicts are detected. This option works differently during the update operation. For more information, see UpdateAddon (https://docs.aws.amazon.com/eks/latest/APIReference/API_UpdateAddon.html). \n If you don't currently have the self-managed version of the add-on installed on your cluster, the Amazon EKS add-on is installed. Amazon EKS sets all values to default values, regardless of the option that you specify."
type: string
serviceAccountRoleARN:
description: "The Amazon Resource Name (ARN) of an existing IAM role to bind to the add-on's service account. The role must be assigned the IAM permissions required by the add-on. If you don't specify an existing IAM role, then the add-on uses the permissions assigned to the node IAM role. For more information, see Amazon EKS node IAM role (https://docs.aws.amazon.com/eks/latest/userguide/create-node-role.html) in the Amazon EKS User Guide. \n To specify an existing IAM role, you must have an IAM OpenID Connect (OIDC) provider created for your cluster. For more information, see Enabling IAM roles for service accounts on your cluster (https://docs.aws.amazon.com/eks/latest/userguide/enable-iam-roles-for-service-accounts.html) in the Amazon EKS User Guide."
Expand Down
Loading