openshift-python-wrapper 10.0.68__tar.gz → 10.0.70__tar.gz

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.
Files changed (201) hide show
  1. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/PKG-INFO +3 -2
  2. openshift_python_wrapper-10.0.70/ocp_resources/aaq.py +150 -0
  3. openshift_python_wrapper-10.0.70/ocp_resources/api_server.py +234 -0
  4. openshift_python_wrapper-10.0.70/ocp_resources/cdi.py +225 -0
  5. openshift_python_wrapper-10.0.70/ocp_resources/cdi_config.py +373 -0
  6. openshift_python_wrapper-10.0.70/ocp_resources/csi_driver.py +212 -0
  7. openshift_python_wrapper-10.0.70/ocp_resources/csidriver.py +8 -0
  8. openshift_python_wrapper-10.0.70/ocp_resources/data_science_cluster.py +74 -0
  9. openshift_python_wrapper-10.0.70/ocp_resources/dns.py +122 -0
  10. openshift_python_wrapper-10.0.70/ocp_resources/dsc_initialization.py +118 -0
  11. openshift_python_wrapper-10.0.70/ocp_resources/group.py +37 -0
  12. openshift_python_wrapper-10.0.70/ocp_resources/image.py +253 -0
  13. openshift_python_wrapper-10.0.70/ocp_resources/mtq.py +110 -0
  14. openshift_python_wrapper-10.0.70/ocp_resources/network.py +133 -0
  15. openshift_python_wrapper-10.0.70/ocp_resources/nmstate.py +206 -0
  16. openshift_python_wrapper-10.0.70/ocp_resources/node.py +149 -0
  17. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/node_network_configuration_policy.py +3 -1
  18. openshift_python_wrapper-10.0.70/ocp_resources/oauth.py +150 -0
  19. openshift_python_wrapper-10.0.70/ocp_resources/pod.py +1538 -0
  20. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/resource.py +2 -0
  21. openshift_python_wrapper-10.0.70/ocp_resources/security_context_constraints.py +297 -0
  22. openshift_python_wrapper-10.0.70/ocp_resources/service.py +444 -0
  23. openshift_python_wrapper-10.0.70/ocp_resources/ssp.py +369 -0
  24. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/pyproject.toml +3 -2
  25. openshift_python_wrapper-10.0.68/ocp_resources/aaq.py +0 -15
  26. openshift_python_wrapper-10.0.68/ocp_resources/api_server.py +0 -9
  27. openshift_python_wrapper-10.0.68/ocp_resources/cdi.py +0 -13
  28. openshift_python_wrapper-10.0.68/ocp_resources/cdi_config.py +0 -52
  29. openshift_python_wrapper-10.0.68/ocp_resources/csidriver.py +0 -9
  30. openshift_python_wrapper-10.0.68/ocp_resources/dns.py +0 -12
  31. openshift_python_wrapper-10.0.68/ocp_resources/group.py +0 -18
  32. openshift_python_wrapper-10.0.68/ocp_resources/image.py +0 -9
  33. openshift_python_wrapper-10.0.68/ocp_resources/mtq.py +0 -12
  34. openshift_python_wrapper-10.0.68/ocp_resources/network.py +0 -5
  35. openshift_python_wrapper-10.0.68/ocp_resources/nmstate.py +0 -9
  36. openshift_python_wrapper-10.0.68/ocp_resources/node.py +0 -37
  37. openshift_python_wrapper-10.0.68/ocp_resources/oauth.py +0 -9
  38. openshift_python_wrapper-10.0.68/ocp_resources/pod.py +0 -155
  39. openshift_python_wrapper-10.0.68/ocp_resources/security_context_constraints.py +0 -9
  40. openshift_python_wrapper-10.0.68/ocp_resources/service.py +0 -16
  41. openshift_python_wrapper-10.0.68/ocp_resources/ssp.py +0 -9
  42. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/LICENSE +0 -0
  43. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/README.md +0 -0
  44. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/__init__.py +0 -0
  45. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/api_service.py +0 -0
  46. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/application_aware_applied_cluster_resource_quota.py +0 -0
  47. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/application_aware_cluster_resource_quota.py +0 -0
  48. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/application_aware_resource_quota.py +0 -0
  49. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/backup.py +0 -0
  50. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/benchmark.py +0 -0
  51. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/catalog_source.py +0 -0
  52. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/chaos_engine.py +0 -0
  53. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/chaos_result.py +0 -0
  54. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/cluster_claim.py +0 -0
  55. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/cluster_deployment.py +0 -0
  56. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/cluster_operator.py +0 -0
  57. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/cluster_pool.py +0 -0
  58. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/cluster_role.py +0 -0
  59. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/cluster_role_binding.py +0 -0
  60. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/cluster_service_version.py +0 -0
  61. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/cluster_version.py +0 -0
  62. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/configmap.py +0 -0
  63. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/console_cli_download.py +0 -0
  64. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/console_plugin.py +0 -0
  65. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/console_quick_start.py +0 -0
  66. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/constants.py +0 -0
  67. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/controller_revision.py +0 -0
  68. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/cron_job.py +0 -0
  69. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/csi_storage_capacity.py +0 -0
  70. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/custom_resource_definition.py +0 -0
  71. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/daemonset.py +0 -0
  72. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/data_import_cron.py +0 -0
  73. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/data_source.py +0 -0
  74. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/datavolume.py +0 -0
  75. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/deployment.py +0 -0
  76. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/destination_rule.py +0 -0
  77. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/endpoint_slice.py +0 -0
  78. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/endpoints.py +0 -0
  79. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/event.py +0 -0
  80. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/fence_agent_remediation_templates.py +0 -0
  81. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/forklift_controller.py +0 -0
  82. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/gateway.py +0 -0
  83. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/hook.py +0 -0
  84. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/host.py +0 -0
  85. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/hostpath_provisioner.py +0 -0
  86. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/hyperconverged.py +0 -0
  87. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/image_content_source_policy.py +0 -0
  88. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/image_digest_mirror_set.py +0 -0
  89. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/image_stream.py +0 -0
  90. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/imagestreamtag.py +0 -0
  91. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/inference_service.py +0 -0
  92. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/infrastructure.py +0 -0
  93. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/ingress_controller.py +0 -0
  94. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/installplan.py +0 -0
  95. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/ip_address_pool.py +0 -0
  96. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/job.py +0 -0
  97. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/kube_descheduler.py +0 -0
  98. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/kubevirt.py +0 -0
  99. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/kubevirt_common_templates_bundle.py +0 -0
  100. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/kubevirt_metrics_aggregation.py +0 -0
  101. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/kubevirt_node_labeller_bundle.py +0 -0
  102. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/kubevirt_template_validaotr.py +0 -0
  103. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/l2_advertisement.py +0 -0
  104. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/lease.py +0 -0
  105. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/limit_range.py +0 -0
  106. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/machine.py +0 -0
  107. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/machine_config.py +0 -0
  108. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/machine_config_pool.py +0 -0
  109. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/machine_health_check.py +0 -0
  110. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/machine_set.py +0 -0
  111. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/managed_cluster.py +0 -0
  112. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/metallb.py +0 -0
  113. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/migration.py +0 -0
  114. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/migration_policy.py +0 -0
  115. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/mtv.py +0 -0
  116. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/multi_cluster_hub.py +0 -0
  117. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/multi_cluster_observability.py +0 -0
  118. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/multi_network_policy.py +0 -0
  119. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/mutating_webhook_config.py +0 -0
  120. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/namespace.py +0 -0
  121. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/network_addons_config.py +0 -0
  122. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/network_attachment_definition.py +0 -0
  123. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/network_map.py +0 -0
  124. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/network_policy.py +0 -0
  125. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/node_health_check.py +0 -0
  126. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/node_maintenance.py +0 -0
  127. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/node_network_configuration_enactment.py +0 -0
  128. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/node_network_state.py +0 -0
  129. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/ocs_initialization.py +0 -0
  130. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/operator.py +0 -0
  131. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/operator_condition.py +0 -0
  132. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/operator_group.py +0 -0
  133. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/operator_hub.py +0 -0
  134. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/operator_source.py +0 -0
  135. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/package_manifest.py +0 -0
  136. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/peer_authentication.py +0 -0
  137. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/performance_profile.py +0 -0
  138. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/persistent_volume.py +0 -0
  139. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/persistent_volume_claim.py +0 -0
  140. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/pipeline.py +0 -0
  141. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/pipelineruns.py +0 -0
  142. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/plan.py +0 -0
  143. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/pod_disruption_budget.py +0 -0
  144. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/pod_metrics.py +0 -0
  145. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/priority_class.py +0 -0
  146. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/project.py +0 -0
  147. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/prometheus.py +0 -0
  148. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/prometheus_rule.py +0 -0
  149. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/provider.py +0 -0
  150. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/proxy.py +0 -0
  151. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/reclaim_space_cron_job.py +0 -0
  152. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/reclaim_space_job.py +0 -0
  153. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/replicaset.py +0 -0
  154. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/resource_quota.py +0 -0
  155. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/restore.py +0 -0
  156. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/rhmi.py +0 -0
  157. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/role.py +0 -0
  158. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/role_binding.py +0 -0
  159. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/route.py +0 -0
  160. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/scheduler.py +0 -0
  161. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/sealed_secret.py +0 -0
  162. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/secret.py +0 -0
  163. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/self_node_remediation_templates.py +0 -0
  164. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/service_account.py +0 -0
  165. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/service_mesh_control_plane.py +0 -0
  166. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/service_mesh_member_roll.py +0 -0
  167. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/service_monitor.py +0 -0
  168. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/serving_runtime.py +0 -0
  169. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/sriov_network.py +0 -0
  170. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/sriov_network_node_policy.py +0 -0
  171. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/sriov_network_node_state.py +0 -0
  172. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/storage_class.py +0 -0
  173. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/storage_map.py +0 -0
  174. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/storage_profile.py +0 -0
  175. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/subscription.py +0 -0
  176. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/task_run.py +0 -0
  177. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/tekton_tasks.py +0 -0
  178. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/template.py +0 -0
  179. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/trustyai_service.py +0 -0
  180. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/upload_token_request.py +0 -0
  181. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/utils.py +0 -0
  182. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/validating_webhook_config.py +0 -0
  183. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/virtual_machine.py +0 -0
  184. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/virtual_machine_Instance_replica_set.py +0 -0
  185. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/virtual_machine_clone.py +0 -0
  186. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/virtual_machine_cluster_instance_types.py +0 -0
  187. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/virtual_machine_cluster_preferences.py +0 -0
  188. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/virtual_machine_export.py +0 -0
  189. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/virtual_machine_import.py +0 -0
  190. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/virtual_machine_instance.py +0 -0
  191. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/virtual_machine_instance_migration.py +0 -0
  192. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/virtual_machine_instance_preset.py +0 -0
  193. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/virtual_machine_instance_types.py +0 -0
  194. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/virtual_machine_migration_resource_quota.py +0 -0
  195. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/virtual_machine_preferences.py +0 -0
  196. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/virtual_machine_restore.py +0 -0
  197. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/virtual_machine_snapshot.py +0 -0
  198. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/virtual_service.py +0 -0
  199. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/vm_import_config.py +0 -0
  200. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/volume_snapshot.py +0 -0
  201. {openshift_python_wrapper-10.0.68 → openshift_python_wrapper-10.0.70}/ocp_resources/volume_snapshot_class.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: openshift-python-wrapper
3
- Version: 10.0.68
3
+ Version: 10.0.70
4
4
  Summary: Wrapper around https://github.com/kubernetes-client/python
5
5
  Home-page: https://github.com/RedHatQE/openshift-python-wrapper
6
6
  License: Apache-2.0
@@ -17,11 +17,12 @@ Classifier: Programming Language :: Python :: 3.10
17
17
  Classifier: Programming Language :: Python :: 3.11
18
18
  Classifier: Programming Language :: Python :: 3.12
19
19
  Requires-Dist: click (>=8.1.7,<9.0.0)
20
+ Requires-Dist: cloup (>=3.0.5,<4.0.0)
20
21
  Requires-Dist: colorlog (>=6.7.0,<7.0.0)
21
22
  Requires-Dist: jinja2 (>=3.1.2,<4.0.0)
22
23
  Requires-Dist: kubernetes (>=30.0.0,<31.0.0)
23
24
  Requires-Dist: packaging (>=23.1,<24.0)
24
- Requires-Dist: pyhelper-utils (>=0.0.29,<0.0.30)
25
+ Requires-Dist: pyhelper-utils (>=0.0.31,<0.0.32)
25
26
  Requires-Dist: python-benedict (>=0.33.0,<0.34.0)
26
27
  Requires-Dist: python-simple-logger (>=1.0.6)
27
28
  Requires-Dist: rich (>=13.7.1,<14.0.0)
@@ -0,0 +1,150 @@
1
+ # Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md
2
+
3
+ from typing import Any, Dict, Optional
4
+ from ocp_resources.resource import Resource
5
+
6
+
7
+ class AAQ(Resource):
8
+ """
9
+ AAQ is the AAQ Operator CRD
10
+ """
11
+
12
+ api_group: str = Resource.ApiGroup.AAQ_KUBEVIRT_IO
13
+
14
+ def __init__(
15
+ self,
16
+ cert_config: Optional[Dict[str, Any]] = None,
17
+ configuration: Optional[Dict[str, Any]] = None,
18
+ image_pull_policy: Optional[str] = "",
19
+ infra: Optional[Dict[str, Any]] = None,
20
+ namespace_selector: Optional[Dict[str, Any]] = None,
21
+ priority_class: Optional[str] = "",
22
+ workload: Optional[Dict[str, Any]] = None,
23
+ **kwargs: Any,
24
+ ) -> None:
25
+ """
26
+ Args:
27
+ cert_config(Dict[Any, Any]): certificate configuration
28
+
29
+ FIELDS:
30
+ ca <Object>
31
+ CA configuration CA certs are kept in the CA bundle as long as they are
32
+ valid
33
+
34
+ server <Object>
35
+ Server configuration Certs are rotated and discarded
36
+
37
+ configuration(Dict[Any, Any]): holds aaq configurations.
38
+
39
+ FIELDS:
40
+ allowApplicationAwareClusterResourceQuota <boolean>
41
+ AllowApplicationAwareClusterResourceQuota can be set to true to allow
42
+ creation and management of ApplicationAwareClusterResourceQuota. Defaults to
43
+ false
44
+
45
+ sidecarEvaluators <[]Object>
46
+ SidecarEvaluators allow custom quota counting for external operator
47
+
48
+ vmiCalculatorConfiguration <Object>
49
+ VmiCalculatorConfiguration determine how resource allocation will be done
50
+ with ApplicationAwareResourceQuota
51
+
52
+ image_pull_policy(str): PullPolicy describes a policy for if/when to pull a container image
53
+
54
+ infra(Dict[Any, Any]): Rules on which nodes AAQ infrastructure pods will be scheduled
55
+
56
+ FIELDS:
57
+ affinity <Object>
58
+ affinity enables pod affinity/anti-affinity placement expanding the types of
59
+ constraints that can be expressed with nodeSelector. affinity is going to be
60
+ applied to the relevant kind of pods in parallel with nodeSelector See
61
+ https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity
62
+
63
+ nodeSelector <map[string]string>
64
+ nodeSelector is the node selector applied to the relevant kind of pods It
65
+ specifies a map of key-value pairs: for the pod to be eligible to run on a
66
+ node, the node must have each of the indicated key-value pairs as labels (it
67
+ can have additional labels as well). See
68
+ https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector
69
+
70
+ tolerations <[]Object>
71
+ tolerations is a list of tolerations applied to the relevant kind of pods
72
+ See https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
73
+ for more info. These are additional tolerations other than default ones.
74
+
75
+ namespace_selector(Dict[Any, Any]): namespaces where pods should be gated before scheduling Defaults to
76
+ targeting namespaces with an "application-aware-quota/enable-gating" label
77
+ key.
78
+
79
+ FIELDS:
80
+ matchExpressions <[]Object>
81
+ matchExpressions is a list of label selector requirements. The requirements
82
+ are ANDed.
83
+
84
+ matchLabels <map[string]string>
85
+ matchLabels is a map of {key,value} pairs. A single {key,value} in the
86
+ matchLabels map is equivalent to an element of matchExpressions, whose key
87
+ field is "key", the operator is "In", and the values array contains only
88
+ "value". The requirements are ANDed.
89
+
90
+ priority_class(str): PriorityClass of the AAQ control plane
91
+
92
+ workload(Dict[Any, Any]): Restrict on which nodes AAQ workload pods will be scheduled
93
+
94
+ FIELDS:
95
+ affinity <Object>
96
+ affinity enables pod affinity/anti-affinity placement expanding the types of
97
+ constraints that can be expressed with nodeSelector. affinity is going to be
98
+ applied to the relevant kind of pods in parallel with nodeSelector See
99
+ https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity
100
+
101
+ nodeSelector <map[string]string>
102
+ nodeSelector is the node selector applied to the relevant kind of pods It
103
+ specifies a map of key-value pairs: for the pod to be eligible to run on a
104
+ node, the node must have each of the indicated key-value pairs as labels (it
105
+ can have additional labels as well). See
106
+ https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector
107
+
108
+ tolerations <[]Object>
109
+ tolerations is a list of tolerations applied to the relevant kind of pods
110
+ See https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
111
+ for more info. These are additional tolerations other than default ones.
112
+
113
+ """
114
+ super().__init__(**kwargs)
115
+
116
+ self.cert_config = cert_config
117
+ self.configuration = configuration
118
+ self.image_pull_policy = image_pull_policy
119
+ self.infra = infra
120
+ self.namespace_selector = namespace_selector
121
+ self.priority_class = priority_class
122
+ self.workload = workload
123
+
124
+ def to_dict(self) -> None:
125
+ super().to_dict()
126
+
127
+ if not self.yaml_file:
128
+ self.res["spec"] = {}
129
+ _spec = self.res["spec"]
130
+
131
+ if self.cert_config:
132
+ _spec["certConfig"] = self.cert_config
133
+
134
+ if self.configuration:
135
+ _spec["configuration"] = self.configuration
136
+
137
+ if self.image_pull_policy:
138
+ _spec["imagePullPolicy"] = self.image_pull_policy
139
+
140
+ if self.infra:
141
+ _spec["infra"] = self.infra
142
+
143
+ if self.namespace_selector:
144
+ _spec["namespaceSelector"] = self.namespace_selector
145
+
146
+ if self.priority_class:
147
+ _spec["priorityClass"] = self.priority_class
148
+
149
+ if self.workload:
150
+ _spec["workload"] = self.workload
@@ -0,0 +1,234 @@
1
+ # Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md
2
+
3
+ from typing import Any, Dict, Optional
4
+ from ocp_resources.resource import Resource
5
+
6
+
7
+ class APIServer(Resource):
8
+ """
9
+ APIServer holds configuration (like serving certificates, client CA and CORS
10
+ domains) shared by all API servers in the system, among them especially
11
+ kube-apiserver and openshift-apiserver. The canonical name of an instance is
12
+ 'cluster'.
13
+ Compatibility level 1: Stable within a major release for a minimum of 12
14
+ months or 3 minor releases (whichever is longer).
15
+
16
+ API Link: https://docs.openshift.com/container-platform/4.16/rest_api/config_apis/apiserver-config-openshift-io-v1.html
17
+ """
18
+
19
+ api_group: str = Resource.ApiGroup.CONFIG_OPENSHIFT_IO
20
+
21
+ def __init__(
22
+ self,
23
+ additional_cors_allowed_origins: Optional[Dict[str, Any]] = None,
24
+ audit: Optional[Dict[str, Any]] = None,
25
+ client_ca: Optional[Dict[str, Any]] = None,
26
+ encryption: Optional[Dict[str, Any]] = None,
27
+ serving_certs: Optional[Dict[str, Any]] = None,
28
+ tls_security_profile: Optional[Dict[str, Any]] = None,
29
+ **kwargs: Any,
30
+ ) -> None:
31
+ """
32
+ Args:
33
+ additional_cors_allowed_origins(Dict[Any, Any]): additionalCORSAllowedOrigins lists additional, user-defined regular
34
+ expressions describing hosts for which the API server allows access using
35
+ the CORS headers. This may be needed to access the API and the integrated
36
+ OAuth server from JavaScript applications. The values are regular
37
+ expressions that correspond to the Golang regular expression language.
38
+
39
+ audit(Dict[Any, Any]): audit specifies the settings for audit configuration to be applied to all
40
+ OpenShift-provided API servers in the cluster.
41
+
42
+ FIELDS:
43
+ customRules <[]Object>
44
+ customRules specify profiles per group. These profile take precedence over
45
+ the top-level profile field if they apply. They are evaluation from top to
46
+ bottom and the first one that matches, applies.
47
+
48
+ profile <string>
49
+ profile specifies the name of the desired top-level audit profile to be
50
+ applied to all requests sent to any of the OpenShift-provided API servers in
51
+ the cluster (kube-apiserver, openshift-apiserver and oauth-apiserver), with
52
+ the exception of those requests that match one or more of the customRules.
53
+ The following profiles are provided: - Default: default policy which means
54
+ MetaData level logging with the exception of events (not logged at all),
55
+ oauthaccesstokens and oauthauthorizetokens (both logged at RequestBody
56
+ level). - WriteRequestBodies: like 'Default', but logs request and response
57
+ HTTP payloads for write requests (create, update, patch). -
58
+ AllRequestBodies: like 'WriteRequestBodies', but also logs request and
59
+ response HTTP payloads for read requests (get, list). - None: no requests
60
+ are logged at all, not even oauthaccesstokens and oauthauthorizetokens.
61
+ Warning: It is not recommended to disable audit logging by using the `None`
62
+ profile unless you are fully aware of the risks of not logging data that can
63
+ be beneficial when troubleshooting issues. If you disable audit logging and
64
+ a support situation arises, you might need to enable audit logging and
65
+ reproduce the issue in order to troubleshoot properly.
66
+ If unset, the 'Default' profile is used as the default.
67
+
68
+ client_ca(Dict[Any, Any]): clientCA references a ConfigMap containing a certificate bundle for the
69
+ signers that will be recognized for incoming client certificates in addition
70
+ to the operator managed signers. If this is empty, then only operator
71
+ managed signers are valid. You usually only have to set this if you have
72
+ your own PKI you wish to honor client certificates from. The ConfigMap must
73
+ exist in the openshift-config namespace and contain the following required
74
+ fields: - ConfigMap.Data["ca-bundle.crt"] - CA bundle.
75
+
76
+ FIELDS:
77
+ name <string> -required-
78
+ name is the metadata.name of the referenced config map
79
+
80
+ encryption(Dict[Any, Any]): encryption allows the configuration of encryption of resources at the
81
+ datastore layer.
82
+
83
+ FIELDS:
84
+ type <string>
85
+ type defines what encryption type should be used to encrypt resources at the
86
+ datastore layer. When this field is unset (i.e. when it is set to the empty
87
+ string), identity is implied. The behavior of unset can and will change over
88
+ time. Even if encryption is enabled by default, the meaning of unset may
89
+ change to a different encryption type based on changes in best practices.
90
+ When encryption is enabled, all sensitive resources shipped with the
91
+ platform are encrypted. This list of sensitive resources can and will change
92
+ over time. The current authoritative list is:
93
+ 1. secrets 2. configmaps 3. routes.route.openshift.io 4.
94
+ oauthaccesstokens.oauth.openshift.io 5.
95
+ oauthauthorizetokens.oauth.openshift.io
96
+
97
+ serving_certs(Dict[Any, Any]): servingCert is the TLS cert info for serving secure traffic. If not
98
+ specified, operator managed certificates will be used for serving secure
99
+ traffic.
100
+
101
+ FIELDS:
102
+ namedCertificates <[]Object>
103
+ namedCertificates references secrets containing the TLS cert info for
104
+ serving secure traffic to specific hostnames. If no named certificates are
105
+ provided, or no named certificates match the server name as understood by a
106
+ client, the defaultServingCertificate will be used.
107
+
108
+ tls_security_profile(Dict[Any, Any]): tlsSecurityProfile specifies settings for TLS connections for externally
109
+ exposed servers.
110
+ If unset, a default (which may change between releases) is chosen. Note
111
+ that only Old, Intermediate and Custom profiles are currently supported, and
112
+ the maximum available minTLSVersion is VersionTLS12.
113
+
114
+ FIELDS:
115
+ custom <Object>
116
+ custom is a user-defined TLS security profile. Be extremely careful using a
117
+ custom profile as invalid configurations can be catastrophic. An example
118
+ custom profile looks like this:
119
+ ciphers:
120
+ - ECDHE-ECDSA-CHACHA20-POLY1305
121
+ - ECDHE-RSA-CHACHA20-POLY1305
122
+ - ECDHE-RSA-AES128-GCM-SHA256
123
+ - ECDHE-ECDSA-AES128-GCM-SHA256
124
+ minTLSVersion: VersionTLS11
125
+
126
+ intermediate <Object>
127
+ intermediate is a TLS security profile based on:
128
+ https://wiki.mozilla.org/Security/Server_Side_TLS#Intermediate_compatibility_.28recommended.29
129
+ and looks like this (yaml):
130
+ ciphers:
131
+ - TLS_AES_128_GCM_SHA256
132
+ - TLS_AES_256_GCM_SHA384
133
+ - TLS_CHACHA20_POLY1305_SHA256
134
+ - ECDHE-ECDSA-AES128-GCM-SHA256
135
+ - ECDHE-RSA-AES128-GCM-SHA256
136
+ - ECDHE-ECDSA-AES256-GCM-SHA384
137
+ - ECDHE-RSA-AES256-GCM-SHA384
138
+ - ECDHE-ECDSA-CHACHA20-POLY1305
139
+ - ECDHE-RSA-CHACHA20-POLY1305
140
+ - DHE-RSA-AES128-GCM-SHA256
141
+ - DHE-RSA-AES256-GCM-SHA384
142
+ minTLSVersion: VersionTLS12
143
+
144
+ modern <Object>
145
+ modern is a TLS security profile based on:
146
+ https://wiki.mozilla.org/Security/Server_Side_TLS#Modern_compatibility
147
+ and looks like this (yaml):
148
+ ciphers:
149
+ - TLS_AES_128_GCM_SHA256
150
+ - TLS_AES_256_GCM_SHA384
151
+ - TLS_CHACHA20_POLY1305_SHA256
152
+ minTLSVersion: VersionTLS13
153
+
154
+ old <Object>
155
+ old is a TLS security profile based on:
156
+ https://wiki.mozilla.org/Security/Server_Side_TLS#Old_backward_compatibility
157
+ and looks like this (yaml):
158
+ ciphers:
159
+ - TLS_AES_128_GCM_SHA256
160
+ - TLS_AES_256_GCM_SHA384
161
+ - TLS_CHACHA20_POLY1305_SHA256
162
+ - ECDHE-ECDSA-AES128-GCM-SHA256
163
+ - ECDHE-RSA-AES128-GCM-SHA256
164
+ - ECDHE-ECDSA-AES256-GCM-SHA384
165
+ - ECDHE-RSA-AES256-GCM-SHA384
166
+ - ECDHE-ECDSA-CHACHA20-POLY1305
167
+ - ECDHE-RSA-CHACHA20-POLY1305
168
+ - DHE-RSA-AES128-GCM-SHA256
169
+ - DHE-RSA-AES256-GCM-SHA384
170
+ - DHE-RSA-CHACHA20-POLY1305
171
+ - ECDHE-ECDSA-AES128-SHA256
172
+ - ECDHE-RSA-AES128-SHA256
173
+ - ECDHE-ECDSA-AES128-SHA
174
+ - ECDHE-RSA-AES128-SHA
175
+ - ECDHE-ECDSA-AES256-SHA384
176
+ - ECDHE-RSA-AES256-SHA384
177
+ - ECDHE-ECDSA-AES256-SHA
178
+ - ECDHE-RSA-AES256-SHA
179
+ - DHE-RSA-AES128-SHA256
180
+ - DHE-RSA-AES256-SHA256
181
+ - AES128-GCM-SHA256
182
+ - AES256-GCM-SHA384
183
+ - AES128-SHA256
184
+ - AES256-SHA256
185
+ - AES128-SHA
186
+ - AES256-SHA
187
+ - DES-CBC3-SHA
188
+ minTLSVersion: VersionTLS10
189
+
190
+ type <string>
191
+ type is one of Old, Intermediate, Modern or Custom. Custom provides the
192
+ ability to specify individual TLS security profile parameters. Old,
193
+ Intermediate and Modern are TLS security profiles based on:
194
+ https://wiki.mozilla.org/Security/Server_Side_TLS#Recommended_configurations
195
+ The profiles are intent based, so they may change over time as new ciphers
196
+ are developed and existing ciphers are found to be insecure. Depending on
197
+ precisely which ciphers are available to a process, the list may be reduced.
198
+ Note that the Modern profile is currently not supported because it is not
199
+ yet well adopted by common software libraries.
200
+
201
+ """
202
+ super().__init__(**kwargs)
203
+
204
+ self.additional_cors_allowed_origins = additional_cors_allowed_origins
205
+ self.audit = audit
206
+ self.client_ca = client_ca
207
+ self.encryption = encryption
208
+ self.serving_certs = serving_certs
209
+ self.tls_security_profile = tls_security_profile
210
+
211
+ def to_dict(self) -> None:
212
+ super().to_dict()
213
+
214
+ if not self.yaml_file:
215
+ self.res["spec"] = {}
216
+ _spec = self.res["spec"]
217
+
218
+ if self.additional_cors_allowed_origins:
219
+ _spec["additionalCORSAllowedOrigins"] = self.additional_cors_allowed_origins
220
+
221
+ if self.audit:
222
+ _spec["audit"] = self.audit
223
+
224
+ if self.client_ca:
225
+ _spec["clientCA"] = self.client_ca
226
+
227
+ if self.encryption:
228
+ _spec["encryption"] = self.encryption
229
+
230
+ if self.serving_certs:
231
+ _spec["servingCerts"] = self.serving_certs
232
+
233
+ if self.tls_security_profile:
234
+ _spec["tlsSecurityProfile"] = self.tls_security_profile
@@ -0,0 +1,225 @@
1
+ # Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md
2
+
3
+ from typing import Any, Dict, Optional
4
+ from ocp_resources.resource import Resource
5
+
6
+
7
+ class CDI(Resource):
8
+ """
9
+ CDI is the Containerized Data Importer Operator CRD
10
+ """
11
+
12
+ api_group: str = Resource.ApiGroup.CDI_KUBEVIRT_IO
13
+
14
+ class Status(Resource.Status):
15
+ DEPLOYING: str = "Deploying"
16
+ DEPLOYED: str = "Deployed"
17
+
18
+ def __init__(
19
+ self,
20
+ cert_config: Optional[Dict[str, Any]] = None,
21
+ clone_strategy_override: Optional[str] = "",
22
+ config: Optional[Dict[str, Any]] = None,
23
+ customize_components: Optional[Dict[str, Any]] = None,
24
+ image_pull_policy: Optional[str] = "",
25
+ infra: Optional[Dict[str, Any]] = None,
26
+ priority_class: Optional[str] = "",
27
+ uninstall_strategy: Optional[str] = "",
28
+ workload: Optional[Dict[str, Any]] = None,
29
+ **kwargs: Any,
30
+ ) -> None:
31
+ """
32
+ Args:
33
+ cert_config(Dict[Any, Any]): certificate configuration
34
+
35
+ FIELDS:
36
+ ca <Object>
37
+ CA configuration
38
+ CA certs are kept in the CA bundle as long as they are valid
39
+
40
+ client <Object>
41
+ Client configuration
42
+ Certs are rotated and discarded
43
+
44
+ server <Object>
45
+ Server configuration
46
+ Certs are rotated and discarded
47
+
48
+ clone_strategy_override(str): Clone strategy override: should we use a host-assisted copy even if
49
+ snapshots are available?
50
+
51
+ config(Dict[Any, Any]): CDIConfig at CDI level
52
+
53
+ FIELDS:
54
+ dataVolumeTTLSeconds <integer>
55
+ DataVolumeTTLSeconds is the time in seconds after DataVolume completion it
56
+ can be garbage collected. Disabled by default.
57
+
58
+ featureGates <[]string>
59
+ FeatureGates are a list of specific enabled feature gates
60
+
61
+ filesystemOverhead <Object>
62
+ FilesystemOverhead describes the space reserved for overhead when using
63
+ Filesystem volumes. A value is between 0 and 1, if not defined it is 0.055
64
+ (5.5% overhead)
65
+
66
+ imagePullSecrets <[]Object>
67
+ The imagePullSecrets used to pull the container images
68
+
69
+ importProxy <Object>
70
+ ImportProxy contains importer pod proxy configuration.
71
+
72
+ insecureRegistries <[]string>
73
+ InsecureRegistries is a list of TLS disabled registries
74
+
75
+ logVerbosity <integer>
76
+ LogVerbosity overrides the default verbosity level used to initialize
77
+ loggers
78
+
79
+ podResourceRequirements <Object>
80
+ ResourceRequirements describes the compute resource requirements.
81
+
82
+ preallocation <boolean>
83
+ Preallocation controls whether storage for DataVolumes should be allocated
84
+ in advance.
85
+
86
+ scratchSpaceStorageClass <string>
87
+ Override the storage class to used for scratch space during transfer
88
+ operations. The scratch space storage class is determined in the following
89
+ order: 1. value of scratchSpaceStorageClass, if that doesn't exist, use the
90
+ default storage class, if there is no default storage class, use the storage
91
+ class of the DataVolume, if no storage class specified, use no storage class
92
+ for scratch space
93
+
94
+ tlsSecurityProfile <Object>
95
+ TLSSecurityProfile is used by operators to apply cluster-wide TLS security
96
+ settings to operands.
97
+
98
+ uploadProxyURLOverride <string>
99
+ Override the URL used when uploading to a DataVolume
100
+
101
+ customize_components(Dict[Any, Any]): CustomizeComponents defines patches for components deployed by the CDI
102
+ operator.
103
+
104
+ FIELDS:
105
+ flags <Object>
106
+ Configure the value used for deployment and daemonset resources
107
+
108
+ patches <[]Object>
109
+ <no description>
110
+
111
+ image_pull_policy(str): PullPolicy describes a policy for if/when to pull a container image
112
+
113
+ infra(Dict[Any, Any]): Selectors and tolerations that should apply to cdi infrastructure components
114
+
115
+ FIELDS:
116
+ affinity <Object>
117
+ affinity enables pod affinity/anti-affinity placement expanding the types of
118
+ constraints
119
+ that can be expressed with nodeSelector.
120
+ affinity is going to be applied to the relevant kind of pods in parallel
121
+ with nodeSelector
122
+ See
123
+ https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity
124
+
125
+ apiServerReplicas <integer>
126
+ ApiserverReplicas set Replicas for cdi-apiserver
127
+
128
+ deploymentReplicas <integer>
129
+ DeploymentReplicas set Replicas for cdi-deployment
130
+
131
+ nodeSelector <map[string]string>
132
+ nodeSelector is the node selector applied to the relevant kind of pods
133
+ It specifies a map of key-value pairs: for the pod to be eligible to run on
134
+ a node,
135
+ the node must have each of the indicated key-value pairs as labels
136
+ (it can have additional labels as well).
137
+ See
138
+ https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector
139
+
140
+ tolerations <[]Object>
141
+ tolerations is a list of tolerations applied to the relevant kind of pods
142
+ See https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
143
+ for more info.
144
+ These are additional tolerations other than default ones.
145
+
146
+ uploadProxyReplicas <integer>
147
+ UploadproxyReplicas set Replicas for cdi-uploadproxy
148
+
149
+ priority_class(str): PriorityClass of the CDI control plane
150
+
151
+ uninstall_strategy(str): CDIUninstallStrategy defines the state to leave CDI on uninstall
152
+
153
+ workload(Dict[Any, Any]): Restrict on which nodes CDI workload pods will be scheduled
154
+
155
+ FIELDS:
156
+ affinity <Object>
157
+ affinity enables pod affinity/anti-affinity placement expanding the types of
158
+ constraints
159
+ that can be expressed with nodeSelector.
160
+ affinity is going to be applied to the relevant kind of pods in parallel
161
+ with nodeSelector
162
+ See
163
+ https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity
164
+
165
+ nodeSelector <map[string]string>
166
+ nodeSelector is the node selector applied to the relevant kind of pods
167
+ It specifies a map of key-value pairs: for the pod to be eligible to run on
168
+ a node,
169
+ the node must have each of the indicated key-value pairs as labels
170
+ (it can have additional labels as well).
171
+ See
172
+ https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector
173
+
174
+ tolerations <[]Object>
175
+ tolerations is a list of tolerations applied to the relevant kind of pods
176
+ See https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
177
+ for more info.
178
+ These are additional tolerations other than default ones.
179
+
180
+ """
181
+ super().__init__(**kwargs)
182
+
183
+ self.cert_config = cert_config
184
+ self.clone_strategy_override = clone_strategy_override
185
+ self.config = config
186
+ self.customize_components = customize_components
187
+ self.image_pull_policy = image_pull_policy
188
+ self.infra = infra
189
+ self.priority_class = priority_class
190
+ self.uninstall_strategy = uninstall_strategy
191
+ self.workload = workload
192
+
193
+ def to_dict(self) -> None:
194
+ super().to_dict()
195
+
196
+ if not self.yaml_file:
197
+ self.res["spec"] = {}
198
+ _spec = self.res["spec"]
199
+
200
+ if self.cert_config:
201
+ _spec["certConfig"] = self.cert_config
202
+
203
+ if self.clone_strategy_override:
204
+ _spec["cloneStrategyOverride"] = self.clone_strategy_override
205
+
206
+ if self.config:
207
+ _spec["config"] = self.config
208
+
209
+ if self.customize_components:
210
+ _spec["customizeComponents"] = self.customize_components
211
+
212
+ if self.image_pull_policy:
213
+ _spec["imagePullPolicy"] = self.image_pull_policy
214
+
215
+ if self.infra:
216
+ _spec["infra"] = self.infra
217
+
218
+ if self.priority_class:
219
+ _spec["priorityClass"] = self.priority_class
220
+
221
+ if self.uninstall_strategy:
222
+ _spec["uninstallStrategy"] = self.uninstall_strategy
223
+
224
+ if self.workload:
225
+ _spec["workload"] = self.workload