Skip to content

Commit 7a8c2ee

Browse files
chore: Update templated files (b1f99f8) (#602)
* chore: Generated commit to update templated files since the last template run up to stackabletech/operator-templating@b1f99f8 Reference-to: stackabletech/operator-templating@b1f99f8 (Templating: Add test retry script and Service on top of operator) * Update slab to fix RUSTSEC-2025-0047 * Regenerate nix lockfile --------- Co-authored-by: Sebastian Bernauer <[email protected]>
1 parent 714bd61 commit 7a8c2ee

File tree

8 files changed

+1429
-11
lines changed

8 files changed

+1429
-11
lines changed

.readme/partials/borrowed/footer.md.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ These are the operators that are currently part of the Stackable Data Platform:
3636
* [Stackable Operator for Apache Hive](https://github.com/stackabletech/hive-operator)
3737
* [Stackable Operator for Apache Kafka](https://github.com/stackabletech/kafka-operator)
3838
* [Stackable Operator for Apache NiFi](https://github.com/stackabletech/nifi-operator)
39+
* [Stackable Operator for OpenSearch](https://github.com/stackabletech/opensearch-operator)
3940
* [Stackable Operator for Apache Spark](https://github.com/stackabletech/spark-k8s-operator)
4041
* [Stackable Operator for Apache Superset](https://github.com/stackabletech/superset-operator)
4142
* [Stackable Operator for Trino](https://github.com/stackabletech/trino-operator)

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.nix

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ These are the operators that are currently part of the Stackable Data Platform:
7575
* [Stackable Operator for Apache Hive](https://github.com/stackabletech/hive-operator)
7676
* [Stackable Operator for Apache Kafka](https://github.com/stackabletech/kafka-operator)
7777
* [Stackable Operator for Apache NiFi](https://github.com/stackabletech/nifi-operator)
78+
* [Stackable Operator for OpenSearch](https://github.com/stackabletech/opensearch-operator)
7879
* [Stackable Operator for Apache Spark](https://github.com/stackabletech/spark-k8s-operator)
7980
* [Stackable Operator for Apache Superset](https://github.com/stackabletech/superset-operator)
8081
* [Stackable Operator for Trino](https://github.com/stackabletech/trino-operator)

deploy/helm/spark-k8s-operator/templates/deployment.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,18 @@ spec:
5555
fieldRef:
5656
fieldPath: metadata.annotations['internal.stackable.tech/image']
5757

58+
# Namespace the operator Pod is running in, e.g. used to construct the conversion
59+
# webhook endpoint.
60+
- name: OPERATOR_NAMESPACE
61+
valueFrom:
62+
fieldRef:
63+
fieldPath: metadata.namespace
64+
65+
# The name of the Kubernetes Service that point to the operator Pod, e.g. used to
66+
# construct the conversion webhook endpoint.
67+
- name: OPERATOR_SERVICE_NAME
68+
value: {{ include "operator.fullname" . }}
69+
5870
# Operators need to know the node name they are running on, to e.g. discover the
5971
# Kubernetes domain name from the kubelet API.
6072
- name: KUBERNETES_NODE_NAME
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
2+
---
3+
apiVersion: v1
4+
kind: Service
5+
metadata:
6+
# Note(@sbernauer): We could also call the Service something like
7+
# "product-operator-conversion-webhook". However, in the future we will have more webhooks, and
8+
# it seems like an overkill to have a dedicated Service per webhook.
9+
name: {{ include "operator.fullname" . }}
10+
labels:
11+
{{- include "operator.labels" . | nindent 4 }}
12+
spec:
13+
selector:
14+
{{- include "operator.selectorLabels" . | nindent 6 }}
15+
ports:
16+
- name: conversion-webhook
17+
protocol: TCP
18+
port: 8443
19+
targetPort: 8443

0 commit comments

Comments
 (0)