Kubernetes operator for managing the lifecycle of Apache Spark applications on Kubernetes.
This report presents the forensic synthetic code analysis of kubeflow/spark-operator, a Python project with 3,150 GitHub stars. SynthScan v2.0 examined 188,468 lines of code across 735 source files, recording 2726 pattern matches distributed across 11 syntactic categories. The overall adjusted score of 44.2 places this repository in the Strong AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 2726 distinct pattern matches across 11 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …/crd/bases/sparkoperator.k8s.io_sparkapplications.yaml | 0 | type: string resourcefieldref: description: |- selects a resource of the container: only resources limits and requests ( | STRING |
| HIGH | …s/sparkoperator.k8s.io_scheduledsparkapplications.yaml | 0 | type: string resourcefieldref: description: |- selects a resource of the container: only resources limits and requests ( | STRING |
| HIGH | …chart/crds/sparkoperator.k8s.io_sparkapplications.yaml | 0 | type: string resourcefieldref: description: |- selects a resource of the container: only resources limits and requests ( | STRING |
| HIGH | …s/sparkoperator.k8s.io_scheduledsparkapplications.yaml | 0 | type: string resourcefieldref: description: |- selects a resource of the container: only resources limits and requests ( | STRING |
| HIGH | …k8s_api_core_v1_storage_os_persistent_volume_source.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …spark_api/models/io_k8s_api_core_v1_endpoint_subset.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …/models/io_k8s_api_core_v1_persistent_volume_status.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …_api/models/io_k8s_api_core_v1_pod_security_context.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …pi_networking_v1_ingress_class_parameters_reference.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …spark_api/models/io_k8s_api_core_v1_env_from_source.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …io_k8s_apimachinery_pkg_apis_meta_v1_internal_event.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …park_api/models/io_k8s_api_core_v1_secret_reference.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …io_k8s_api_core_v1_replication_controller_condition.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …/models/io_k8s_api_networking_v1_ingress_class_spec.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …hinery_pkg_apis_meta_v1_group_version_for_discovery.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …_spark_api/models/io_k8s_api_core_v1_node_condition.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …nery_pkg_apis_meta_v1_server_address_by_client_cidr.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …ark_api/models/io_k8s_api_core_v1_csi_volume_source.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …o_k8s_api_networking_v1_network_policy_ingress_rule.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …pimachinery_pkg_apis_meta_v1_group_version_resource.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …imachinery_pkg_apis_meta_v1_table_column_definition.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …dels/io_k8s_apimachinery_pkg_apis_meta_v1_api_group.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …ow_spark_api/models/io_k8s_api_core_v1_event_series.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …spark_api/models/io_k8s_api_core_v1_config_map_list.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …low_spark_api/models/io_k8s_api_core_v1_http_header.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …ls/io_k8s_api_core_v1_node_runtime_handler_features.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …/models/io_k8s_api_core_v1_persistent_volume_source.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …ls/io_k8s_apimachinery_pkg_apis_meta_v1_get_options.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …k_api/models/io_k8s_api_core_v1_resource_quota_spec.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …odels/io_k8s_api_core_v1_downward_api_volume_source.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …/io_k8s_apimachinery_pkg_apis_meta_v1_table_options.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …io_k8s_api_core_v1_persistent_volume_claim_template.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …dels/io_k8s_apimachinery_pkg_apis_meta_v1_timestamp.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …_spark_api/models/io_k8s_api_core_v1_pod_dns_config.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …rk_api/models/io_k8s_api_core_v1_node_proxy_options.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …api/models/io_k8s_api_networking_v1_ingress_backend.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …io_k8s_apimachinery_pkg_apis_meta_v1_update_options.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …/models/io_k8s_apimachinery_pkg_apis_meta_v1_status.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …models/io_k8s_api_networking_v1_network_policy_list.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …s_api_core_v1_aws_elastic_block_store_volume_source.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …ark_api/models/io_k8s_api_core_v1_pod_template_list.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …ow_spark_api/models/io_k8s_api_core_v1_capabilities.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …i/models/io_k8s_api_core_v1_session_affinity_config.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …ark_api/models/spark_v1beta2_spark_application_spec.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …odels/io_k8s_api_core_v1_topology_spread_constraint.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …io_k8s_apimachinery_pkg_apis_meta_v1_create_options.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …io_k8s_api_core_v1_service_account_token_projection.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …ls/io_k8s_apimachinery_pkg_apis_meta_v1_watch_event.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …park_api/models/io_k8s_api_core_v1_limit_range_list.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …io_k8s_apimachinery_pkg_apis_meta_v1_delete_options.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …w_spark_api/models/io_k8s_api_core_v1_pod_condition.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …_api/models/io_k8s_apimachinery_pkg_runtime_unknown.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …dels/io_k8s_api_core_v1_replication_controller_spec.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …_spark_api/models/io_k8s_api_core_v1_namespace_spec.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …pi/models/io_k8s_apimachinery_pkg_runtime_type_meta.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …k8s_api_core_v1_topology_selector_label_requirement.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …i/models/io_k8s_api_core_v1_container_resize_policy.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …api/models/io_k8s_api_core_v1_ceph_fs_volume_source.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …i/models/io_k8s_api_core_v1_downward_api_projection.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| HIGH | …els/io_k8s_api_core_v1_typed_local_object_reference.py | 0 | kubeflow spark operator openapi spec no description provided (generated by openapi generator https://github.com/openapit | STRING |
| 1367 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …k8s_api_core_v1_storage_os_persistent_volume_source.py | 15 | CODE | |
| LOW | …k8s_api_core_v1_storage_os_persistent_volume_source.py | 17 | CODE | |
| LOW | …spark_api/models/io_k8s_api_core_v1_endpoint_subset.py | 15 | CODE | |
| LOW | …spark_api/models/io_k8s_api_core_v1_endpoint_subset.py | 17 | CODE | |
| LOW | …/models/io_k8s_api_core_v1_persistent_volume_status.py | 15 | CODE | |
| LOW | …/models/io_k8s_api_core_v1_persistent_volume_status.py | 17 | CODE | |
| LOW | …_api/models/io_k8s_api_core_v1_pod_security_context.py | 15 | CODE | |
| LOW | …_api/models/io_k8s_api_core_v1_pod_security_context.py | 17 | CODE | |
| LOW | …pi_networking_v1_ingress_class_parameters_reference.py | 15 | CODE | |
| LOW | …pi_networking_v1_ingress_class_parameters_reference.py | 17 | CODE | |
| LOW | …spark_api/models/io_k8s_api_core_v1_env_from_source.py | 15 | CODE | |
| LOW | …spark_api/models/io_k8s_api_core_v1_env_from_source.py | 17 | CODE | |
| LOW | …io_k8s_apimachinery_pkg_apis_meta_v1_internal_event.py | 15 | CODE | |
| LOW | …io_k8s_apimachinery_pkg_apis_meta_v1_internal_event.py | 17 | CODE | |
| LOW | …park_api/models/io_k8s_api_core_v1_secret_reference.py | 15 | CODE | |
| LOW | …park_api/models/io_k8s_api_core_v1_secret_reference.py | 17 | CODE | |
| LOW | …io_k8s_api_core_v1_replication_controller_condition.py | 15 | CODE | |
| LOW | …io_k8s_api_core_v1_replication_controller_condition.py | 17 | CODE | |
| LOW | …/models/io_k8s_api_networking_v1_ingress_class_spec.py | 15 | CODE | |
| LOW | …/models/io_k8s_api_networking_v1_ingress_class_spec.py | 17 | CODE | |
| LOW | …hinery_pkg_apis_meta_v1_group_version_for_discovery.py | 15 | CODE | |
| LOW | …hinery_pkg_apis_meta_v1_group_version_for_discovery.py | 17 | CODE | |
| LOW | …_spark_api/models/io_k8s_api_core_v1_node_condition.py | 15 | CODE | |
| LOW | …_spark_api/models/io_k8s_api_core_v1_node_condition.py | 17 | CODE | |
| LOW | …nery_pkg_apis_meta_v1_server_address_by_client_cidr.py | 15 | CODE | |
| LOW | …nery_pkg_apis_meta_v1_server_address_by_client_cidr.py | 17 | CODE | |
| LOW | …ark_api/models/io_k8s_api_core_v1_csi_volume_source.py | 15 | CODE | |
| LOW | …ark_api/models/io_k8s_api_core_v1_csi_volume_source.py | 17 | CODE | |
| LOW | …o_k8s_api_networking_v1_network_policy_ingress_rule.py | 15 | CODE | |
| LOW | …o_k8s_api_networking_v1_network_policy_ingress_rule.py | 17 | CODE | |
| LOW | …pimachinery_pkg_apis_meta_v1_group_version_resource.py | 15 | CODE | |
| LOW | …pimachinery_pkg_apis_meta_v1_group_version_resource.py | 17 | CODE | |
| LOW | …imachinery_pkg_apis_meta_v1_table_column_definition.py | 15 | CODE | |
| LOW | …imachinery_pkg_apis_meta_v1_table_column_definition.py | 17 | CODE | |
| LOW | …dels/io_k8s_apimachinery_pkg_apis_meta_v1_api_group.py | 15 | CODE | |
| LOW | …dels/io_k8s_apimachinery_pkg_apis_meta_v1_api_group.py | 17 | CODE | |
| LOW | …ow_spark_api/models/io_k8s_api_core_v1_event_series.py | 15 | CODE | |
| LOW | …ow_spark_api/models/io_k8s_api_core_v1_event_series.py | 17 | CODE | |
| LOW | …spark_api/models/io_k8s_api_core_v1_config_map_list.py | 15 | CODE | |
| LOW | …spark_api/models/io_k8s_api_core_v1_config_map_list.py | 17 | CODE | |
| LOW | …low_spark_api/models/io_k8s_api_core_v1_http_header.py | 15 | CODE | |
| LOW | …low_spark_api/models/io_k8s_api_core_v1_http_header.py | 17 | CODE | |
| LOW | …ls/io_k8s_api_core_v1_node_runtime_handler_features.py | 15 | CODE | |
| LOW | …ls/io_k8s_api_core_v1_node_runtime_handler_features.py | 17 | CODE | |
| LOW | …/models/io_k8s_api_core_v1_persistent_volume_source.py | 15 | CODE | |
| LOW | …/models/io_k8s_api_core_v1_persistent_volume_source.py | 17 | CODE | |
| LOW | …ls/io_k8s_apimachinery_pkg_apis_meta_v1_get_options.py | 15 | CODE | |
| LOW | …ls/io_k8s_apimachinery_pkg_apis_meta_v1_get_options.py | 17 | CODE | |
| LOW | …k_api/models/io_k8s_api_core_v1_resource_quota_spec.py | 15 | CODE | |
| LOW | …k_api/models/io_k8s_api_core_v1_resource_quota_spec.py | 17 | CODE | |
| LOW | …odels/io_k8s_api_core_v1_downward_api_volume_source.py | 15 | CODE | |
| LOW | …odels/io_k8s_api_core_v1_downward_api_volume_source.py | 17 | CODE | |
| LOW | …/io_k8s_apimachinery_pkg_apis_meta_v1_table_options.py | 15 | CODE | |
| LOW | …/io_k8s_apimachinery_pkg_apis_meta_v1_table_options.py | 17 | CODE | |
| LOW | …io_k8s_api_core_v1_persistent_volume_claim_template.py | 15 | CODE | |
| LOW | …io_k8s_api_core_v1_persistent_volume_claim_template.py | 17 | CODE | |
| LOW | …dels/io_k8s_apimachinery_pkg_apis_meta_v1_timestamp.py | 15 | CODE | |
| LOW | …dels/io_k8s_apimachinery_pkg_apis_meta_v1_timestamp.py | 17 | CODE | |
| LOW | …_spark_api/models/io_k8s_api_core_v1_pod_dns_config.py | 15 | CODE | |
| LOW | …_spark_api/models/io_k8s_api_core_v1_pod_dns_config.py | 17 | CODE | |
| 1011 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cmd/operator/webhook/start.go | 221 | CertDir: webhookCertDir, | COMMENT |
| LOW | test/drift/drift-check-values.yaml | 1 | # | COMMENT |
| LOW | test/e2e/bad_examples/fail-submission.yaml | 1 | # | COMMENT |
| LOW | test/e2e/bad_examples/fail-application.yaml | 1 | # | COMMENT |
| LOW | config/spark-rbac/kustomization.yaml | 1 | # Spark Application RBAC | COMMENT |
| LOW | config/spark-rbac/spark-application-rbac.yaml | 1 | # | COMMENT |
| LOW | internal/webhook/sparkpod_defaulter_test.go | 641 | } | COMMENT |
| LOW | internal/webhook/sparkpod_defaulter_test.go | 661 | // }, | COMMENT |
| LOW | internal/webhook/sparkpod_defaulter_test.go | 681 | // }, | COMMENT |
| LOW | internal/controller/doc.go | 21 | // | COMMENT |
| LOW | internal/controller/sparkapplication/rest_submission.go | 21 | // # Contract | COMMENT |
| LOW | internal/controller/sparkapplication/rest_submission.go | 41 | // | COMMENT |
| LOW | internal/controller/sparkapplication/rest_submission.go | 61 | // { | COMMENT |
| LOW | internal/controller/sparkapplication/rest_submission.go | 81 | // Neither asserts the driver was scheduled, started, or succeeded. | COMMENT |
| LOW | internal/controller/sparkapplication/controller.go | 121 | registry: registry, | COMMENT |
| LOW | internal/controller/sparkapplication/controller.go | 141 | // TODO(user): Modify the Reconcile function to compare the state specified by | COMMENT |
| LOW | internal/controller/sparkapplication/controller.go | 161 | // | | +----> Failed +----+------------------------------------------------------------------+ | | COMMENT |
| LOW | internal/controller/sparkapplication/controller.go | 181 | // | |Invalidating| | <-------+ | | | | | COMMENT |
| LOW | internal/controller/sparkapplication/submission_test.go | 701 | assert.False(t, hasExecutorTemplate, "should not include executor pod template conf") | COMMENT |
| LOW | internal/controller/sparkapplication/submission_test.go | 721 | // "github.com/kubeflow/spark-operator/v2/pkg/util" | COMMENT |
| LOW | internal/controller/sparkapplication/submission_test.go | 741 | // }, | COMMENT |
| LOW | internal/controller/sparkapplication/submission_test.go | 761 | // SparkPodSpec: v1beta2.SparkPodSpec{ | COMMENT |
| LOW | internal/controller/sparkapplication/submission_test.go | 781 | // volumes := []corev1.Volume{ | COMMENT |
| LOW | internal/controller/sparkapplication/submission_test.go | 801 | // Name: "spark-test", | COMMENT |
| LOW | internal/controller/sparkapplication/submission_test.go | 821 | // assert.Equal(t, 2, len(localDirOptions)) | COMMENT |
| LOW | internal/controller/sparkapplication/submission_test.go | 841 | // }, | COMMENT |
| LOW | internal/controller/sparkapplication/submission_test.go | 861 | // }, | COMMENT |
| LOW | internal/controller/sparkapplication/submission_test.go | 881 | // assert.Equal(t, fmt.Sprintf(VolumeMountOptionPathTemplate, "driver", "hostPath", volumes[0].Name, "path", volumes[0] | COMMENT |
| LOW | internal/controller/sparkapplication/submission_test.go | 901 | // }, | COMMENT |
| LOW | internal/controller/sparkapplication/submission_test.go | 921 | // Volumes: volumes, | COMMENT |
| LOW | internal/controller/sparkapplication/submission_test.go | 941 | // assert.Equal(t, fmt.Sprintf(VolumeMountOptionPathTemplate, "driver", "hostPath", volumes[1].Name, "path", volumes[1] | COMMENT |
| LOW | internal/controller/sparkapplication/submission_test.go | 961 | // } | COMMENT |
| LOW | internal/controller/sparkapplication/submission_test.go | 981 | // } | COMMENT |
| LOW | internal/controller/sparkapplication/submission_test.go | 1001 | // Name: "test-volume", | COMMENT |
| LOW | internal/controller/sparkapplication/submission_test.go | 1021 | // app := &v1beta2.SparkApplication{ | COMMENT |
| LOW | internal/controller/sparkapplication/submission_test.go | 1041 | // localDirOptions, err := addLocalDirConfOptions(app) | COMMENT |
| LOW | internal/controller/sparkapplication/submission_test.go | 1061 | // VolumeSource: corev1.VolumeSource{ | COMMENT |
| LOW | internal/controller/sparkapplication/submission_test.go | 1081 | // Spec: v1beta2.SparkApplicationSpec{ | COMMENT |
| LOW | internal/controller/sparkapplication/submission_test.go | 1101 | // assert.Equal(t, 0, len(app.Spec.Volumes)) | COMMENT |
| LOW | internal/controller/sparkapplication/submission_test.go | 1121 | // ) | COMMENT |
| LOW | internal/controller/sparkapplication/submission_test.go | 1141 | // }, | COMMENT |
| LOW | internal/controller/sparkapplication/submission_test.go | 1161 | // if !reflect.DeepEqual(expectedDriverLabels, driverOptions) { | COMMENT |
| LOW | internal/controller/sparkapplication/submission_test.go | 1181 | // t.Errorf("Executor labels: wanted %+q got %+q", expectedExecutorLabels, executorOptions) | COMMENT |
| LOW | internal/controller/sparkapplication/submission_test.go | 1201 | // Labels: map[string]string{AppLabelKey: AppLabelValue}, | COMMENT |
| LOW | internal/controller/sparkapplication/submission_test.go | 1221 | // } | COMMENT |
| LOW | internal/controller/sparkapplication/submission_test.go | 1241 | // sort.Strings(executorOptions) | COMMENT |
| LOW | internal/controller/sparkapplication/submission_test.go | 1261 | // UID: "spark-test-1", | COMMENT |
| LOW | internal/controller/sparkapplication/submission_test.go | 1281 | // }, | COMMENT |
| LOW | internal/controller/sparkapplication/submission_test.go | 1301 | // t.Fatal(err) | COMMENT |
| LOW | internal/controller/sparkapplication/submission_test.go | 1321 | // if err != nil { | COMMENT |
| LOW | internal/controller/sparkapplication/submission_test.go | 1341 | // } | COMMENT |
| LOW | internal/controller/sparkapplication/submission_test.go | 1361 | // want: "k8s://https://[::1]:6443", | COMMENT |
| LOW | internal/controller/sparkapplication/submission_test.go | 1381 | // } | COMMENT |
| LOW | internal/controller/sparkapplication/event_filter.go | 261 | if err != nil { | COMMENT |
| LOW | internal/controller/sparkapplication/driver_pdb.go | 61 | } | COMMENT |
| LOW | …nal/controller/scheduledsparkapplication/controller.go | 101 | clock: clock, | COMMENT |
| LOW | charts/spark-operator-chart/Chart.yaml | 1 | # | COMMENT |
| LOW | charts/spark-operator-chart/values.yaml | 1 | # | COMMENT |
| LOW | charts/spark-operator-chart/values.yaml | 121 | logEncoder: console | COMMENT |
| LOW | charts/spark-operator-chart/values.yaml | 141 | COMMENT | |
| 98 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | cmd/operator/webhook/start.go | 59 | // +kubebuilder:scaffold:imports | COMMENT |
| MEDIUM | cmd/operator/webhook/start.go | 236 | // In the default scaffold provided, the program ends immediately after | COMMENT |
| MEDIUM | cmd/operator/webhook/start.go | 342 | // +kubebuilder:scaffold:builder | COMMENT |
| MEDIUM | cmd/operator/controller/start.go | 76 | // +kubebuilder:scaffold:imports | COMMENT |
| MEDIUM | cmd/operator/controller/start.go | 378 | // In the default scaffold provided, the program ends immediately after | COMMENT |
| MEDIUM | cmd/operator/controller/start.go | 464 | // +kubebuilder:scaffold:builder | COMMENT |
| MEDIUM | test/e2e/suite_test.go | 57 | // +kubebuilder:scaffold:imports | COMMENT |
| MEDIUM | test/e2e/suite_test.go | 133 | // +kubebuilder:scaffold:scheme | COMMENT |
| MEDIUM⚡ | config/crd/kustomization.yaml | 8 | # +kubebuilder:scaffold:crdkustomizeresource | COMMENT |
| MEDIUM⚡ | config/crd/kustomization.yaml | 16 | # +kubebuilder:scaffold:crdkustomizewebhookpatch | COMMENT |
| MEDIUM⚡ | config/crd/kustomization.yaml | 23 | # +kubebuilder:scaffold:crdkustomizecainjectionpatch | COMMENT |
| MEDIUM | config/samples/kustomization.yaml | 5 | # +kubebuilder:scaffold:manifestskustomizesamples | COMMENT |
| MEDIUM | internal/webhook/suite_test.go | 41 | // +kubebuilder:scaffold:imports | COMMENT |
| MEDIUM | internal/webhook/suite_test.go | 86 | // +kubebuilder:scaffold:scheme | COMMENT |
| MEDIUM | internal/webhook/suite_test.go | 106 | // +kubebuilder:scaffold:webhook | COMMENT |
| MEDIUM | internal/controller/sparkconnect/suite_test.go | 36 | // +kubebuilder:scaffold:imports | COMMENT |
| MEDIUM | internal/controller/sparkconnect/suite_test.go | 77 | // +kubebuilder:scaffold:scheme | COMMENT |
| MEDIUM | internal/controller/sparkapplication/suite_test.go | 37 | // +kubebuilder:scaffold:imports | COMMENT |
| MEDIUM | internal/controller/sparkapplication/suite_test.go | 82 | // +kubebuilder:scaffold:scheme | COMMENT |
| MEDIUM | …nal/controller/scheduledsparkapplication/suite_test.go | 36 | // +kubebuilder:scaffold:imports | COMMENT |
| MEDIUM | …nal/controller/scheduledsparkapplication/suite_test.go | 78 | // +kubebuilder:scaffold:scheme | COMMENT |
| MEDIUM | pkg/scheme/scheme.go | 40 | // +kubebuilder:scaffold:scheme | COMMENT |
| MEDIUM | pkg/scheme/scheme.go | 46 | // +kubebuilder:scaffold:scheme | COMMENT |
| MEDIUM | pkg/certificate/suite_test.go | 36 | // +kubebuilder:scaffold:imports | COMMENT |
| MEDIUM | pkg/certificate/suite_test.go | 78 | // +kubebuilder:scaffold:scheme | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …_api/models/io_k8s_api_core_v1_pod_security_context.py | 50 | def fs_group_change_policy_validate_enum(cls, value): | CODE |
| LOW | …_api/models/io_k8s_api_core_v1_pod_security_context.py | 60 | def supplemental_groups_policy_validate_enum(cls, value): | CODE |
| LOW⚡ | …odels/io_k8s_api_core_v1_topology_spread_constraint.py | 41 | def node_affinity_policy_validate_enum(cls, value): | CODE |
| LOW⚡ | …odels/io_k8s_api_core_v1_topology_spread_constraint.py | 51 | def node_taints_policy_validate_enum(cls, value): | CODE |
| LOW⚡ | …odels/io_k8s_api_core_v1_topology_spread_constraint.py | 61 | def when_unsatisfiable_validate_enum(cls, value): | CODE |
| LOW | …park_api/models/io_k8s_api_core_v1_container_status.py | 53 | def stop_signal_validate_enum(cls, value): | CODE |
| LOW | …els/io_k8s_api_core_v1_persistent_volume_claim_spec.py | 45 | def access_modes_validate_enum(cls, value): | CODE |
| LOW | …els/io_k8s_api_core_v1_persistent_volume_claim_spec.py | 56 | def volume_mode_validate_enum(cls, value): | CODE |
| LOW | …/models/io_k8s_api_core_v1_azure_disk_volume_source.py | 38 | def caching_mode_validate_enum(cls, value): | CODE |
| LOW | …models/io_k8s_api_networking_v1_network_policy_spec.py | 39 | def policy_types_validate_enum(cls, value): | CODE |
| LOW | …odels/io_k8s_api_core_v1_ephemeral_container_common.py | 68 | def image_pull_policy_validate_enum(cls, value): | CODE |
| LOW | …odels/io_k8s_api_core_v1_ephemeral_container_common.py | 78 | def termination_message_policy_validate_enum(cls, value): | CODE |
| LOW | …s/io_k8s_apimachinery_pkg_util_intstr_int_or_string.py | 54 | def actual_instance_must_validate_oneof(cls, v): | CODE |
| LOW | …odels/io_k8s_apimachinery_pkg_api_resource_quantity.py | 54 | def actual_instance_must_validate_oneof(cls, v): | CODE |
| LOW | …beflow_spark_api/models/io_k8s_api_core_v1_pod_spec.py | 101 | def preemption_policy_validate_enum(cls, value): | CODE |
| LOW | …beflow_spark_api/models/io_k8s_api_core_v1_pod_spec.py | 111 | def restart_policy_validate_enum(cls, value): | CODE |
| LOW | …s/io_k8s_api_core_v1_persistent_volume_claim_status.py | 43 | def access_modes_validate_enum(cls, value): | CODE |
| LOW | …s/io_k8s_api_core_v1_persistent_volume_claim_status.py | 54 | def allocated_resource_statuses_validate_enum(cls, value): | CODE |
| LOW | …pi/models/io_k8s_api_core_v1_persistent_volume_spec.py | 88 | def access_modes_validate_enum(cls, value): | CODE |
| LOW | …pi/models/io_k8s_api_core_v1_persistent_volume_spec.py | 99 | def persistent_volume_reclaim_policy_validate_enum(cls, value): | CODE |
| LOW | …pi/models/io_k8s_api_core_v1_persistent_volume_spec.py | 109 | def volume_mode_validate_enum(cls, value): | CODE |
| LOW | …eflow_spark_api/models/io_k8s_api_core_v1_lifecycle.py | 36 | def stop_signal_validate_enum(cls, value): | CODE |
| LOW | …ark_api/models/spark_v1beta2_spark_ui_configuration.py | 40 | def service_type_validate_enum(cls, value): | CODE |
| LOW | …ow_spark_api/models/io_k8s_api_core_v1_volume_mount.py | 39 | def mount_propagation_validate_enum(cls, value): | CODE |
| LOW | …eflow_spark_api/models/io_k8s_api_core_v1_container.py | 68 | def image_pull_policy_validate_enum(cls, value): | CODE |
| LOW | …eflow_spark_api/models/io_k8s_api_core_v1_container.py | 78 | def termination_message_policy_validate_enum(cls, value): | CODE |
| LOW | …i/models/spark_v1beta2_driver_ingress_configuration.py | 41 | def service_type_validate_enum(cls, value): | CODE |
| LOW | …k_api/models/io_k8s_api_core_v1_image_volume_source.py | 34 | def pull_policy_validate_enum(cls, value): | CODE |
| LOW⚡ | …ow_spark_api/models/io_k8s_api_core_v1_service_spec.py | 54 | def external_traffic_policy_validate_enum(cls, value): | CODE |
| LOW⚡ | …ow_spark_api/models/io_k8s_api_core_v1_service_spec.py | 64 | def internal_traffic_policy_validate_enum(cls, value): | CODE |
| LOW⚡ | …ow_spark_api/models/io_k8s_api_core_v1_service_spec.py | 74 | def ip_families_validate_enum(cls, value): | CODE |
| LOW | …ow_spark_api/models/io_k8s_api_core_v1_service_spec.py | 85 | def ip_family_policy_validate_enum(cls, value): | CODE |
| LOW | …ow_spark_api/models/io_k8s_api_core_v1_service_spec.py | 95 | def session_affinity_validate_enum(cls, value): | CODE |
| LOW | …k_api/models/io_k8s_api_core_v1_ephemeral_container.py | 69 | def image_pull_policy_validate_enum(cls, value): | CODE |
| LOW | …k_api/models/io_k8s_api_core_v1_ephemeral_container.py | 79 | def termination_message_policy_validate_enum(cls, value): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | config/crd/kustomizeconfig.yaml | 1 | # This file is for teaching kustomize how to substitute name and namespace reference in CRD | COMMENT |
| MEDIUM | charts/spark-operator-chart/values.yaml | 229 | # Create a tmp directory to write Spark artifacts to for deployed Spark apps. | COMMENT |
| MEDIUM | charts/spark-operator-chart/values.yaml | 442 | # Create a dir for the webhook to generate its certificates in. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | docs/website/contributor-guide/index.md | 151 | If you have updated the API definition, then you also need to update the auto-generated code. To update the auto-generat | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …ark_api/models/io_k8s_api_core_v1_pod_affinity_term.py | 30 | label_selector: Optional[IoK8sApimachineryPkgApisMetaV1LabelSelector] = Field(default=None, description="A label que | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | config/overlays/driver-pdb/kustomization.yaml | 3 | # Usage: | COMMENT |
| LOW | config/default/kustomization.yaml | 3 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/website/user-guide/notebooks-spark-operator.md | 36 | ## Step 1: Deploy Enterprise Gateway | COMMENT |
| LOW | docs/website/user-guide/notebooks-spark-operator.md | 83 | ## Step 2: Configure the Notebook to connect to the Jupyter Gateway | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | hack/generate-changelog.py | 20 | except Exception: | CODE |