You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: resolve cluster-wide config into ValidatedClusterConfig
Mirrors trino-operator: ValidatedCluster now carries a
ValidatedClusterConfig (name, namespace, dfs_replication, https/kerberos/
authentication/authorization flags, rack awareness, OPA authorization)
resolved once during validation. The standalone hdfs_opa_config field is
folded into it.
The build steps no longer take the raw HdfsCluster:
- hdfs_site/core_site builders and build_rolegroup_config_map consume
&ValidatedClusterConfig / &ValidatedCluster.
- The lower-level HdfsSiteConfigBuilder/CoreSiteConfigBuilder and their
kerberos security_config impls take primitives (a KerberosConfig struct
and bools) to keep the config layer free of controller types.
Behavior-preserving: the flags are computed by the same HdfsCluster
predicates as before, just resolved up-front. The discovery path keeps
using the raw HdfsCluster as it does not go through validation.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments