kube-dsl 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +2 -0
- data/Gemfile +12 -0
- data/Rakefile +52 -0
- data/kube-dsl.gemspec +17 -0
- data/lib/kube-dsl/builder.rb +215 -0
- data/lib/kube-dsl/dsl/admissionregistration/v1/mutating_webhook.rb +30 -0
- data/lib/kube-dsl/dsl/admissionregistration/v1/mutating_webhook_configuration.rb +19 -0
- data/lib/kube-dsl/dsl/admissionregistration/v1/mutating_webhook_configuration_list.rb +19 -0
- data/lib/kube-dsl/dsl/admissionregistration/v1/rule_with_operations.rb +23 -0
- data/lib/kube-dsl/dsl/admissionregistration/v1/service_reference.rb +18 -0
- data/lib/kube-dsl/dsl/admissionregistration/v1/validating_webhook.rb +29 -0
- data/lib/kube-dsl/dsl/admissionregistration/v1/validating_webhook_configuration.rb +19 -0
- data/lib/kube-dsl/dsl/admissionregistration/v1/validating_webhook_configuration_list.rb +19 -0
- data/lib/kube-dsl/dsl/admissionregistration/v1/webhook_client_config.rb +18 -0
- data/lib/kube-dsl/dsl/admissionregistration/v1.rb +11 -0
- data/lib/kube-dsl/dsl/admissionregistration/v1beta1/mutating_webhook.rb +30 -0
- data/lib/kube-dsl/dsl/admissionregistration/v1beta1/mutating_webhook_configuration.rb +19 -0
- data/lib/kube-dsl/dsl/admissionregistration/v1beta1/mutating_webhook_configuration_list.rb +19 -0
- data/lib/kube-dsl/dsl/admissionregistration/v1beta1/rule_with_operations.rb +23 -0
- data/lib/kube-dsl/dsl/admissionregistration/v1beta1/service_reference.rb +18 -0
- data/lib/kube-dsl/dsl/admissionregistration/v1beta1/validating_webhook.rb +29 -0
- data/lib/kube-dsl/dsl/admissionregistration/v1beta1/validating_webhook_configuration.rb +19 -0
- data/lib/kube-dsl/dsl/admissionregistration/v1beta1/validating_webhook_configuration_list.rb +19 -0
- data/lib/kube-dsl/dsl/admissionregistration/v1beta1/webhook_client_config.rb +18 -0
- data/lib/kube-dsl/dsl/admissionregistration/v1beta1.rb +11 -0
- data/lib/kube-dsl/dsl/admissionregistration.rb +4 -0
- data/lib/kube-dsl/dsl/apiextensions/v1/custom_resource_column_definition.rb +20 -0
- data/lib/kube-dsl/dsl/apiextensions/v1/custom_resource_conversion.rb +17 -0
- data/lib/kube-dsl/dsl/apiextensions/v1/custom_resource_definition.rb +21 -0
- data/lib/kube-dsl/dsl/apiextensions/v1/custom_resource_definition_condition.rb +19 -0
- data/lib/kube-dsl/dsl/apiextensions/v1/custom_resource_definition_list.rb +19 -0
- data/lib/kube-dsl/dsl/apiextensions/v1/custom_resource_definition_names.rb +22 -0
- data/lib/kube-dsl/dsl/apiextensions/v1/custom_resource_definition_spec.rb +23 -0
- data/lib/kube-dsl/dsl/apiextensions/v1/custom_resource_definition_status.rb +19 -0
- data/lib/kube-dsl/dsl/apiextensions/v1/custom_resource_definition_version.rb +23 -0
- data/lib/kube-dsl/dsl/apiextensions/v1/custom_resource_subresource_scale.rb +17 -0
- data/lib/kube-dsl/dsl/apiextensions/v1/custom_resource_subresources.rb +17 -0
- data/lib/kube-dsl/dsl/apiextensions/v1/custom_resource_validation.rb +15 -0
- data/lib/kube-dsl/dsl/apiextensions/v1/external_documentation.rb +16 -0
- data/lib/kube-dsl/dsl/apiextensions/v1/json_schema_props.rb +69 -0
- data/lib/kube-dsl/dsl/apiextensions/v1/service_reference.rb +18 -0
- data/lib/kube-dsl/dsl/apiextensions/v1/webhook_client_config.rb +18 -0
- data/lib/kube-dsl/dsl/apiextensions/v1/webhook_conversion.rb +17 -0
- data/lib/kube-dsl/dsl/apiextensions/v1.rb +19 -0
- data/lib/kube-dsl/dsl/apiextensions/v1beta1/custom_resource_column_definition.rb +20 -0
- data/lib/kube-dsl/dsl/apiextensions/v1beta1/custom_resource_conversion.rb +19 -0
- data/lib/kube-dsl/dsl/apiextensions/v1beta1/custom_resource_definition.rb +21 -0
- data/lib/kube-dsl/dsl/apiextensions/v1beta1/custom_resource_definition_condition.rb +19 -0
- data/lib/kube-dsl/dsl/apiextensions/v1beta1/custom_resource_definition_list.rb +19 -0
- data/lib/kube-dsl/dsl/apiextensions/v1beta1/custom_resource_definition_names.rb +22 -0
- data/lib/kube-dsl/dsl/apiextensions/v1beta1/custom_resource_definition_spec.rb +30 -0
- data/lib/kube-dsl/dsl/apiextensions/v1beta1/custom_resource_definition_status.rb +19 -0
- data/lib/kube-dsl/dsl/apiextensions/v1beta1/custom_resource_definition_version.rb +23 -0
- data/lib/kube-dsl/dsl/apiextensions/v1beta1/custom_resource_subresource_scale.rb +17 -0
- data/lib/kube-dsl/dsl/apiextensions/v1beta1/custom_resource_subresources.rb +17 -0
- data/lib/kube-dsl/dsl/apiextensions/v1beta1/custom_resource_validation.rb +15 -0
- data/lib/kube-dsl/dsl/apiextensions/v1beta1/external_documentation.rb +16 -0
- data/lib/kube-dsl/dsl/apiextensions/v1beta1/json_schema_props.rb +69 -0
- data/lib/kube-dsl/dsl/apiextensions/v1beta1/service_reference.rb +18 -0
- data/lib/kube-dsl/dsl/apiextensions/v1beta1/webhook_client_config.rb +18 -0
- data/lib/kube-dsl/dsl/apiextensions/v1beta1.rb +18 -0
- data/lib/kube-dsl/dsl/apiextensions.rb +4 -0
- data/lib/kube-dsl/dsl/apiregistration/v1/api_service.rb +21 -0
- data/lib/kube-dsl/dsl/apiregistration/v1/api_service_condition.rb +19 -0
- data/lib/kube-dsl/dsl/apiregistration/v1/api_service_list.rb +19 -0
- data/lib/kube-dsl/dsl/apiregistration/v1/api_service_spec.rb +22 -0
- data/lib/kube-dsl/dsl/apiregistration/v1/api_service_status.rb +15 -0
- data/lib/kube-dsl/dsl/apiregistration/v1/service_reference.rb +17 -0
- data/lib/kube-dsl/dsl/apiregistration/v1.rb +8 -0
- data/lib/kube-dsl/dsl/apiregistration/v1beta1/api_service.rb +21 -0
- data/lib/kube-dsl/dsl/apiregistration/v1beta1/api_service_condition.rb +19 -0
- data/lib/kube-dsl/dsl/apiregistration/v1beta1/api_service_list.rb +19 -0
- data/lib/kube-dsl/dsl/apiregistration/v1beta1/api_service_spec.rb +22 -0
- data/lib/kube-dsl/dsl/apiregistration/v1beta1/api_service_status.rb +15 -0
- data/lib/kube-dsl/dsl/apiregistration/v1beta1/service_reference.rb +17 -0
- data/lib/kube-dsl/dsl/apiregistration/v1beta1.rb +8 -0
- data/lib/kube-dsl/dsl/apiregistration.rb +4 -0
- data/lib/kube-dsl/dsl/apps/v1/controller_revision.rb +20 -0
- data/lib/kube-dsl/dsl/apps/v1/controller_revision_list.rb +19 -0
- data/lib/kube-dsl/dsl/apps/v1/daemon_set.rb +21 -0
- data/lib/kube-dsl/dsl/apps/v1/daemon_set_condition.rb +19 -0
- data/lib/kube-dsl/dsl/apps/v1/daemon_set_list.rb +19 -0
- data/lib/kube-dsl/dsl/apps/v1/daemon_set_spec.rb +22 -0
- data/lib/kube-dsl/dsl/apps/v1/daemon_set_status.rb +25 -0
- data/lib/kube-dsl/dsl/apps/v1/daemon_set_update_strategy.rb +17 -0
- data/lib/kube-dsl/dsl/apps/v1/deployment.rb +21 -0
- data/lib/kube-dsl/dsl/apps/v1/deployment_condition.rb +20 -0
- data/lib/kube-dsl/dsl/apps/v1/deployment_list.rb +19 -0
- data/lib/kube-dsl/dsl/apps/v1/deployment_spec.rb +25 -0
- data/lib/kube-dsl/dsl/apps/v1/deployment_status.rb +23 -0
- data/lib/kube-dsl/dsl/apps/v1/deployment_strategy.rb +17 -0
- data/lib/kube-dsl/dsl/apps/v1/replica_set.rb +21 -0
- data/lib/kube-dsl/dsl/apps/v1/replica_set_condition.rb +19 -0
- data/lib/kube-dsl/dsl/apps/v1/replica_set_list.rb +19 -0
- data/lib/kube-dsl/dsl/apps/v1/replica_set_spec.rb +20 -0
- data/lib/kube-dsl/dsl/apps/v1/replica_set_status.rb +21 -0
- data/lib/kube-dsl/dsl/apps/v1/rolling_update_daemon_set.rb +15 -0
- data/lib/kube-dsl/dsl/apps/v1/rolling_update_deployment.rb +16 -0
- data/lib/kube-dsl/dsl/apps/v1/rolling_update_stateful_set_strategy.rb +15 -0
- data/lib/kube-dsl/dsl/apps/v1/stateful_set.rb +21 -0
- data/lib/kube-dsl/dsl/apps/v1/stateful_set_condition.rb +19 -0
- data/lib/kube-dsl/dsl/apps/v1/stateful_set_list.rb +19 -0
- data/lib/kube-dsl/dsl/apps/v1/stateful_set_spec.rb +26 -0
- data/lib/kube-dsl/dsl/apps/v1/stateful_set_status.rb +24 -0
- data/lib/kube-dsl/dsl/apps/v1/stateful_set_update_strategy.rb +17 -0
- data/lib/kube-dsl/dsl/apps/v1.rb +30 -0
- data/lib/kube-dsl/dsl/apps/v1beta1/controller_revision.rb +20 -0
- data/lib/kube-dsl/dsl/apps/v1beta1/controller_revision_list.rb +19 -0
- data/lib/kube-dsl/dsl/apps/v1beta1/deployment.rb +21 -0
- data/lib/kube-dsl/dsl/apps/v1beta1/deployment_condition.rb +20 -0
- data/lib/kube-dsl/dsl/apps/v1beta1/deployment_list.rb +19 -0
- data/lib/kube-dsl/dsl/apps/v1beta1/deployment_rollback.rb +21 -0
- data/lib/kube-dsl/dsl/apps/v1beta1/deployment_spec.rb +27 -0
- data/lib/kube-dsl/dsl/apps/v1beta1/deployment_status.rb +23 -0
- data/lib/kube-dsl/dsl/apps/v1beta1/deployment_strategy.rb +17 -0
- data/lib/kube-dsl/dsl/apps/v1beta1/rollback_config.rb +15 -0
- data/lib/kube-dsl/dsl/apps/v1beta1/rolling_update_deployment.rb +16 -0
- data/lib/kube-dsl/dsl/apps/v1beta1/rolling_update_stateful_set_strategy.rb +15 -0
- data/lib/kube-dsl/dsl/apps/v1beta1/scale.rb +21 -0
- data/lib/kube-dsl/dsl/apps/v1beta1/scale_spec.rb +15 -0
- data/lib/kube-dsl/dsl/apps/v1beta1/scale_status.rb +18 -0
- data/lib/kube-dsl/dsl/apps/v1beta1/stateful_set.rb +21 -0
- data/lib/kube-dsl/dsl/apps/v1beta1/stateful_set_condition.rb +19 -0
- data/lib/kube-dsl/dsl/apps/v1beta1/stateful_set_list.rb +19 -0
- data/lib/kube-dsl/dsl/apps/v1beta1/stateful_set_spec.rb +26 -0
- data/lib/kube-dsl/dsl/apps/v1beta1/stateful_set_status.rb +24 -0
- data/lib/kube-dsl/dsl/apps/v1beta1/stateful_set_update_strategy.rb +17 -0
- data/lib/kube-dsl/dsl/apps/v1beta1.rb +23 -0
- data/lib/kube-dsl/dsl/apps/v1beta2/controller_revision.rb +20 -0
- data/lib/kube-dsl/dsl/apps/v1beta2/controller_revision_list.rb +19 -0
- data/lib/kube-dsl/dsl/apps/v1beta2/daemon_set.rb +21 -0
- data/lib/kube-dsl/dsl/apps/v1beta2/daemon_set_condition.rb +19 -0
- data/lib/kube-dsl/dsl/apps/v1beta2/daemon_set_list.rb +19 -0
- data/lib/kube-dsl/dsl/apps/v1beta2/daemon_set_spec.rb +22 -0
- data/lib/kube-dsl/dsl/apps/v1beta2/daemon_set_status.rb +25 -0
- data/lib/kube-dsl/dsl/apps/v1beta2/daemon_set_update_strategy.rb +17 -0
- data/lib/kube-dsl/dsl/apps/v1beta2/deployment.rb +21 -0
- data/lib/kube-dsl/dsl/apps/v1beta2/deployment_condition.rb +20 -0
- data/lib/kube-dsl/dsl/apps/v1beta2/deployment_list.rb +19 -0
- data/lib/kube-dsl/dsl/apps/v1beta2/deployment_spec.rb +25 -0
- data/lib/kube-dsl/dsl/apps/v1beta2/deployment_status.rb +23 -0
- data/lib/kube-dsl/dsl/apps/v1beta2/deployment_strategy.rb +17 -0
- data/lib/kube-dsl/dsl/apps/v1beta2/replica_set.rb +21 -0
- data/lib/kube-dsl/dsl/apps/v1beta2/replica_set_condition.rb +19 -0
- data/lib/kube-dsl/dsl/apps/v1beta2/replica_set_list.rb +19 -0
- data/lib/kube-dsl/dsl/apps/v1beta2/replica_set_spec.rb +20 -0
- data/lib/kube-dsl/dsl/apps/v1beta2/replica_set_status.rb +21 -0
- data/lib/kube-dsl/dsl/apps/v1beta2/rolling_update_daemon_set.rb +15 -0
- data/lib/kube-dsl/dsl/apps/v1beta2/rolling_update_deployment.rb +16 -0
- data/lib/kube-dsl/dsl/apps/v1beta2/rolling_update_stateful_set_strategy.rb +15 -0
- data/lib/kube-dsl/dsl/apps/v1beta2/scale.rb +21 -0
- data/lib/kube-dsl/dsl/apps/v1beta2/scale_spec.rb +15 -0
- data/lib/kube-dsl/dsl/apps/v1beta2/scale_status.rb +18 -0
- data/lib/kube-dsl/dsl/apps/v1beta2/stateful_set.rb +21 -0
- data/lib/kube-dsl/dsl/apps/v1beta2/stateful_set_condition.rb +19 -0
- data/lib/kube-dsl/dsl/apps/v1beta2/stateful_set_list.rb +19 -0
- data/lib/kube-dsl/dsl/apps/v1beta2/stateful_set_spec.rb +26 -0
- data/lib/kube-dsl/dsl/apps/v1beta2/stateful_set_status.rb +24 -0
- data/lib/kube-dsl/dsl/apps/v1beta2/stateful_set_update_strategy.rb +17 -0
- data/lib/kube-dsl/dsl/apps/v1beta2.rb +33 -0
- data/lib/kube-dsl/dsl/apps.rb +5 -0
- data/lib/kube-dsl/dsl/auditregistration/v1alpha1/audit_sink.rb +19 -0
- data/lib/kube-dsl/dsl/auditregistration/v1alpha1/audit_sink_list.rb +19 -0
- data/lib/kube-dsl/dsl/auditregistration/v1alpha1/audit_sink_spec.rb +17 -0
- data/lib/kube-dsl/dsl/auditregistration/v1alpha1/policy.rb +17 -0
- data/lib/kube-dsl/dsl/auditregistration/v1alpha1/service_reference.rb +18 -0
- data/lib/kube-dsl/dsl/auditregistration/v1alpha1/webhook.rb +17 -0
- data/lib/kube-dsl/dsl/auditregistration/v1alpha1/webhook_client_config.rb +18 -0
- data/lib/kube-dsl/dsl/auditregistration/v1alpha1/webhook_throttle_config.rb +16 -0
- data/lib/kube-dsl/dsl/auditregistration/v1alpha1.rb +10 -0
- data/lib/kube-dsl/dsl/auditregistration.rb +3 -0
- data/lib/kube-dsl/dsl/authentication/v1/bound_object_reference.rb +18 -0
- data/lib/kube-dsl/dsl/authentication/v1/token_request.rb +21 -0
- data/lib/kube-dsl/dsl/authentication/v1/token_request_spec.rb +19 -0
- data/lib/kube-dsl/dsl/authentication/v1/token_request_status.rb +16 -0
- data/lib/kube-dsl/dsl/authentication/v1/token_review.rb +21 -0
- data/lib/kube-dsl/dsl/authentication/v1/token_review_spec.rb +17 -0
- data/lib/kube-dsl/dsl/authentication/v1/token_review_status.rb +20 -0
- data/lib/kube-dsl/dsl/authentication/v1/user_info.rb +20 -0
- data/lib/kube-dsl/dsl/authentication/v1.rb +10 -0
- data/lib/kube-dsl/dsl/authentication/v1beta1/token_review.rb +21 -0
- data/lib/kube-dsl/dsl/authentication/v1beta1/token_review_spec.rb +17 -0
- data/lib/kube-dsl/dsl/authentication/v1beta1/token_review_status.rb +20 -0
- data/lib/kube-dsl/dsl/authentication/v1beta1/user_info.rb +20 -0
- data/lib/kube-dsl/dsl/authentication/v1beta1.rb +6 -0
- data/lib/kube-dsl/dsl/authentication.rb +4 -0
- data/lib/kube-dsl/dsl/authorization/v1/local_subject_access_review.rb +21 -0
- data/lib/kube-dsl/dsl/authorization/v1/non_resource_attributes.rb +16 -0
- data/lib/kube-dsl/dsl/authorization/v1/non_resource_rule.rb +17 -0
- data/lib/kube-dsl/dsl/authorization/v1/resource_attributes.rb +21 -0
- data/lib/kube-dsl/dsl/authorization/v1/resource_rule.rb +21 -0
- data/lib/kube-dsl/dsl/authorization/v1/self_subject_access_review.rb +21 -0
- data/lib/kube-dsl/dsl/authorization/v1/self_subject_access_review_spec.rb +17 -0
- data/lib/kube-dsl/dsl/authorization/v1/self_subject_rules_review.rb +21 -0
- data/lib/kube-dsl/dsl/authorization/v1/self_subject_rules_review_spec.rb +15 -0
- data/lib/kube-dsl/dsl/authorization/v1/subject_access_review.rb +21 -0
- data/lib/kube-dsl/dsl/authorization/v1/subject_access_review_spec.rb +24 -0
- data/lib/kube-dsl/dsl/authorization/v1/subject_access_review_status.rb +18 -0
- data/lib/kube-dsl/dsl/authorization/v1/subject_rules_review_status.rb +20 -0
- data/lib/kube-dsl/dsl/authorization/v1.rb +15 -0
- data/lib/kube-dsl/dsl/authorization/v1beta1/local_subject_access_review.rb +21 -0
- data/lib/kube-dsl/dsl/authorization/v1beta1/non_resource_attributes.rb +16 -0
- data/lib/kube-dsl/dsl/authorization/v1beta1/non_resource_rule.rb +17 -0
- data/lib/kube-dsl/dsl/authorization/v1beta1/resource_attributes.rb +21 -0
- data/lib/kube-dsl/dsl/authorization/v1beta1/resource_rule.rb +21 -0
- data/lib/kube-dsl/dsl/authorization/v1beta1/self_subject_access_review.rb +21 -0
- data/lib/kube-dsl/dsl/authorization/v1beta1/self_subject_access_review_spec.rb +17 -0
- data/lib/kube-dsl/dsl/authorization/v1beta1/self_subject_rules_review.rb +21 -0
- data/lib/kube-dsl/dsl/authorization/v1beta1/self_subject_rules_review_spec.rb +15 -0
- data/lib/kube-dsl/dsl/authorization/v1beta1/subject_access_review.rb +21 -0
- data/lib/kube-dsl/dsl/authorization/v1beta1/subject_access_review_spec.rb +24 -0
- data/lib/kube-dsl/dsl/authorization/v1beta1/subject_access_review_status.rb +18 -0
- data/lib/kube-dsl/dsl/authorization/v1beta1/subject_rules_review_status.rb +20 -0
- data/lib/kube-dsl/dsl/authorization/v1beta1.rb +15 -0
- data/lib/kube-dsl/dsl/authorization.rb +4 -0
- data/lib/kube-dsl/dsl/autoscaling/v1/cross_version_object_reference.rb +17 -0
- data/lib/kube-dsl/dsl/autoscaling/v1/horizontal_pod_autoscaler.rb +21 -0
- data/lib/kube-dsl/dsl/autoscaling/v1/horizontal_pod_autoscaler_list.rb +19 -0
- data/lib/kube-dsl/dsl/autoscaling/v1/horizontal_pod_autoscaler_spec.rb +19 -0
- data/lib/kube-dsl/dsl/autoscaling/v1/horizontal_pod_autoscaler_status.rb +19 -0
- data/lib/kube-dsl/dsl/autoscaling/v1/scale.rb +21 -0
- data/lib/kube-dsl/dsl/autoscaling/v1/scale_spec.rb +15 -0
- data/lib/kube-dsl/dsl/autoscaling/v1/scale_status.rb +16 -0
- data/lib/kube-dsl/dsl/autoscaling/v1.rb +10 -0
- data/lib/kube-dsl/dsl/autoscaling/v2beta1/cross_version_object_reference.rb +17 -0
- data/lib/kube-dsl/dsl/autoscaling/v2beta1/external_metric_source.rb +19 -0
- data/lib/kube-dsl/dsl/autoscaling/v2beta1/external_metric_status.rb +19 -0
- data/lib/kube-dsl/dsl/autoscaling/v2beta1/horizontal_pod_autoscaler.rb +21 -0
- data/lib/kube-dsl/dsl/autoscaling/v2beta1/horizontal_pod_autoscaler_condition.rb +19 -0
- data/lib/kube-dsl/dsl/autoscaling/v2beta1/horizontal_pod_autoscaler_list.rb +19 -0
- data/lib/kube-dsl/dsl/autoscaling/v2beta1/horizontal_pod_autoscaler_spec.rb +20 -0
- data/lib/kube-dsl/dsl/autoscaling/v2beta1/horizontal_pod_autoscaler_status.rb +22 -0
- data/lib/kube-dsl/dsl/autoscaling/v2beta1/metric_spec.rb +23 -0
- data/lib/kube-dsl/dsl/autoscaling/v2beta1/metric_status.rb +23 -0
- data/lib/kube-dsl/dsl/autoscaling/v2beta1/object_metric_source.rb +21 -0
- data/lib/kube-dsl/dsl/autoscaling/v2beta1/object_metric_status.rb +21 -0
- data/lib/kube-dsl/dsl/autoscaling/v2beta1/pods_metric_source.rb +18 -0
- data/lib/kube-dsl/dsl/autoscaling/v2beta1/pods_metric_status.rb +18 -0
- data/lib/kube-dsl/dsl/autoscaling/v2beta1/resource_metric_source.rb +17 -0
- data/lib/kube-dsl/dsl/autoscaling/v2beta1/resource_metric_status.rb +17 -0
- data/lib/kube-dsl/dsl/autoscaling/v2beta1.rb +18 -0
- data/lib/kube-dsl/dsl/autoscaling/v2beta2/cross_version_object_reference.rb +17 -0
- data/lib/kube-dsl/dsl/autoscaling/v2beta2/external_metric_source.rb +17 -0
- data/lib/kube-dsl/dsl/autoscaling/v2beta2/external_metric_status.rb +17 -0
- data/lib/kube-dsl/dsl/autoscaling/v2beta2/horizontal_pod_autoscaler.rb +21 -0
- data/lib/kube-dsl/dsl/autoscaling/v2beta2/horizontal_pod_autoscaler_condition.rb +19 -0
- data/lib/kube-dsl/dsl/autoscaling/v2beta2/horizontal_pod_autoscaler_list.rb +19 -0
- data/lib/kube-dsl/dsl/autoscaling/v2beta2/horizontal_pod_autoscaler_spec.rb +20 -0
- data/lib/kube-dsl/dsl/autoscaling/v2beta2/horizontal_pod_autoscaler_status.rb +22 -0
- data/lib/kube-dsl/dsl/autoscaling/v2beta2/metric_identifier.rb +17 -0
- data/lib/kube-dsl/dsl/autoscaling/v2beta2/metric_spec.rb +23 -0
- data/lib/kube-dsl/dsl/autoscaling/v2beta2/metric_status.rb +23 -0
- data/lib/kube-dsl/dsl/autoscaling/v2beta2/metric_target.rb +18 -0
- data/lib/kube-dsl/dsl/autoscaling/v2beta2/metric_value_status.rb +17 -0
- data/lib/kube-dsl/dsl/autoscaling/v2beta2/object_metric_source.rb +19 -0
- data/lib/kube-dsl/dsl/autoscaling/v2beta2/object_metric_status.rb +19 -0
- data/lib/kube-dsl/dsl/autoscaling/v2beta2/pods_metric_source.rb +17 -0
- data/lib/kube-dsl/dsl/autoscaling/v2beta2/pods_metric_status.rb +17 -0
- data/lib/kube-dsl/dsl/autoscaling/v2beta2/resource_metric_source.rb +17 -0
- data/lib/kube-dsl/dsl/autoscaling/v2beta2/resource_metric_status.rb +17 -0
- data/lib/kube-dsl/dsl/autoscaling/v2beta2.rb +21 -0
- data/lib/kube-dsl/dsl/autoscaling.rb +5 -0
- data/lib/kube-dsl/dsl/batch/v1/job.rb +21 -0
- data/lib/kube-dsl/dsl/batch/v1/job_condition.rb +20 -0
- data/lib/kube-dsl/dsl/batch/v1/job_list.rb +19 -0
- data/lib/kube-dsl/dsl/batch/v1/job_spec.rb +24 -0
- data/lib/kube-dsl/dsl/batch/v1/job_status.rb +21 -0
- data/lib/kube-dsl/dsl/batch/v1.rb +7 -0
- data/lib/kube-dsl/dsl/batch/v1beta1/cron_job.rb +21 -0
- data/lib/kube-dsl/dsl/batch/v1beta1/cron_job_list.rb +19 -0
- data/lib/kube-dsl/dsl/batch/v1beta1/cron_job_spec.rb +22 -0
- data/lib/kube-dsl/dsl/batch/v1beta1/cron_job_status.rb +17 -0
- data/lib/kube-dsl/dsl/batch/v1beta1/job_template_spec.rb +17 -0
- data/lib/kube-dsl/dsl/batch/v1beta1.rb +7 -0
- data/lib/kube-dsl/dsl/batch/v2alpha1/cron_job.rb +21 -0
- data/lib/kube-dsl/dsl/batch/v2alpha1/cron_job_list.rb +19 -0
- data/lib/kube-dsl/dsl/batch/v2alpha1/cron_job_spec.rb +22 -0
- data/lib/kube-dsl/dsl/batch/v2alpha1/cron_job_status.rb +17 -0
- data/lib/kube-dsl/dsl/batch/v2alpha1/job_template_spec.rb +17 -0
- data/lib/kube-dsl/dsl/batch/v2alpha1.rb +7 -0
- data/lib/kube-dsl/dsl/batch.rb +5 -0
- data/lib/kube-dsl/dsl/certificates/v1beta1/certificate_signing_request.rb +21 -0
- data/lib/kube-dsl/dsl/certificates/v1beta1/certificate_signing_request_condition.rb +18 -0
- data/lib/kube-dsl/dsl/certificates/v1beta1/certificate_signing_request_list.rb +19 -0
- data/lib/kube-dsl/dsl/certificates/v1beta1/certificate_signing_request_spec.rb +23 -0
- data/lib/kube-dsl/dsl/certificates/v1beta1/certificate_signing_request_status.rb +17 -0
- data/lib/kube-dsl/dsl/certificates/v1beta1.rb +7 -0
- data/lib/kube-dsl/dsl/certificates.rb +3 -0
- data/lib/kube-dsl/dsl/coordination/v1/lease.rb +19 -0
- data/lib/kube-dsl/dsl/coordination/v1/lease_list.rb +19 -0
- data/lib/kube-dsl/dsl/coordination/v1/lease_spec.rb +19 -0
- data/lib/kube-dsl/dsl/coordination/v1.rb +5 -0
- data/lib/kube-dsl/dsl/coordination/v1beta1/lease.rb +19 -0
- data/lib/kube-dsl/dsl/coordination/v1beta1/lease_list.rb +19 -0
- data/lib/kube-dsl/dsl/coordination/v1beta1/lease_spec.rb +19 -0
- data/lib/kube-dsl/dsl/coordination/v1beta1.rb +5 -0
- data/lib/kube-dsl/dsl/coordination.rb +4 -0
- data/lib/kube-dsl/dsl/discovery/v1beta1/endpoint.rb +23 -0
- data/lib/kube-dsl/dsl/discovery/v1beta1/endpoint_conditions.rb +15 -0
- data/lib/kube-dsl/dsl/discovery/v1beta1/endpoint_port.rb +18 -0
- data/lib/kube-dsl/dsl/discovery/v1beta1/endpoint_slice.rb +23 -0
- data/lib/kube-dsl/dsl/discovery/v1beta1/endpoint_slice_list.rb +19 -0
- data/lib/kube-dsl/dsl/discovery/v1beta1.rb +7 -0
- data/lib/kube-dsl/dsl/discovery.rb +3 -0
- data/lib/kube-dsl/dsl/events/v1beta1/event.rb +36 -0
- data/lib/kube-dsl/dsl/events/v1beta1/event_list.rb +19 -0
- data/lib/kube-dsl/dsl/events/v1beta1/event_series.rb +17 -0
- data/lib/kube-dsl/dsl/events/v1beta1.rb +5 -0
- data/lib/kube-dsl/dsl/events.rb +3 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/allowed_csi_driver.rb +15 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/allowed_flex_volume.rb +15 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/allowed_host_path.rb +16 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/daemon_set.rb +21 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/daemon_set_condition.rb +19 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/daemon_set_list.rb +19 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/daemon_set_spec.rb +23 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/daemon_set_status.rb +25 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/daemon_set_update_strategy.rb +17 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/deployment.rb +21 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/deployment_condition.rb +20 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/deployment_list.rb +19 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/deployment_rollback.rb +21 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/deployment_spec.rb +27 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/deployment_status.rb +23 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/deployment_strategy.rb +17 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/fs_group_strategy_options.rb +17 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/host_port_range.rb +16 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/http_ingress_path.rb +17 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/http_ingress_rule_value.rb +15 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/id_range.rb +16 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/ingress.rb +21 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/ingress_backend.rb +16 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/ingress_list.rb +19 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/ingress_rule.rb +17 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/ingress_spec.rb +19 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/ingress_status.rb +15 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/ingress_tls.rb +17 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/ip_block.rb +17 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/network_policy.rb +19 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/network_policy_egress_rule.rb +17 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/network_policy_ingress_rule.rb +17 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/network_policy_list.rb +19 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/network_policy_peer.rb +19 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/network_policy_port.rb +16 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/network_policy_spec.rb +21 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/pod_security_policy.rb +19 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/pod_security_policy_list.rb +19 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/pod_security_policy_spec.rb +55 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/replica_set.rb +21 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/replica_set_condition.rb +19 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/replica_set_list.rb +19 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/replica_set_spec.rb +20 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/replica_set_status.rb +21 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/rollback_config.rb +15 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/rolling_update_daemon_set.rb +15 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/rolling_update_deployment.rb +16 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/run_as_group_strategy_options.rb +17 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/run_as_user_strategy_options.rb +17 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/runtime_class_strategy_options.rb +17 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/scale.rb +21 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/scale_spec.rb +15 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/scale_status.rb +18 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/se_linux_strategy_options.rb +17 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1/supplemental_groups_strategy_options.rb +17 -0
- data/lib/kube-dsl/dsl/extensions/v1beta1.rb +57 -0
- data/lib/kube-dsl/dsl/extensions.rb +3 -0
- data/lib/kube-dsl/dsl/flowcontrol/v1alpha1/flow_distinguisher_method.rb +15 -0
- data/lib/kube-dsl/dsl/flowcontrol/v1alpha1/flow_schema.rb +21 -0
- data/lib/kube-dsl/dsl/flowcontrol/v1alpha1/flow_schema_condition.rb +19 -0
- data/lib/kube-dsl/dsl/flowcontrol/v1alpha1/flow_schema_list.rb +19 -0
- data/lib/kube-dsl/dsl/flowcontrol/v1alpha1/flow_schema_spec.rb +21 -0
- data/lib/kube-dsl/dsl/flowcontrol/v1alpha1/flow_schema_status.rb +15 -0
- data/lib/kube-dsl/dsl/flowcontrol/v1alpha1/group_subject.rb +15 -0
- data/lib/kube-dsl/dsl/flowcontrol/v1alpha1/limit_response.rb +17 -0
- data/lib/kube-dsl/dsl/flowcontrol/v1alpha1/limited_priority_level_configuration.rb +17 -0
- data/lib/kube-dsl/dsl/flowcontrol/v1alpha1/non_resource_policy_rule.rb +17 -0
- data/lib/kube-dsl/dsl/flowcontrol/v1alpha1/policy_rules_with_subjects.rb +19 -0
- data/lib/kube-dsl/dsl/flowcontrol/v1alpha1/priority_level_configuration.rb +21 -0
- data/lib/kube-dsl/dsl/flowcontrol/v1alpha1/priority_level_configuration_condition.rb +19 -0
- data/lib/kube-dsl/dsl/flowcontrol/v1alpha1/priority_level_configuration_list.rb +19 -0
- data/lib/kube-dsl/dsl/flowcontrol/v1alpha1/priority_level_configuration_reference.rb +15 -0
- data/lib/kube-dsl/dsl/flowcontrol/v1alpha1/priority_level_configuration_spec.rb +17 -0
- data/lib/kube-dsl/dsl/flowcontrol/v1alpha1/priority_level_configuration_status.rb +15 -0
- data/lib/kube-dsl/dsl/flowcontrol/v1alpha1/queuing_configuration.rb +17 -0
- data/lib/kube-dsl/dsl/flowcontrol/v1alpha1/resource_policy_rule.rb +23 -0
- data/lib/kube-dsl/dsl/flowcontrol/v1alpha1/service_account_subject.rb +16 -0
- data/lib/kube-dsl/dsl/flowcontrol/v1alpha1/subject.rb +21 -0
- data/lib/kube-dsl/dsl/flowcontrol/v1alpha1/user_subject.rb +15 -0
- data/lib/kube-dsl/dsl/flowcontrol/v1alpha1.rb +24 -0
- data/lib/kube-dsl/dsl/flowcontrol.rb +3 -0
- data/lib/kube-dsl/dsl/meta/v1/api_group.rb +23 -0
- data/lib/kube-dsl/dsl/meta/v1/api_group_list.rb +17 -0
- data/lib/kube-dsl/dsl/meta/v1/api_resource.rb +27 -0
- data/lib/kube-dsl/dsl/meta/v1/api_resource_list.rb +19 -0
- data/lib/kube-dsl/dsl/meta/v1/api_versions.rb +19 -0
- data/lib/kube-dsl/dsl/meta/v1/delete_options.rb +23 -0
- data/lib/kube-dsl/dsl/meta/v1/group_version_for_discovery.rb +16 -0
- data/lib/kube-dsl/dsl/meta/v1/label_selector.rb +17 -0
- data/lib/kube-dsl/dsl/meta/v1/label_selector_requirement.rb +18 -0
- data/lib/kube-dsl/dsl/meta/v1/list_meta.rb +18 -0
- data/lib/kube-dsl/dsl/meta/v1/managed_fields_entry.rb +20 -0
- data/lib/kube-dsl/dsl/meta/v1/object_meta.rb +35 -0
- data/lib/kube-dsl/dsl/meta/v1/owner_reference.rb +20 -0
- data/lib/kube-dsl/dsl/meta/v1/preconditions.rb +16 -0
- data/lib/kube-dsl/dsl/meta/v1/server_address_by_client_cidr.rb +16 -0
- data/lib/kube-dsl/dsl/meta/v1/status.rb +24 -0
- data/lib/kube-dsl/dsl/meta/v1/status_cause.rb +17 -0
- data/lib/kube-dsl/dsl/meta/v1/status_details.rb +21 -0
- data/lib/kube-dsl/dsl/meta/v1/watch_event.rb +16 -0
- data/lib/kube-dsl/dsl/meta/v1.rb +21 -0
- data/lib/kube-dsl/dsl/meta.rb +3 -0
- data/lib/kube-dsl/dsl/networking/v1/ip_block.rb +17 -0
- data/lib/kube-dsl/dsl/networking/v1/network_policy.rb +19 -0
- data/lib/kube-dsl/dsl/networking/v1/network_policy_egress_rule.rb +17 -0
- data/lib/kube-dsl/dsl/networking/v1/network_policy_ingress_rule.rb +17 -0
- data/lib/kube-dsl/dsl/networking/v1/network_policy_list.rb +19 -0
- data/lib/kube-dsl/dsl/networking/v1/network_policy_peer.rb +19 -0
- data/lib/kube-dsl/dsl/networking/v1/network_policy_port.rb +16 -0
- data/lib/kube-dsl/dsl/networking/v1/network_policy_spec.rb +21 -0
- data/lib/kube-dsl/dsl/networking/v1.rb +10 -0
- data/lib/kube-dsl/dsl/networking/v1beta1/http_ingress_path.rb +17 -0
- data/lib/kube-dsl/dsl/networking/v1beta1/http_ingress_rule_value.rb +15 -0
- data/lib/kube-dsl/dsl/networking/v1beta1/ingress.rb +21 -0
- data/lib/kube-dsl/dsl/networking/v1beta1/ingress_backend.rb +16 -0
- data/lib/kube-dsl/dsl/networking/v1beta1/ingress_list.rb +19 -0
- data/lib/kube-dsl/dsl/networking/v1beta1/ingress_rule.rb +17 -0
- data/lib/kube-dsl/dsl/networking/v1beta1/ingress_spec.rb +19 -0
- data/lib/kube-dsl/dsl/networking/v1beta1/ingress_status.rb +15 -0
- data/lib/kube-dsl/dsl/networking/v1beta1/ingress_tls.rb +17 -0
- data/lib/kube-dsl/dsl/networking/v1beta1.rb +11 -0
- data/lib/kube-dsl/dsl/networking.rb +4 -0
- data/lib/kube-dsl/dsl/node/v1alpha1/overhead.rb +15 -0
- data/lib/kube-dsl/dsl/node/v1alpha1/runtime_class.rb +19 -0
- data/lib/kube-dsl/dsl/node/v1alpha1/runtime_class_list.rb +19 -0
- data/lib/kube-dsl/dsl/node/v1alpha1/runtime_class_spec.rb +19 -0
- data/lib/kube-dsl/dsl/node/v1alpha1/scheduling.rb +17 -0
- data/lib/kube-dsl/dsl/node/v1alpha1.rb +7 -0
- data/lib/kube-dsl/dsl/node/v1beta1/overhead.rb +15 -0
- data/lib/kube-dsl/dsl/node/v1beta1/runtime_class.rb +23 -0
- data/lib/kube-dsl/dsl/node/v1beta1/runtime_class_list.rb +19 -0
- data/lib/kube-dsl/dsl/node/v1beta1/scheduling.rb +17 -0
- data/lib/kube-dsl/dsl/node/v1beta1.rb +6 -0
- data/lib/kube-dsl/dsl/node.rb +4 -0
- data/lib/kube-dsl/dsl/pkg/version/info.rb +23 -0
- data/lib/kube-dsl/dsl/pkg/version.rb +3 -0
- data/lib/kube-dsl/dsl/pkg.rb +3 -0
- data/lib/kube-dsl/dsl/policy/v1beta1/allowed_csi_driver.rb +15 -0
- data/lib/kube-dsl/dsl/policy/v1beta1/allowed_flex_volume.rb +15 -0
- data/lib/kube-dsl/dsl/policy/v1beta1/allowed_host_path.rb +16 -0
- data/lib/kube-dsl/dsl/policy/v1beta1/eviction.rb +19 -0
- data/lib/kube-dsl/dsl/policy/v1beta1/fs_group_strategy_options.rb +17 -0
- data/lib/kube-dsl/dsl/policy/v1beta1/host_port_range.rb +16 -0
- data/lib/kube-dsl/dsl/policy/v1beta1/id_range.rb +16 -0
- data/lib/kube-dsl/dsl/policy/v1beta1/pod_disruption_budget.rb +21 -0
- data/lib/kube-dsl/dsl/policy/v1beta1/pod_disruption_budget_list.rb +19 -0
- data/lib/kube-dsl/dsl/policy/v1beta1/pod_disruption_budget_spec.rb +18 -0
- data/lib/kube-dsl/dsl/policy/v1beta1/pod_disruption_budget_status.rb +21 -0
- data/lib/kube-dsl/dsl/policy/v1beta1/pod_security_policy.rb +19 -0
- data/lib/kube-dsl/dsl/policy/v1beta1/pod_security_policy_list.rb +19 -0
- data/lib/kube-dsl/dsl/policy/v1beta1/pod_security_policy_spec.rb +55 -0
- data/lib/kube-dsl/dsl/policy/v1beta1/run_as_group_strategy_options.rb +17 -0
- data/lib/kube-dsl/dsl/policy/v1beta1/run_as_user_strategy_options.rb +17 -0
- data/lib/kube-dsl/dsl/policy/v1beta1/runtime_class_strategy_options.rb +17 -0
- data/lib/kube-dsl/dsl/policy/v1beta1/se_linux_strategy_options.rb +17 -0
- data/lib/kube-dsl/dsl/policy/v1beta1/supplemental_groups_strategy_options.rb +17 -0
- data/lib/kube-dsl/dsl/policy/v1beta1.rb +21 -0
- data/lib/kube-dsl/dsl/policy.rb +3 -0
- data/lib/kube-dsl/dsl/rbac/v1/aggregation_rule.rb +15 -0
- data/lib/kube-dsl/dsl/rbac/v1/cluster_role.rb +21 -0
- data/lib/kube-dsl/dsl/rbac/v1/cluster_role_binding.rb +21 -0
- data/lib/kube-dsl/dsl/rbac/v1/cluster_role_binding_list.rb +19 -0
- data/lib/kube-dsl/dsl/rbac/v1/cluster_role_list.rb +19 -0
- data/lib/kube-dsl/dsl/rbac/v1/policy_rule.rb +23 -0
- data/lib/kube-dsl/dsl/rbac/v1/role.rb +19 -0
- data/lib/kube-dsl/dsl/rbac/v1/role_binding.rb +21 -0
- data/lib/kube-dsl/dsl/rbac/v1/role_binding_list.rb +19 -0
- data/lib/kube-dsl/dsl/rbac/v1/role_list.rb +19 -0
- data/lib/kube-dsl/dsl/rbac/v1/role_ref.rb +17 -0
- data/lib/kube-dsl/dsl/rbac/v1/subject.rb +18 -0
- data/lib/kube-dsl/dsl/rbac/v1.rb +14 -0
- data/lib/kube-dsl/dsl/rbac/v1alpha1/aggregation_rule.rb +15 -0
- data/lib/kube-dsl/dsl/rbac/v1alpha1/cluster_role.rb +21 -0
- data/lib/kube-dsl/dsl/rbac/v1alpha1/cluster_role_binding.rb +21 -0
- data/lib/kube-dsl/dsl/rbac/v1alpha1/cluster_role_binding_list.rb +19 -0
- data/lib/kube-dsl/dsl/rbac/v1alpha1/cluster_role_list.rb +19 -0
- data/lib/kube-dsl/dsl/rbac/v1alpha1/policy_rule.rb +23 -0
- data/lib/kube-dsl/dsl/rbac/v1alpha1/role.rb +19 -0
- data/lib/kube-dsl/dsl/rbac/v1alpha1/role_binding.rb +21 -0
- data/lib/kube-dsl/dsl/rbac/v1alpha1/role_binding_list.rb +19 -0
- data/lib/kube-dsl/dsl/rbac/v1alpha1/role_list.rb +19 -0
- data/lib/kube-dsl/dsl/rbac/v1alpha1/role_ref.rb +17 -0
- data/lib/kube-dsl/dsl/rbac/v1alpha1/subject.rb +18 -0
- data/lib/kube-dsl/dsl/rbac/v1alpha1.rb +14 -0
- data/lib/kube-dsl/dsl/rbac/v1beta1/aggregation_rule.rb +15 -0
- data/lib/kube-dsl/dsl/rbac/v1beta1/cluster_role.rb +21 -0
- data/lib/kube-dsl/dsl/rbac/v1beta1/cluster_role_binding.rb +21 -0
- data/lib/kube-dsl/dsl/rbac/v1beta1/cluster_role_binding_list.rb +19 -0
- data/lib/kube-dsl/dsl/rbac/v1beta1/cluster_role_list.rb +19 -0
- data/lib/kube-dsl/dsl/rbac/v1beta1/policy_rule.rb +23 -0
- data/lib/kube-dsl/dsl/rbac/v1beta1/role.rb +19 -0
- data/lib/kube-dsl/dsl/rbac/v1beta1/role_binding.rb +21 -0
- data/lib/kube-dsl/dsl/rbac/v1beta1/role_binding_list.rb +19 -0
- data/lib/kube-dsl/dsl/rbac/v1beta1/role_list.rb +19 -0
- data/lib/kube-dsl/dsl/rbac/v1beta1/role_ref.rb +17 -0
- data/lib/kube-dsl/dsl/rbac/v1beta1/subject.rb +18 -0
- data/lib/kube-dsl/dsl/rbac/v1beta1.rb +14 -0
- data/lib/kube-dsl/dsl/rbac.rb +5 -0
- data/lib/kube-dsl/dsl/scheduling/v1/priority_class.rb +22 -0
- data/lib/kube-dsl/dsl/scheduling/v1/priority_class_list.rb +19 -0
- data/lib/kube-dsl/dsl/scheduling/v1.rb +4 -0
- data/lib/kube-dsl/dsl/scheduling/v1alpha1/priority_class.rb +22 -0
- data/lib/kube-dsl/dsl/scheduling/v1alpha1/priority_class_list.rb +19 -0
- data/lib/kube-dsl/dsl/scheduling/v1alpha1.rb +4 -0
- data/lib/kube-dsl/dsl/scheduling/v1beta1/priority_class.rb +22 -0
- data/lib/kube-dsl/dsl/scheduling/v1beta1/priority_class_list.rb +19 -0
- data/lib/kube-dsl/dsl/scheduling/v1beta1.rb +4 -0
- data/lib/kube-dsl/dsl/scheduling.rb +5 -0
- data/lib/kube-dsl/dsl/settings/v1alpha1/pod_preset.rb +19 -0
- data/lib/kube-dsl/dsl/settings/v1alpha1/pod_preset_list.rb +19 -0
- data/lib/kube-dsl/dsl/settings/v1alpha1/pod_preset_spec.rb +23 -0
- data/lib/kube-dsl/dsl/settings/v1alpha1.rb +5 -0
- data/lib/kube-dsl/dsl/settings.rb +3 -0
- data/lib/kube-dsl/dsl/storage/v1/csi_node.rb +19 -0
- data/lib/kube-dsl/dsl/storage/v1/csi_node_driver.rb +20 -0
- data/lib/kube-dsl/dsl/storage/v1/csi_node_list.rb +19 -0
- data/lib/kube-dsl/dsl/storage/v1/csi_node_spec.rb +15 -0
- data/lib/kube-dsl/dsl/storage/v1/storage_class.rb +28 -0
- data/lib/kube-dsl/dsl/storage/v1/storage_class_list.rb +19 -0
- data/lib/kube-dsl/dsl/storage/v1/volume_attachment.rb +21 -0
- data/lib/kube-dsl/dsl/storage/v1/volume_attachment_list.rb +19 -0
- data/lib/kube-dsl/dsl/storage/v1/volume_attachment_source.rb +17 -0
- data/lib/kube-dsl/dsl/storage/v1/volume_attachment_spec.rb +18 -0
- data/lib/kube-dsl/dsl/storage/v1/volume_attachment_status.rb +21 -0
- data/lib/kube-dsl/dsl/storage/v1/volume_error.rb +16 -0
- data/lib/kube-dsl/dsl/storage/v1/volume_node_resources.rb +15 -0
- data/lib/kube-dsl/dsl/storage/v1.rb +15 -0
- data/lib/kube-dsl/dsl/storage/v1alpha1/volume_attachment.rb +21 -0
- data/lib/kube-dsl/dsl/storage/v1alpha1/volume_attachment_list.rb +19 -0
- data/lib/kube-dsl/dsl/storage/v1alpha1/volume_attachment_source.rb +17 -0
- data/lib/kube-dsl/dsl/storage/v1alpha1/volume_attachment_spec.rb +18 -0
- data/lib/kube-dsl/dsl/storage/v1alpha1/volume_attachment_status.rb +21 -0
- data/lib/kube-dsl/dsl/storage/v1alpha1/volume_error.rb +16 -0
- data/lib/kube-dsl/dsl/storage/v1alpha1.rb +8 -0
- data/lib/kube-dsl/dsl/storage/v1beta1/csi_driver.rb +19 -0
- data/lib/kube-dsl/dsl/storage/v1beta1/csi_driver_list.rb +19 -0
- data/lib/kube-dsl/dsl/storage/v1beta1/csi_driver_spec.rb +18 -0
- data/lib/kube-dsl/dsl/storage/v1beta1/csi_node.rb +19 -0
- data/lib/kube-dsl/dsl/storage/v1beta1/csi_node_driver.rb +20 -0
- data/lib/kube-dsl/dsl/storage/v1beta1/csi_node_list.rb +19 -0
- data/lib/kube-dsl/dsl/storage/v1beta1/csi_node_spec.rb +15 -0
- data/lib/kube-dsl/dsl/storage/v1beta1/storage_class.rb +28 -0
- data/lib/kube-dsl/dsl/storage/v1beta1/storage_class_list.rb +19 -0
- data/lib/kube-dsl/dsl/storage/v1beta1/volume_attachment.rb +21 -0
- data/lib/kube-dsl/dsl/storage/v1beta1/volume_attachment_list.rb +19 -0
- data/lib/kube-dsl/dsl/storage/v1beta1/volume_attachment_source.rb +17 -0
- data/lib/kube-dsl/dsl/storage/v1beta1/volume_attachment_spec.rb +18 -0
- data/lib/kube-dsl/dsl/storage/v1beta1/volume_attachment_status.rb +21 -0
- data/lib/kube-dsl/dsl/storage/v1beta1/volume_error.rb +16 -0
- data/lib/kube-dsl/dsl/storage/v1beta1/volume_node_resources.rb +15 -0
- data/lib/kube-dsl/dsl/storage/v1beta1.rb +18 -0
- data/lib/kube-dsl/dsl/storage.rb +5 -0
- data/lib/kube-dsl/dsl/v1/affinity.rb +19 -0
- data/lib/kube-dsl/dsl/v1/attached_volume.rb +16 -0
- data/lib/kube-dsl/dsl/v1/aws_elastic_block_store_volume_source.rb +18 -0
- data/lib/kube-dsl/dsl/v1/azure_disk_volume_source.rb +20 -0
- data/lib/kube-dsl/dsl/v1/azure_file_persistent_volume_source.rb +18 -0
- data/lib/kube-dsl/dsl/v1/azure_file_volume_source.rb +17 -0
- data/lib/kube-dsl/dsl/v1/binding.rb +19 -0
- data/lib/kube-dsl/dsl/v1/capabilities.rb +17 -0
- data/lib/kube-dsl/dsl/v1/ceph_fs_persistent_volume_source.rb +22 -0
- data/lib/kube-dsl/dsl/v1/ceph_fs_volume_source.rb +22 -0
- data/lib/kube-dsl/dsl/v1/cinder_persistent_volume_source.rb +19 -0
- data/lib/kube-dsl/dsl/v1/cinder_volume_source.rb +19 -0
- data/lib/kube-dsl/dsl/v1/client_ip_config.rb +15 -0
- data/lib/kube-dsl/dsl/v1/component_condition.rb +18 -0
- data/lib/kube-dsl/dsl/v1/component_status.rb +19 -0
- data/lib/kube-dsl/dsl/v1/component_status_list.rb +19 -0
- data/lib/kube-dsl/dsl/v1/config_map.rb +21 -0
- data/lib/kube-dsl/dsl/v1/config_map_env_source.rb +16 -0
- data/lib/kube-dsl/dsl/v1/config_map_key_selector.rb +17 -0
- data/lib/kube-dsl/dsl/v1/config_map_list.rb +19 -0
- data/lib/kube-dsl/dsl/v1/config_map_node_config_source.rb +19 -0
- data/lib/kube-dsl/dsl/v1/config_map_projection.rb +18 -0
- data/lib/kube-dsl/dsl/v1/config_map_volume_source.rb +19 -0
- data/lib/kube-dsl/dsl/v1/container.rb +49 -0
- data/lib/kube-dsl/dsl/v1/container_image.rb +17 -0
- data/lib/kube-dsl/dsl/v1/container_port.rb +19 -0
- data/lib/kube-dsl/dsl/v1/container_state.rb +19 -0
- data/lib/kube-dsl/dsl/v1/container_state_running.rb +15 -0
- data/lib/kube-dsl/dsl/v1/container_state_terminated.rb +21 -0
- data/lib/kube-dsl/dsl/v1/container_state_waiting.rb +16 -0
- data/lib/kube-dsl/dsl/v1/container_status.rb +25 -0
- data/lib/kube-dsl/dsl/v1/csi_persistent_volume_source.rb +28 -0
- data/lib/kube-dsl/dsl/v1/csi_volume_source.rb +21 -0
- data/lib/kube-dsl/dsl/v1/daemon_endpoint.rb +15 -0
- data/lib/kube-dsl/dsl/v1/downward_api_projection.rb +15 -0
- data/lib/kube-dsl/dsl/v1/downward_api_volume_file.rb +20 -0
- data/lib/kube-dsl/dsl/v1/downward_api_volume_source.rb +17 -0
- data/lib/kube-dsl/dsl/v1/empty_dir_volume_source.rb +16 -0
- data/lib/kube-dsl/dsl/v1/endpoint_address.rb +19 -0
- data/lib/kube-dsl/dsl/v1/endpoint_port.rb +17 -0
- data/lib/kube-dsl/dsl/v1/endpoint_subset.rb +19 -0
- data/lib/kube-dsl/dsl/v1/endpoints.rb +19 -0
- data/lib/kube-dsl/dsl/v1/endpoints_list.rb +19 -0
- data/lib/kube-dsl/dsl/v1/env_from_source.rb +19 -0
- data/lib/kube-dsl/dsl/v1/env_var.rb +18 -0
- data/lib/kube-dsl/dsl/v1/env_var_source.rb +21 -0
- data/lib/kube-dsl/dsl/v1/ephemeral_container.rb +50 -0
- data/lib/kube-dsl/dsl/v1/event.rb +36 -0
- data/lib/kube-dsl/dsl/v1/event_list.rb +19 -0
- data/lib/kube-dsl/dsl/v1/event_series.rb +17 -0
- data/lib/kube-dsl/dsl/v1/event_source.rb +16 -0
- data/lib/kube-dsl/dsl/v1/exec_action.rb +15 -0
- data/lib/kube-dsl/dsl/v1/fc_volume_source.rb +21 -0
- data/lib/kube-dsl/dsl/v1/flex_persistent_volume_source.rb +21 -0
- data/lib/kube-dsl/dsl/v1/flex_volume_source.rb +21 -0
- data/lib/kube-dsl/dsl/v1/flocker_volume_source.rb +16 -0
- data/lib/kube-dsl/dsl/v1/gce_persistent_disk_volume_source.rb +18 -0
- data/lib/kube-dsl/dsl/v1/git_repo_volume_source.rb +17 -0
- data/lib/kube-dsl/dsl/v1/glusterfs_persistent_volume_source.rb +18 -0
- data/lib/kube-dsl/dsl/v1/glusterfs_volume_source.rb +17 -0
- data/lib/kube-dsl/dsl/v1/handler.rb +19 -0
- data/lib/kube-dsl/dsl/v1/host_alias.rb +17 -0
- data/lib/kube-dsl/dsl/v1/host_path_volume_source.rb +16 -0
- data/lib/kube-dsl/dsl/v1/http_get_action.rb +20 -0
- data/lib/kube-dsl/dsl/v1/http_header.rb +16 -0
- data/lib/kube-dsl/dsl/v1/iscsi_persistent_volume_source.rb +27 -0
- data/lib/kube-dsl/dsl/v1/iscsi_volume_source.rb +27 -0
- data/lib/kube-dsl/dsl/v1/key_to_path.rb +17 -0
- data/lib/kube-dsl/dsl/v1/lifecycle.rb +17 -0
- data/lib/kube-dsl/dsl/v1/limit_range.rb +19 -0
- data/lib/kube-dsl/dsl/v1/limit_range_item.rb +25 -0
- data/lib/kube-dsl/dsl/v1/limit_range_list.rb +19 -0
- data/lib/kube-dsl/dsl/v1/limit_range_spec.rb +15 -0
- data/lib/kube-dsl/dsl/v1/load_balancer_ingress.rb +16 -0
- data/lib/kube-dsl/dsl/v1/load_balancer_status.rb +15 -0
- data/lib/kube-dsl/dsl/v1/local_object_reference.rb +15 -0
- data/lib/kube-dsl/dsl/v1/local_volume_source.rb +16 -0
- data/lib/kube-dsl/dsl/v1/namespace.rb +21 -0
- data/lib/kube-dsl/dsl/v1/namespace_condition.rb +19 -0
- data/lib/kube-dsl/dsl/v1/namespace_list.rb +19 -0
- data/lib/kube-dsl/dsl/v1/namespace_spec.rb +15 -0
- data/lib/kube-dsl/dsl/v1/namespace_status.rb +17 -0
- data/lib/kube-dsl/dsl/v1/nfs_volume_source.rb +17 -0
- data/lib/kube-dsl/dsl/v1/node.rb +21 -0
- data/lib/kube-dsl/dsl/v1/node_address.rb +16 -0
- data/lib/kube-dsl/dsl/v1/node_affinity.rb +17 -0
- data/lib/kube-dsl/dsl/v1/node_condition.rb +20 -0
- data/lib/kube-dsl/dsl/v1/node_config_source.rb +15 -0
- data/lib/kube-dsl/dsl/v1/node_config_status.rb +21 -0
- data/lib/kube-dsl/dsl/v1/node_daemon_endpoints.rb +15 -0
- data/lib/kube-dsl/dsl/v1/node_list.rb +19 -0
- data/lib/kube-dsl/dsl/v1/node_selector.rb +15 -0
- data/lib/kube-dsl/dsl/v1/node_selector_requirement.rb +18 -0
- data/lib/kube-dsl/dsl/v1/node_selector_term.rb +17 -0
- data/lib/kube-dsl/dsl/v1/node_spec.rb +24 -0
- data/lib/kube-dsl/dsl/v1/node_status.rb +35 -0
- data/lib/kube-dsl/dsl/v1/node_system_info.rb +24 -0
- data/lib/kube-dsl/dsl/v1/object_field_selector.rb +16 -0
- data/lib/kube-dsl/dsl/v1/object_reference.rb +21 -0
- data/lib/kube-dsl/dsl/v1/persistent_volume.rb +21 -0
- data/lib/kube-dsl/dsl/v1/persistent_volume_claim.rb +21 -0
- data/lib/kube-dsl/dsl/v1/persistent_volume_claim_condition.rb +20 -0
- data/lib/kube-dsl/dsl/v1/persistent_volume_claim_list.rb +19 -0
- data/lib/kube-dsl/dsl/v1/persistent_volume_claim_spec.rb +25 -0
- data/lib/kube-dsl/dsl/v1/persistent_volume_claim_status.rb +21 -0
- data/lib/kube-dsl/dsl/v1/persistent_volume_claim_volume_source.rb +16 -0
- data/lib/kube-dsl/dsl/v1/persistent_volume_list.rb +19 -0
- data/lib/kube-dsl/dsl/v1/persistent_volume_spec.rb +71 -0
- data/lib/kube-dsl/dsl/v1/persistent_volume_status.rb +17 -0
- data/lib/kube-dsl/dsl/v1/photon_persistent_disk_volume_source.rb +16 -0
- data/lib/kube-dsl/dsl/v1/pod.rb +21 -0
- data/lib/kube-dsl/dsl/v1/pod_affinity.rb +17 -0
- data/lib/kube-dsl/dsl/v1/pod_affinity_term.rb +19 -0
- data/lib/kube-dsl/dsl/v1/pod_anti_affinity.rb +17 -0
- data/lib/kube-dsl/dsl/v1/pod_condition.rb +20 -0
- data/lib/kube-dsl/dsl/v1/pod_dns_config.rb +19 -0
- data/lib/kube-dsl/dsl/v1/pod_dns_config_option.rb +16 -0
- data/lib/kube-dsl/dsl/v1/pod_ip.rb +15 -0
- data/lib/kube-dsl/dsl/v1/pod_list.rb +19 -0
- data/lib/kube-dsl/dsl/v1/pod_readiness_gate.rb +15 -0
- data/lib/kube-dsl/dsl/v1/pod_security_context.rb +26 -0
- data/lib/kube-dsl/dsl/v1/pod_spec.rb +62 -0
- data/lib/kube-dsl/dsl/v1/pod_status.rb +32 -0
- data/lib/kube-dsl/dsl/v1/pod_template.rb +19 -0
- data/lib/kube-dsl/dsl/v1/pod_template_list.rb +19 -0
- data/lib/kube-dsl/dsl/v1/pod_template_spec.rb +17 -0
- data/lib/kube-dsl/dsl/v1/portworx_volume_source.rb +17 -0
- data/lib/kube-dsl/dsl/v1/preferred_scheduling_term.rb +17 -0
- data/lib/kube-dsl/dsl/v1/probe.rb +25 -0
- data/lib/kube-dsl/dsl/v1/projected_volume_source.rb +17 -0
- data/lib/kube-dsl/dsl/v1/quobyte_volume_source.rb +20 -0
- data/lib/kube-dsl/dsl/v1/rbd_persistent_volume_source.rb +24 -0
- data/lib/kube-dsl/dsl/v1/rbd_volume_source.rb +24 -0
- data/lib/kube-dsl/dsl/v1/replication_controller.rb +21 -0
- data/lib/kube-dsl/dsl/v1/replication_controller_condition.rb +19 -0
- data/lib/kube-dsl/dsl/v1/replication_controller_list.rb +19 -0
- data/lib/kube-dsl/dsl/v1/replication_controller_spec.rb +20 -0
- data/lib/kube-dsl/dsl/v1/replication_controller_status.rb +21 -0
- data/lib/kube-dsl/dsl/v1/resource_field_selector.rb +17 -0
- data/lib/kube-dsl/dsl/v1/resource_quota.rb +21 -0
- data/lib/kube-dsl/dsl/v1/resource_quota_list.rb +19 -0
- data/lib/kube-dsl/dsl/v1/resource_quota_spec.rb +19 -0
- data/lib/kube-dsl/dsl/v1/resource_quota_status.rb +17 -0
- data/lib/kube-dsl/dsl/v1/resource_requirements.rb +17 -0
- data/lib/kube-dsl/dsl/v1/scale_io_persistent_volume_source.rb +25 -0
- data/lib/kube-dsl/dsl/v1/scale_io_volume_source.rb +25 -0
- data/lib/kube-dsl/dsl/v1/scope_selector.rb +15 -0
- data/lib/kube-dsl/dsl/v1/scoped_resource_selector_requirement.rb +18 -0
- data/lib/kube-dsl/dsl/v1/se_linux_options.rb +18 -0
- data/lib/kube-dsl/dsl/v1/secret.rb +23 -0
- data/lib/kube-dsl/dsl/v1/secret_env_source.rb +16 -0
- data/lib/kube-dsl/dsl/v1/secret_key_selector.rb +17 -0
- data/lib/kube-dsl/dsl/v1/secret_list.rb +19 -0
- data/lib/kube-dsl/dsl/v1/secret_projection.rb +18 -0
- data/lib/kube-dsl/dsl/v1/secret_reference.rb +16 -0
- data/lib/kube-dsl/dsl/v1/secret_volume_source.rb +19 -0
- data/lib/kube-dsl/dsl/v1/security_context.rb +27 -0
- data/lib/kube-dsl/dsl/v1/service.rb +21 -0
- data/lib/kube-dsl/dsl/v1/service_account.rb +23 -0
- data/lib/kube-dsl/dsl/v1/service_account_list.rb +19 -0
- data/lib/kube-dsl/dsl/v1/service_account_token_projection.rb +17 -0
- data/lib/kube-dsl/dsl/v1/service_list.rb +19 -0
- data/lib/kube-dsl/dsl/v1/service_port.rb +19 -0
- data/lib/kube-dsl/dsl/v1/service_spec.rb +35 -0
- data/lib/kube-dsl/dsl/v1/service_status.rb +15 -0
- data/lib/kube-dsl/dsl/v1/session_affinity_config.rb +15 -0
- data/lib/kube-dsl/dsl/v1/storage_os_persistent_volume_source.rb +20 -0
- data/lib/kube-dsl/dsl/v1/storage_os_volume_source.rb +20 -0
- data/lib/kube-dsl/dsl/v1/sysctl.rb +16 -0
- data/lib/kube-dsl/dsl/v1/taint.rb +18 -0
- data/lib/kube-dsl/dsl/v1/tcp_socket_action.rb +16 -0
- data/lib/kube-dsl/dsl/v1/toleration.rb +19 -0
- data/lib/kube-dsl/dsl/v1/topology_selector_label_requirement.rb +17 -0
- data/lib/kube-dsl/dsl/v1/topology_selector_term.rb +15 -0
- data/lib/kube-dsl/dsl/v1/topology_spread_constraint.rb +19 -0
- data/lib/kube-dsl/dsl/v1/typed_local_object_reference.rb +17 -0
- data/lib/kube-dsl/dsl/v1/volume.rb +71 -0
- data/lib/kube-dsl/dsl/v1/volume_device.rb +16 -0
- data/lib/kube-dsl/dsl/v1/volume_mount.rb +20 -0
- data/lib/kube-dsl/dsl/v1/volume_node_affinity.rb +15 -0
- data/lib/kube-dsl/dsl/v1/volume_projection.rb +21 -0
- data/lib/kube-dsl/dsl/v1/vsphere_virtual_disk_volume_source.rb +18 -0
- data/lib/kube-dsl/dsl/v1/weighted_pod_affinity_term.rb +17 -0
- data/lib/kube-dsl/dsl/v1/windows_security_context_options.rb +17 -0
- data/lib/kube-dsl/dsl/v1.rb +186 -0
- data/lib/kube-dsl/dsl.rb +27 -0
- data/lib/kube-dsl/dsl_object.rb +13 -0
- data/lib/kube-dsl/entrypoint.rb +1345 -0
- data/lib/kube-dsl/external_ref.rb +16 -0
- data/lib/kube-dsl/external_resource_meta.rb +13 -0
- data/lib/kube-dsl/generator.rb +48 -0
- data/lib/kube-dsl/inflector.rb +25 -0
- data/lib/kube-dsl/key_value_fields.rb +45 -0
- data/lib/kube-dsl/ref.rb +84 -0
- data/lib/kube-dsl/resource.rb +41 -0
- data/lib/kube-dsl/resource_meta.rb +122 -0
- data/lib/kube-dsl/string_helpers.rb +17 -0
- data/lib/kube-dsl/value_fields.rb +78 -0
- data/lib/kube-dsl/version.rb +3 -0
- data/lib/kube-dsl.rb +20 -0
- metadata +817 -0
@@ -0,0 +1,17 @@
|
|
1
|
+
module KubeDSL::DSL::Policy::V1beta1
|
2
|
+
class FSGroupStrategyOptions < ::KubeDSL::DSLObject
|
3
|
+
value_fields :rule
|
4
|
+
array_field(:range) { KubeDSL::DSL::Policy::V1beta1::IDRange.new }
|
5
|
+
|
6
|
+
def serialize
|
7
|
+
{}.tap do |result|
|
8
|
+
result[:rule] = rule
|
9
|
+
result[:ranges] = ranges.map(&:serialize)
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
def kind_sym
|
14
|
+
:fs_group_strategy_options
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
module KubeDSL::DSL::Policy::V1beta1
|
2
|
+
class HostPortRange < ::KubeDSL::DSLObject
|
3
|
+
value_fields :max, :min
|
4
|
+
|
5
|
+
def serialize
|
6
|
+
{}.tap do |result|
|
7
|
+
result[:max] = max
|
8
|
+
result[:min] = min
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
def kind_sym
|
13
|
+
:host_port_range
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
module KubeDSL::DSL::Policy::V1beta1
|
2
|
+
class PodDisruptionBudget < ::KubeDSL::DSLObject
|
3
|
+
object_field(:metadata) { KubeDSL::DSL::Meta::V1::ObjectMeta.new }
|
4
|
+
object_field(:spec) { KubeDSL::DSL::Policy::V1beta1::PodDisruptionBudgetSpec.new }
|
5
|
+
object_field(:status) { KubeDSL::DSL::Policy::V1beta1::PodDisruptionBudgetStatus.new }
|
6
|
+
|
7
|
+
def serialize
|
8
|
+
{}.tap do |result|
|
9
|
+
result[:apiVersion] = "policy/v1beta1"
|
10
|
+
result[:kind] = "PodDisruptionBudget"
|
11
|
+
result[:metadata] = metadata.serialize
|
12
|
+
result[:spec] = spec.serialize
|
13
|
+
result[:status] = status.serialize
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
def kind_sym
|
18
|
+
:pod_disruption_budget
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
module KubeDSL::DSL::Policy::V1beta1
|
2
|
+
class PodDisruptionBudgetList < ::KubeDSL::DSLObject
|
3
|
+
array_field(:item) { KubeDSL::DSL::Policy::V1beta1::PodDisruptionBudget.new }
|
4
|
+
object_field(:metadata) { KubeDSL::DSL::Meta::V1::ListMeta.new }
|
5
|
+
|
6
|
+
def serialize
|
7
|
+
{}.tap do |result|
|
8
|
+
result[:apiVersion] = "policy/v1beta1"
|
9
|
+
result[:kind] = "PodDisruptionBudgetList"
|
10
|
+
result[:items] = items.map(&:serialize)
|
11
|
+
result[:metadata] = metadata.serialize
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
def kind_sym
|
16
|
+
:pod_disruption_budget_list
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
module KubeDSL::DSL::Policy::V1beta1
|
2
|
+
class PodDisruptionBudgetSpec < ::KubeDSL::DSLObject
|
3
|
+
value_fields :max_unavailable, :min_available
|
4
|
+
object_field(:selector) { KubeDSL::DSL::Meta::V1::LabelSelector.new }
|
5
|
+
|
6
|
+
def serialize
|
7
|
+
{}.tap do |result|
|
8
|
+
result[:maxUnavailable] = max_unavailable
|
9
|
+
result[:minAvailable] = min_available
|
10
|
+
result[:selector] = selector.serialize
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
def kind_sym
|
15
|
+
:pod_disruption_budget_spec
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
module KubeDSL::DSL::Policy::V1beta1
|
2
|
+
class PodDisruptionBudgetStatus < ::KubeDSL::DSLObject
|
3
|
+
value_fields :current_healthy, :desired_healthy, :disruptions_allowed, :expected_pods, :observed_generation
|
4
|
+
object_field(:disrupted_pods) { ::KubeDSL::KeyValueFields.new(format: :string) }
|
5
|
+
|
6
|
+
def serialize
|
7
|
+
{}.tap do |result|
|
8
|
+
result[:currentHealthy] = current_healthy
|
9
|
+
result[:desiredHealthy] = desired_healthy
|
10
|
+
result[:disruptionsAllowed] = disruptions_allowed
|
11
|
+
result[:expectedPods] = expected_pods
|
12
|
+
result[:observedGeneration] = observed_generation
|
13
|
+
result[:disruptedPods] = disrupted_pods.serialize
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
def kind_sym
|
18
|
+
:pod_disruption_budget_status
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
module KubeDSL::DSL::Policy::V1beta1
|
2
|
+
class PodSecurityPolicy < ::KubeDSL::DSLObject
|
3
|
+
object_field(:metadata) { KubeDSL::DSL::Meta::V1::ObjectMeta.new }
|
4
|
+
object_field(:spec) { KubeDSL::DSL::Policy::V1beta1::PodSecurityPolicySpec.new }
|
5
|
+
|
6
|
+
def serialize
|
7
|
+
{}.tap do |result|
|
8
|
+
result[:apiVersion] = "policy/v1beta1"
|
9
|
+
result[:kind] = "PodSecurityPolicy"
|
10
|
+
result[:metadata] = metadata.serialize
|
11
|
+
result[:spec] = spec.serialize
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
def kind_sym
|
16
|
+
:pod_security_policy
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
module KubeDSL::DSL::Policy::V1beta1
|
2
|
+
class PodSecurityPolicyList < ::KubeDSL::DSLObject
|
3
|
+
array_field(:item) { KubeDSL::DSL::Policy::V1beta1::PodSecurityPolicy.new }
|
4
|
+
object_field(:metadata) { KubeDSL::DSL::Meta::V1::ListMeta.new }
|
5
|
+
|
6
|
+
def serialize
|
7
|
+
{}.tap do |result|
|
8
|
+
result[:apiVersion] = "policy/v1beta1"
|
9
|
+
result[:kind] = "PodSecurityPolicyList"
|
10
|
+
result[:items] = items.map(&:serialize)
|
11
|
+
result[:metadata] = metadata.serialize
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
def kind_sym
|
16
|
+
:pod_security_policy_list
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,55 @@
|
|
1
|
+
module KubeDSL::DSL::Policy::V1beta1
|
2
|
+
class PodSecurityPolicySpec < ::KubeDSL::DSLObject
|
3
|
+
value_fields :allow_privilege_escalation, :default_allow_privilege_escalation, :host_ipc, :host_network, :host_pid, :privileged, :read_only_root_filesystem
|
4
|
+
array_field(:allowed_csi_driver) { KubeDSL::DSL::Policy::V1beta1::AllowedCSIDriver.new }
|
5
|
+
array_field :allowed_capability
|
6
|
+
array_field(:allowed_flex_volume) { KubeDSL::DSL::Policy::V1beta1::AllowedFlexVolume.new }
|
7
|
+
array_field(:allowed_host_path) { KubeDSL::DSL::Policy::V1beta1::AllowedHostPath.new }
|
8
|
+
array_field :allowed_proc_mount_type
|
9
|
+
array_field :allowed_unsafe_sysctls
|
10
|
+
array_field :default_add_capability
|
11
|
+
array_field :forbidden_sysctls
|
12
|
+
array_field(:host_port) { KubeDSL::DSL::Policy::V1beta1::HostPortRange.new }
|
13
|
+
array_field :required_drop_capability
|
14
|
+
array_field :volume
|
15
|
+
object_field(:fs_group) { KubeDSL::DSL::Policy::V1beta1::FSGroupStrategyOptions.new }
|
16
|
+
object_field(:run_as_group) { KubeDSL::DSL::Policy::V1beta1::RunAsGroupStrategyOptions.new }
|
17
|
+
object_field(:run_as_user) { KubeDSL::DSL::Policy::V1beta1::RunAsUserStrategyOptions.new }
|
18
|
+
object_field(:runtime_class) { KubeDSL::DSL::Policy::V1beta1::RuntimeClassStrategyOptions.new }
|
19
|
+
object_field(:se_linux) { KubeDSL::DSL::Policy::V1beta1::SELinuxStrategyOptions.new }
|
20
|
+
object_field(:supplemental_groups) { KubeDSL::DSL::Policy::V1beta1::SupplementalGroupsStrategyOptions.new }
|
21
|
+
|
22
|
+
def serialize
|
23
|
+
{}.tap do |result|
|
24
|
+
result[:allowPrivilegeEscalation] = allow_privilege_escalation
|
25
|
+
result[:defaultAllowPrivilegeEscalation] = default_allow_privilege_escalation
|
26
|
+
result[:hostIPC] = host_ipc
|
27
|
+
result[:hostNetwork] = host_network
|
28
|
+
result[:hostPID] = host_pid
|
29
|
+
result[:privileged] = privileged
|
30
|
+
result[:readOnlyRootFilesystem] = read_only_root_filesystem
|
31
|
+
result[:allowedCSIDrivers] = allowed_csi_drivers.map(&:serialize)
|
32
|
+
result[:allowedCapabilities] = allowed_capabilities
|
33
|
+
result[:allowedFlexVolumes] = allowed_flex_volumes.map(&:serialize)
|
34
|
+
result[:allowedHostPaths] = allowed_host_paths.map(&:serialize)
|
35
|
+
result[:allowedProcMountTypes] = allowed_proc_mount_types
|
36
|
+
result[:allowedUnsafeSysctls] = allowed_unsafe_sysctlses
|
37
|
+
result[:defaultAddCapabilities] = default_add_capabilities
|
38
|
+
result[:forbiddenSysctls] = forbidden_sysctlses
|
39
|
+
result[:hostPorts] = host_ports.map(&:serialize)
|
40
|
+
result[:requiredDropCapabilities] = required_drop_capabilities
|
41
|
+
result[:volumes] = volumes
|
42
|
+
result[:fsGroup] = fs_group.serialize
|
43
|
+
result[:runAsGroup] = run_as_group.serialize
|
44
|
+
result[:runAsUser] = run_as_user.serialize
|
45
|
+
result[:runtimeClass] = runtime_class.serialize
|
46
|
+
result[:seLinux] = se_linux.serialize
|
47
|
+
result[:supplementalGroups] = supplemental_groups.serialize
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
def kind_sym
|
52
|
+
:pod_security_policy_spec
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
module KubeDSL::DSL::Policy::V1beta1
|
2
|
+
class RunAsGroupStrategyOptions < ::KubeDSL::DSLObject
|
3
|
+
value_fields :rule
|
4
|
+
array_field(:range) { KubeDSL::DSL::Policy::V1beta1::IDRange.new }
|
5
|
+
|
6
|
+
def serialize
|
7
|
+
{}.tap do |result|
|
8
|
+
result[:rule] = rule
|
9
|
+
result[:ranges] = ranges.map(&:serialize)
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
def kind_sym
|
14
|
+
:run_as_group_strategy_options
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
module KubeDSL::DSL::Policy::V1beta1
|
2
|
+
class RunAsUserStrategyOptions < ::KubeDSL::DSLObject
|
3
|
+
value_fields :rule
|
4
|
+
array_field(:range) { KubeDSL::DSL::Policy::V1beta1::IDRange.new }
|
5
|
+
|
6
|
+
def serialize
|
7
|
+
{}.tap do |result|
|
8
|
+
result[:rule] = rule
|
9
|
+
result[:ranges] = ranges.map(&:serialize)
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
def kind_sym
|
14
|
+
:run_as_user_strategy_options
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
module KubeDSL::DSL::Policy::V1beta1
|
2
|
+
class RuntimeClassStrategyOptions < ::KubeDSL::DSLObject
|
3
|
+
value_fields :default_runtime_class_name
|
4
|
+
array_field :allowed_runtime_class_name
|
5
|
+
|
6
|
+
def serialize
|
7
|
+
{}.tap do |result|
|
8
|
+
result[:defaultRuntimeClassName] = default_runtime_class_name
|
9
|
+
result[:allowedRuntimeClassNames] = allowed_runtime_class_names
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
def kind_sym
|
14
|
+
:runtime_class_strategy_options
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
module KubeDSL::DSL::Policy::V1beta1
|
2
|
+
class SELinuxStrategyOptions < ::KubeDSL::DSLObject
|
3
|
+
value_fields :rule
|
4
|
+
object_field(:se_linux_options) { KubeDSL::DSL::V1::SELinuxOptions.new }
|
5
|
+
|
6
|
+
def serialize
|
7
|
+
{}.tap do |result|
|
8
|
+
result[:rule] = rule
|
9
|
+
result[:seLinuxOptions] = se_linux_options.serialize
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
def kind_sym
|
14
|
+
:se_linux_strategy_options
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
module KubeDSL::DSL::Policy::V1beta1
|
2
|
+
class SupplementalGroupsStrategyOptions < ::KubeDSL::DSLObject
|
3
|
+
value_fields :rule
|
4
|
+
array_field(:range) { KubeDSL::DSL::Policy::V1beta1::IDRange.new }
|
5
|
+
|
6
|
+
def serialize
|
7
|
+
{}.tap do |result|
|
8
|
+
result[:rule] = rule
|
9
|
+
result[:ranges] = ranges.map(&:serialize)
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
def kind_sym
|
14
|
+
:supplemental_groups_strategy_options
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
module KubeDSL::DSL::Policy::V1beta1
|
2
|
+
autoload :AllowedCSIDriver, 'kube-dsl/dsl/policy/v1beta1/allowed_csi_driver'
|
3
|
+
autoload :AllowedFlexVolume, 'kube-dsl/dsl/policy/v1beta1/allowed_flex_volume'
|
4
|
+
autoload :AllowedHostPath, 'kube-dsl/dsl/policy/v1beta1/allowed_host_path'
|
5
|
+
autoload :Eviction, 'kube-dsl/dsl/policy/v1beta1/eviction'
|
6
|
+
autoload :FSGroupStrategyOptions, 'kube-dsl/dsl/policy/v1beta1/fs_group_strategy_options'
|
7
|
+
autoload :HostPortRange, 'kube-dsl/dsl/policy/v1beta1/host_port_range'
|
8
|
+
autoload :IDRange, 'kube-dsl/dsl/policy/v1beta1/id_range'
|
9
|
+
autoload :PodDisruptionBudget, 'kube-dsl/dsl/policy/v1beta1/pod_disruption_budget'
|
10
|
+
autoload :PodDisruptionBudgetList, 'kube-dsl/dsl/policy/v1beta1/pod_disruption_budget_list'
|
11
|
+
autoload :PodDisruptionBudgetSpec, 'kube-dsl/dsl/policy/v1beta1/pod_disruption_budget_spec'
|
12
|
+
autoload :PodDisruptionBudgetStatus, 'kube-dsl/dsl/policy/v1beta1/pod_disruption_budget_status'
|
13
|
+
autoload :PodSecurityPolicy, 'kube-dsl/dsl/policy/v1beta1/pod_security_policy'
|
14
|
+
autoload :PodSecurityPolicyList, 'kube-dsl/dsl/policy/v1beta1/pod_security_policy_list'
|
15
|
+
autoload :PodSecurityPolicySpec, 'kube-dsl/dsl/policy/v1beta1/pod_security_policy_spec'
|
16
|
+
autoload :RunAsGroupStrategyOptions, 'kube-dsl/dsl/policy/v1beta1/run_as_group_strategy_options'
|
17
|
+
autoload :RunAsUserStrategyOptions, 'kube-dsl/dsl/policy/v1beta1/run_as_user_strategy_options'
|
18
|
+
autoload :RuntimeClassStrategyOptions, 'kube-dsl/dsl/policy/v1beta1/runtime_class_strategy_options'
|
19
|
+
autoload :SELinuxStrategyOptions, 'kube-dsl/dsl/policy/v1beta1/se_linux_strategy_options'
|
20
|
+
autoload :SupplementalGroupsStrategyOptions, 'kube-dsl/dsl/policy/v1beta1/supplemental_groups_strategy_options'
|
21
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
module KubeDSL::DSL::Rbac::V1
|
2
|
+
class AggregationRule < ::KubeDSL::DSLObject
|
3
|
+
array_field(:cluster_role_selector) { KubeDSL::DSL::Meta::V1::LabelSelector.new }
|
4
|
+
|
5
|
+
def serialize
|
6
|
+
{}.tap do |result|
|
7
|
+
result[:clusterRoleSelectors] = cluster_role_selectors.map(&:serialize)
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
def kind_sym
|
12
|
+
:aggregation_rule
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
module KubeDSL::DSL::Rbac::V1
|
2
|
+
class ClusterRole < ::KubeDSL::DSLObject
|
3
|
+
array_field(:rule) { KubeDSL::DSL::Rbac::V1::PolicyRule.new }
|
4
|
+
object_field(:aggregation_rule) { KubeDSL::DSL::Rbac::V1::AggregationRule.new }
|
5
|
+
object_field(:metadata) { KubeDSL::DSL::Meta::V1::ObjectMeta.new }
|
6
|
+
|
7
|
+
def serialize
|
8
|
+
{}.tap do |result|
|
9
|
+
result[:apiVersion] = "rbac.authorization.k8s.io/v1"
|
10
|
+
result[:kind] = "ClusterRole"
|
11
|
+
result[:rules] = rules.map(&:serialize)
|
12
|
+
result[:aggregationRule] = aggregation_rule.serialize
|
13
|
+
result[:metadata] = metadata.serialize
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
def kind_sym
|
18
|
+
:cluster_role
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
module KubeDSL::DSL::Rbac::V1
|
2
|
+
class ClusterRoleBinding < ::KubeDSL::DSLObject
|
3
|
+
array_field(:subject) { KubeDSL::DSL::Rbac::V1::Subject.new }
|
4
|
+
object_field(:metadata) { KubeDSL::DSL::Meta::V1::ObjectMeta.new }
|
5
|
+
object_field(:role_ref) { KubeDSL::DSL::Rbac::V1::RoleRef.new }
|
6
|
+
|
7
|
+
def serialize
|
8
|
+
{}.tap do |result|
|
9
|
+
result[:apiVersion] = "rbac.authorization.k8s.io/v1"
|
10
|
+
result[:kind] = "ClusterRoleBinding"
|
11
|
+
result[:subjects] = subjects.map(&:serialize)
|
12
|
+
result[:metadata] = metadata.serialize
|
13
|
+
result[:roleRef] = role_ref.serialize
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
def kind_sym
|
18
|
+
:cluster_role_binding
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
module KubeDSL::DSL::Rbac::V1
|
2
|
+
class ClusterRoleBindingList < ::KubeDSL::DSLObject
|
3
|
+
array_field(:item) { KubeDSL::DSL::Rbac::V1::ClusterRoleBinding.new }
|
4
|
+
object_field(:metadata) { KubeDSL::DSL::Meta::V1::ListMeta.new }
|
5
|
+
|
6
|
+
def serialize
|
7
|
+
{}.tap do |result|
|
8
|
+
result[:apiVersion] = "rbac.authorization.k8s.io/v1"
|
9
|
+
result[:kind] = "ClusterRoleBindingList"
|
10
|
+
result[:items] = items.map(&:serialize)
|
11
|
+
result[:metadata] = metadata.serialize
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
def kind_sym
|
16
|
+
:cluster_role_binding_list
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
module KubeDSL::DSL::Rbac::V1
|
2
|
+
class ClusterRoleList < ::KubeDSL::DSLObject
|
3
|
+
array_field(:item) { KubeDSL::DSL::Rbac::V1::ClusterRole.new }
|
4
|
+
object_field(:metadata) { KubeDSL::DSL::Meta::V1::ListMeta.new }
|
5
|
+
|
6
|
+
def serialize
|
7
|
+
{}.tap do |result|
|
8
|
+
result[:apiVersion] = "rbac.authorization.k8s.io/v1"
|
9
|
+
result[:kind] = "ClusterRoleList"
|
10
|
+
result[:items] = items.map(&:serialize)
|
11
|
+
result[:metadata] = metadata.serialize
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
def kind_sym
|
16
|
+
:cluster_role_list
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
module KubeDSL::DSL::Rbac::V1
|
2
|
+
class PolicyRule < ::KubeDSL::DSLObject
|
3
|
+
array_field :api_group
|
4
|
+
array_field :non_resource_url
|
5
|
+
array_field :resource_name
|
6
|
+
array_field :resource
|
7
|
+
array_field :verb
|
8
|
+
|
9
|
+
def serialize
|
10
|
+
{}.tap do |result|
|
11
|
+
result[:apiGroups] = api_groups
|
12
|
+
result[:nonResourceURLs] = non_resource_urls
|
13
|
+
result[:resourceNames] = resource_names
|
14
|
+
result[:resources] = resources
|
15
|
+
result[:verbs] = verbs
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
def kind_sym
|
20
|
+
:policy_rule
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
module KubeDSL::DSL::Rbac::V1
|
2
|
+
class Role < ::KubeDSL::DSLObject
|
3
|
+
array_field(:rule) { KubeDSL::DSL::Rbac::V1::PolicyRule.new }
|
4
|
+
object_field(:metadata) { KubeDSL::DSL::Meta::V1::ObjectMeta.new }
|
5
|
+
|
6
|
+
def serialize
|
7
|
+
{}.tap do |result|
|
8
|
+
result[:apiVersion] = "rbac.authorization.k8s.io/v1"
|
9
|
+
result[:kind] = "Role"
|
10
|
+
result[:rules] = rules.map(&:serialize)
|
11
|
+
result[:metadata] = metadata.serialize
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
def kind_sym
|
16
|
+
:role
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
module KubeDSL::DSL::Rbac::V1
|
2
|
+
class RoleBinding < ::KubeDSL::DSLObject
|
3
|
+
array_field(:subject) { KubeDSL::DSL::Rbac::V1::Subject.new }
|
4
|
+
object_field(:metadata) { KubeDSL::DSL::Meta::V1::ObjectMeta.new }
|
5
|
+
object_field(:role_ref) { KubeDSL::DSL::Rbac::V1::RoleRef.new }
|
6
|
+
|
7
|
+
def serialize
|
8
|
+
{}.tap do |result|
|
9
|
+
result[:apiVersion] = "rbac.authorization.k8s.io/v1"
|
10
|
+
result[:kind] = "RoleBinding"
|
11
|
+
result[:subjects] = subjects.map(&:serialize)
|
12
|
+
result[:metadata] = metadata.serialize
|
13
|
+
result[:roleRef] = role_ref.serialize
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
def kind_sym
|
18
|
+
:role_binding
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
module KubeDSL::DSL::Rbac::V1
|
2
|
+
class RoleBindingList < ::KubeDSL::DSLObject
|
3
|
+
array_field(:item) { KubeDSL::DSL::Rbac::V1::RoleBinding.new }
|
4
|
+
object_field(:metadata) { KubeDSL::DSL::Meta::V1::ListMeta.new }
|
5
|
+
|
6
|
+
def serialize
|
7
|
+
{}.tap do |result|
|
8
|
+
result[:apiVersion] = "rbac.authorization.k8s.io/v1"
|
9
|
+
result[:kind] = "RoleBindingList"
|
10
|
+
result[:items] = items.map(&:serialize)
|
11
|
+
result[:metadata] = metadata.serialize
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
def kind_sym
|
16
|
+
:role_binding_list
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
module KubeDSL::DSL::Rbac::V1
|
2
|
+
class RoleList < ::KubeDSL::DSLObject
|
3
|
+
array_field(:item) { KubeDSL::DSL::Rbac::V1::Role.new }
|
4
|
+
object_field(:metadata) { KubeDSL::DSL::Meta::V1::ListMeta.new }
|
5
|
+
|
6
|
+
def serialize
|
7
|
+
{}.tap do |result|
|
8
|
+
result[:apiVersion] = "rbac.authorization.k8s.io/v1"
|
9
|
+
result[:kind] = "RoleList"
|
10
|
+
result[:items] = items.map(&:serialize)
|
11
|
+
result[:metadata] = metadata.serialize
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
def kind_sym
|
16
|
+
:role_list
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
module KubeDSL::DSL::Rbac::V1
|
2
|
+
class RoleRef < ::KubeDSL::DSLObject
|
3
|
+
value_fields :api_group, :kind, :name
|
4
|
+
|
5
|
+
def serialize
|
6
|
+
{}.tap do |result|
|
7
|
+
result[:apiGroup] = api_group
|
8
|
+
result[:kind] = kind
|
9
|
+
result[:name] = name
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
def kind_sym
|
14
|
+
:role_ref
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
module KubeDSL::DSL::Rbac::V1
|
2
|
+
class Subject < ::KubeDSL::DSLObject
|
3
|
+
value_fields :api_group, :kind, :name, :namespace
|
4
|
+
|
5
|
+
def serialize
|
6
|
+
{}.tap do |result|
|
7
|
+
result[:apiGroup] = api_group
|
8
|
+
result[:kind] = kind
|
9
|
+
result[:name] = name
|
10
|
+
result[:namespace] = namespace
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
def kind_sym
|
15
|
+
:subject
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
module KubeDSL::DSL::Rbac::V1
|
2
|
+
autoload :AggregationRule, 'kube-dsl/dsl/rbac/v1/aggregation_rule'
|
3
|
+
autoload :ClusterRole, 'kube-dsl/dsl/rbac/v1/cluster_role'
|
4
|
+
autoload :ClusterRoleBinding, 'kube-dsl/dsl/rbac/v1/cluster_role_binding'
|
5
|
+
autoload :ClusterRoleBindingList, 'kube-dsl/dsl/rbac/v1/cluster_role_binding_list'
|
6
|
+
autoload :ClusterRoleList, 'kube-dsl/dsl/rbac/v1/cluster_role_list'
|
7
|
+
autoload :PolicyRule, 'kube-dsl/dsl/rbac/v1/policy_rule'
|
8
|
+
autoload :Role, 'kube-dsl/dsl/rbac/v1/role'
|
9
|
+
autoload :RoleBinding, 'kube-dsl/dsl/rbac/v1/role_binding'
|
10
|
+
autoload :RoleBindingList, 'kube-dsl/dsl/rbac/v1/role_binding_list'
|
11
|
+
autoload :RoleList, 'kube-dsl/dsl/rbac/v1/role_list'
|
12
|
+
autoload :RoleRef, 'kube-dsl/dsl/rbac/v1/role_ref'
|
13
|
+
autoload :Subject, 'kube-dsl/dsl/rbac/v1/subject'
|
14
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
module KubeDSL::DSL::Rbac::V1alpha1
|
2
|
+
class AggregationRule < ::KubeDSL::DSLObject
|
3
|
+
array_field(:cluster_role_selector) { KubeDSL::DSL::Meta::V1::LabelSelector.new }
|
4
|
+
|
5
|
+
def serialize
|
6
|
+
{}.tap do |result|
|
7
|
+
result[:clusterRoleSelectors] = cluster_role_selectors.map(&:serialize)
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
def kind_sym
|
12
|
+
:aggregation_rule
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
module KubeDSL::DSL::Rbac::V1alpha1
|
2
|
+
class ClusterRole < ::KubeDSL::DSLObject
|
3
|
+
array_field(:rule) { KubeDSL::DSL::Rbac::V1alpha1::PolicyRule.new }
|
4
|
+
object_field(:aggregation_rule) { KubeDSL::DSL::Rbac::V1alpha1::AggregationRule.new }
|
5
|
+
object_field(:metadata) { KubeDSL::DSL::Meta::V1::ObjectMeta.new }
|
6
|
+
|
7
|
+
def serialize
|
8
|
+
{}.tap do |result|
|
9
|
+
result[:apiVersion] = "rbac.authorization.k8s.io/v1alpha1"
|
10
|
+
result[:kind] = "ClusterRole"
|
11
|
+
result[:rules] = rules.map(&:serialize)
|
12
|
+
result[:aggregationRule] = aggregation_rule.serialize
|
13
|
+
result[:metadata] = metadata.serialize
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
def kind_sym
|
18
|
+
:cluster_role
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|