Skip to content

Commit 52047c1

Browse files
committed
docs: Mention clap arguments
1 parent 01a05d1 commit 52047c1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

template/deploy/helm/[[operator]]/templates/deployment.yaml.j2

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ spec:
4343
- mountPath: /etc/stackable/{{ include "operator.appname" . }}/config-spec
4444
name: config-spec
4545
env:
46+
# The following env vars are passed as clap (think CLI) arguments to the operator.
47+
# They are picked up by clap using the structs defied in
48+
# https://github.com/stackabletech/operator-rs/blob/main/crates/stackable-operator/src/cli.rs
49+
# (currently "ProductOperatorRun").
50+
# You can read there about the expected values and purposes.
4651
- name: OPERATOR_IMAGE
4752
# Tilt can use annotations as image paths, but not env variables
4853
valueFrom:

0 commit comments

Comments
 (0)