Skip to content

Commit 47d8187

Browse files
committed
Adds missing KUBERNETES_CLUSTER_DOMAIN environment variable to docs
part of stackabletech/issues#668
1 parent 1840e7a commit 47d8187

File tree

1 file changed

+32
-2
lines changed

1 file changed

+32
-2
lines changed

docs/modules/superset/pages/reference/environment-variables.adoc

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,44 @@
22

33
This operator accepts the following environment variables:
44

5+
== KUBERNETES_CLUSTER_DOMAIN
6+
7+
*Default value*: cluster.local
8+
9+
*Required*: false
10+
11+
*Multiple values*: false
12+
13+
This instructs the operator, which value it should use for the Kubernetes `clusterDomain` setting.
14+
Make sure to keep this in sync with whatever setting your cluster uses.
15+
Please see the documentation xref:guides:kubernetes-cluster-domain.adoc[on configuring the Kubernetes cluster domain] for more information on this feature.
16+
17+
[source]
18+
----
19+
export KUBERNETES_CLUSTER_DOMAIN=mycluster.local
20+
cargo run -- run
21+
----
22+
23+
or via docker:
24+
25+
[source]
26+
----
27+
docker run \
28+
--name superset-operator \
29+
--network host \
30+
--env KUBECONFIG=/home/stackable/.kube/config \
31+
--env KUBERNETES_CLUSTER_DOMAIN=mycluster.local \
32+
--mount type=bind,source="$HOME/.kube/config",target="/home/stackable/.kube/config" \
33+
docker.stackable.tech/stackable/superset-operator:latest
34+
----
535

636
== PRODUCT_CONFIG
737

838
*Default value*: `/etc/stackable/superset-operator/config-spec/properties.yaml`
939

1040
*Required*: false
1141

12-
*Multiple values:* false
42+
*Multiple values*: false
1343

1444
[source]
1545
----
@@ -35,7 +65,7 @@ docker run \
3565

3666
*Required*: false
3767

38-
*Multiple values:* false
68+
*Multiple values*: false
3969

4070
The operator will **only** watch for resources in the provided namespace `test`:
4171

0 commit comments

Comments
 (0)