Skip to content

Commit

Permalink
make update
Browse files Browse the repository at this point in the history
  • Loading branch information
jkyros committed Aug 10, 2023
1 parent 644a9ca commit 384f415
Show file tree
Hide file tree
Showing 12 changed files with 1,873 additions and 62 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,6 @@ spec:
items:
description: ContainerRuntimeConfigCondition defines the state of the ContainerRuntimeConfig
type: object
required:
- lastTransitionTime
- status
- type
properties:
lastTransitionTime:
description: lastTransitionTime is the time of the last update to the current status object.
Expand Down
135 changes: 132 additions & 3 deletions machineconfiguration/v1/0000_80_controllerconfig.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ spec:
required:
- additionalTrustBundle
- baseOSContainerImage
- baseOSExtensionsContainerImage
- cloudProviderCAData
- cloudProviderConfig
- clusterDNSIP
Expand All @@ -59,7 +58,6 @@ spec:
- ipFamilies
- kubeAPIServerServingCAData
- network
- osImageURL
- proxy
- releaseImage
- rootCAData
Expand Down Expand Up @@ -108,6 +106,47 @@ spec:
baseDomain:
description: "baseDomain is the base domain of the cluster. All managed DNS records will be sub-domains of this base. \n For example, given the base domain `openshift.example.com`, an API server DNS record may be created for `cluster-api.openshift.example.com`. \n Once set, this field cannot be changed."
type: string
platform:
description: platform holds configuration specific to the underlying infrastructure provider for DNS. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time.
type: object
required:
- type
properties:
aws:
description: aws contains DNS configuration specific to the Amazon Web Services cloud provider.
type: object
properties:
privateZoneIAMRole:
description: privateZoneIAMRole contains the ARN of an IAM role that should be assumed when performing operations on the cluster's private hosted zone specified in the cluster DNS config. When left empty, no role should be assumed.
type: string
pattern: ^arn:(aws|aws-cn|aws-us-gov):iam::[0-9]{12}:role\/.*$
type:
description: "type is the underlying infrastructure provider for the cluster. Allowed values: \"\", \"AWS\". \n Individual components may not support all platforms, and must handle unrecognized platforms with best-effort defaults."
type: string
enum:
- ""
- AWS
- Azure
- BareMetal
- GCP
- Libvirt
- OpenStack
- None
- VSphere
- oVirt
- IBMCloud
- KubeVirt
- EquinixMetal
- PowerVS
- AlibabaCloud
- Nutanix
- External
x-kubernetes-validations:
- rule: self in ['','AWS']
message: allowed values are '' and 'AWS'
x-kubernetes-validations:
- rule: 'has(self.type) && self.type == ''AWS'' ? has(self.aws) : !has(self.aws)'
message: aws configuration is required when platform is AWS, and forbidden otherwise
privateZone:
description: "privateZone is the location where all the DNS records that are only available internally to the cluster exist. \n If this field is nil, no private records should be created. \n Once set, this field cannot be changed."
type: object
Expand Down Expand Up @@ -140,13 +179,47 @@ spec:
etcdDiscoveryDomain:
description: etcdDiscoveryDomain is deprecated, use Infra.Status.EtcdDiscoveryDomain instead
type: string
imageRegistryBundleData:
description: imageRegistryBundleData is the ImageRegistryData
type: array
items:
description: ImageRegustryBundle contains information for writing image registry certificates
type: object
required:
- data
- file
properties:
data:
description: data holds the contents of the bundle that will be written to the file location
type: string
format: byte
file:
description: file holds the name of the file where the bundle will be written to disk
type: string
imageRegistryBundleUserData:
description: imageRegistryBundleUserData is Image Registry Data provided by the user
type: array
items:
description: ImageRegustryBundle contains information for writing image registry certificates
type: object
required:
- data
- file
properties:
data:
description: data holds the contents of the bundle that will be written to the file location
type: string
format: byte
file:
description: file holds the name of the file where the bundle will be written to disk
type: string
images:
description: images is map of images that are used by the controller to render templates under ./templates/
type: object
additionalProperties:
type: string
infra:
description: "Infrastructure holds cluster-wide information about Infrastructure. The canonical name is `cluster` \n Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer)."
description: infra holds the infrastructure details
type: object
required:
- spec
Expand Down Expand Up @@ -500,6 +573,13 @@ spec:
- HighlyAvailable
- SingleReplica
- External
cpuPartitioning:
description: cpuPartitioning expresses if CPU partitioning is a currently enabled feature in the cluster. CPU Partitioning means that this cluster can support partitioning workloads to specific CPU Sets. Valid values are "None" and "AllNodes". When omitted, the default value is "None". The default value of "None" indicates that no nodes will be setup with CPU partitioning. The "AllNodes" value indicates that all nodes have been setup with CPU partitioning, and can then be further configured via the PerformanceProfile API.
type: string
default: None
enum:
- None
- AllNodes
etcdDiscoveryDomain:
description: 'etcdDiscoveryDomain is the domain used to fetch the SRV records for discovering etcd servers and clients. For more info: https://github.com/etcd-io/etcd/blob/329be66e8b3f9e2e6af83c123ff89297e49ebd15/Documentation/op-guide/clustering.md#dns-discovery deprecated: as of 4.7, this field is no longer set or honored. It will be removed in a future release.'
type: string
Expand Down Expand Up @@ -713,6 +793,27 @@ spec:
external:
description: External contains settings specific to the generic External infrastructure provider.
type: object
properties:
cloudControllerManager:
description: cloudControllerManager contains settings specific to the external Cloud Controller Manager (a.k.a. CCM or CPI). When omitted, new nodes will be not tainted and no extra initialization from the cloud controller manager is expected.
type: object
properties:
state:
description: "state determines whether or not an external Cloud Controller Manager is expected to be installed within the cluster. https://kubernetes.io/docs/tasks/administer-cluster/running-cloud-controller/#running-cloud-controller-manager \n Valid values are \"External\", \"None\" and omitted. When set to \"External\", new nodes will be tainted as uninitialized when created, preventing them from running workloads until they are initialized by the cloud controller manager. When omitted or set to \"None\", new nodes will be not tainted and no extra initialization from the cloud controller manager is expected."
type: string
enum:
- ""
- External
- None
x-kubernetes-validations:
- rule: self == oldSelf
message: state is immutable once set
x-kubernetes-validations:
- rule: (has(self.state) == has(oldSelf.state)) || (!has(oldSelf.state) && self.state != "External")
message: state may not be added or removed once set
x-kubernetes-validations:
- rule: has(self.cloudControllerManager) == has(oldSelf.cloudControllerManager)
message: cloudControllerManager may not be added or removed once set
gcp:
description: GCP contains settings specific to the Google Cloud Platform infrastructure provider.
type: object
Expand Down Expand Up @@ -1080,6 +1181,34 @@ spec:
type:
description: type specifies the state of the operator's reconciliation functionality.
type: string
controllerCertificates:
description: controllerCertificates represents the latest available observations of the automatically rotating certificates in the MCO.
type: array
items:
description: ControllerCertificate contains info about a specific cert.
type: object
required:
- bundleFile
- notAfter
- notBefore
- signer
- subject
properties:
bundleFile:
description: bundleFile is the larger bundle a cert comes from
type: string
notAfter:
description: notAfter is the upper boundary for validity
type: string
notBefore:
description: notBefore is the lower boundary for validity
type: string
signer:
description: signer is the cert Issuer
type: string
subject:
description: subject is the cert subject
type: string
observedGeneration:
description: observedGeneration represents the generation observed by the controller.
type: integer
Expand Down
4 changes: 0 additions & 4 deletions machineconfiguration/v1/0000_80_kubeletconfig.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,6 @@ spec:
items:
description: KubeletConfigCondition defines the state of the KubeletConfig
type: object
required:
- lastTransitionTime
- status
- type
properties:
lastTransitionTime:
description: lastTransitionTime is the time of the last update to the current status object.
Expand Down
2 changes: 0 additions & 2 deletions machineconfiguration/v1/0000_80_machineconfig.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ spec:
openAPIV3Schema:
description: "MachineConfig defines the configuration for a machine \n Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer)."
type: object
required:
- spec
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
Expand Down
36 changes: 20 additions & 16 deletions machineconfiguration/v1/0000_80_machineconfigpool.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,6 @@ spec:
spec:
description: MachineConfigPoolSpec is the spec for MachineConfigPool resource.
type: object
required:
- configuration
- paused
properties:
configuration:
description: The targeted MachineConfig object for the machine config pool.
Expand Down Expand Up @@ -220,26 +217,33 @@ spec:
status:
description: MachineConfigPoolStatus is the status for MachineConfigPool resource.
type: object
required:
- configuration
- degradedMachineCount
- machineCount
- readyMachineCount
- unavailableMachineCount
- updatedMachineCount
properties:
certExpirys:
description: certExpirys keeps track of important certificate expiration data
type: array
items:
description: ceryExpiry contains the bundle name and the expiry date
type: object
required:
- bundle
- expiry
- subject
properties:
bundle:
description: bundle is the name of the bundle in which the subject certificate resides
type: string
expiry:
description: expiry is the date after which the certificate will no longer be valid
type: string
subject:
description: subject is the subject of the certificate
type: string
conditions:
description: conditions represents the latest available observations of current state.
type: array
items:
description: MachineConfigPoolCondition contains condition information for an MachineConfigPool.
type: object
required:
- lastTransitionTime
- message
- reason
- status
- type
properties:
lastTransitionTime:
description: lastTransitionTime is the timestamp corresponding to the last status change of this condition.
Expand Down
Loading

0 comments on commit 384f415

Please sign in to comment.