Skip to content

Commit c82645d

Browse files
committed
chore: Add sparkhistory and shs shortnames
1 parent c710303 commit c82645d

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ All notable changes to this project will be documented in this file.
1414
- Expose history and connect services via listener classes ([#562]).
1515
- Support for Spark 3.5.6 ([#580]).
1616
- Add RBAC rule to helm template for automatic cluster domain detection ([#592]).
17+
- Add `sparkhistory` and `shs` shortnames for SparkHistoryServer ([#592]).
1718

1819
### Changed
1920

deploy/helm/spark-k8s-operator/crds/crds.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1105,6 +1105,8 @@ spec:
11051105
plural: sparkhistoryservers
11061106
shortNames:
11071107
- sparkhist
1108+
- sparkhistory
1109+
- shs
11081110
singular: sparkhistoryserver
11091111
scope: Namespaced
11101112
versions:

rust/operator-binary/src/crd/history.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,13 @@ pub mod versioned {
7777
/// A Spark cluster history server component. This resource is managed by the Stackable operator
7878
/// for Apache Spark. Find more information on how to use it in the
7979
/// [operator documentation](DOCS_BASE_URL_PLACEHOLDER/spark-k8s/usage-guide/history-server).
80-
#[versioned(crd(group = "spark.stackable.tech", shortname = "sparkhist", namespaced,))]
80+
#[versioned(crd(
81+
group = "spark.stackable.tech",
82+
shortname = "sparkhist",
83+
shortname = "sparkhistory",
84+
shortname = "shs",
85+
namespaced,
86+
))]
8187
#[derive(Clone, CustomResource, Debug, Deserialize, JsonSchema, Serialize)]
8288
#[serde(rename_all = "camelCase")]
8389
pub struct SparkHistoryServerSpec {

0 commit comments

Comments
 (0)