diff --git a/kubespawner/objects.py b/kubespawner/objects.py
index c75e80c..16509e4 100644
--- a/kubespawner/objects.py
+++ b/kubespawner/objects.py
@@ -97,7 +97,7 @@ def make_pod_spec(
                 {
                     'name': 'notebook',
                     'image': image_spec,
-                    'command': cmd,
+                    'args': cmd,
                     'imagePullPolicy': image_pull_policy,
                     'ports': [{
                         'containerPort': port,

Specify container command
Is it possible to specify the container command via config? To use the docker stacks, command must be set to `/usr/local/bin/singleuser.sh`, but I can't see how to do it here. In DockerSpawner, it's passed to `docker.create`
diff --git a/tests/test_objects.py b/tests/test_objects.py
index 11f2a55..a32a72b 100644
--- a/tests/test_objects.py
+++ b/tests/test_objects.py
@@ -39,7 +39,7 @@ def test_make_simplest_pod():
                     "name": "notebook",
                     "image": "jupyter/singleuser:latest",
                     "imagePullPolicy": "IfNotPresent",
-                    "command": ["jupyterhub-singleuser"],
+                    "args": ["jupyterhub-singleuser"],
                     "ports": [{
                         "containerPort": 8888
                     }],
@@ -97,7 +97,7 @@ def test_make_labeled_pod():
                     "name": "notebook",
                     "image": "jupyter/singleuser:latest",
                     "imagePullPolicy": "IfNotPresent",
-                    "command": ["jupyterhub-singleuser"],
+                    "args": ["jupyterhub-singleuser"],
                     "ports": [{
                         "containerPort": 8888
                     }],
@@ -157,7 +157,7 @@ def test_make_pod_with_image_pull_secrets():
                     "name": "notebook",
                     "image": "jupyter/singleuser:latest",
                     "imagePullPolicy": "IfNotPresent",
-                    "command": ["jupyterhub-singleuser"],
+                    "args": ["jupyterhub-singleuser"],
                     "ports": [{
                         "containerPort": 8888
                     }],
@@ -219,7 +219,7 @@ def test_set_pod_uid_fs_gid():
                     "name": "notebook",
                     "image": "jupyter/singleuser:latest",
                     "imagePullPolicy": "IfNotPresent",
-                    "command": ["jupyterhub-singleuser"],
+                    "args": ["jupyterhub-singleuser"],
                     "ports": [{
                         "containerPort": 8888
                     }],
@@ -278,7 +278,7 @@ def test_make_pod_resources_all():
                     "name": "notebook",
                     "image": "jupyter/singleuser:latest",
                     "imagePullPolicy": "IfNotPresent",
-                    "command": ["jupyterhub-singleuser"],
+                    "args": ["jupyterhub-singleuser"],
                     "ports": [{
                         "containerPort": 8888
                     }],
@@ -339,7 +339,7 @@ def test_make_pod_with_env():
                     "name": "notebook",
                     "image": "jupyter/singleuser:latest",
                     "imagePullPolicy": "IfNotPresent",
-                    "command": ["jupyterhub-singleuser"],
+                    "args": ["jupyterhub-singleuser"],
                     "ports": [{
                         "containerPort": 8888
                     }],

pip install -e .
parse_log_pytest
jupyterhub pyyaml pycurl
pytest
apt-get update apt-get install -y python3-dev libcurl4-openssl-dev libssl-dev
3.9
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
alembic @ file:///croot/alembic_1729532425530/work
annotated-types @ file:///croot/annotated-types_1709542908624/work
arrow==1.3.0
async-generator @ file:///home/ktietz/src/ci/async_generator_1611927993394/work
attrs @ file:///croot/attrs_1734533101012/work
blinker @ file:///croot/blinker_1737448726027/work
Brotli @ file:///croot/brotli-split_1736182456865/work
certifi @ file:///croot/certifi_1738623731865/work/certifi
certipy @ file:///Users/ktietz/demo/mc3/conda-bld/certipy_1630675329981/work
cffi @ file:///croot/cffi_1736182485317/work
charset-normalizer @ file:///croot/charset-normalizer_1721748349566/work
cryptography @ file:///croot/cryptography_1740577825284/work
exceptiongroup==1.2.2
fqdn==1.5.1
greenlet @ file:///croot/greenlet_1733860072744/work
idna @ file:///croot/idna_1714398848350/work
importlib_metadata @ file:///croot/importlib_metadata-suite_1732633488278/work
iniconfig==2.1.0
isoduration==20.11.0
Jinja2 @ file:///croot/jinja2_1741710844255/work
jsonpointer==3.0.0
jsonschema @ file:///croot/jsonschema_1728486696720/work
jsonschema-specifications @ file:///croot/jsonschema-specifications_1699032386549/work
jupyter-events @ file:///croot/jupyter_events_1741184577592/work
jupyterhub @ file:///croot/jupyterhub-split_1737582872553/work
-e git+https://github.com/jupyterhub/kubespawner.git@477b322b3bebd6d668185912c633eac2c1fee5dd#egg=jupyterhub_kubespawner
Mako @ file:///croot/mako_1665472421453/work
MarkupSafe @ file:///croot/markupsafe_1738584038848/work
oauthlib @ file:///croot/oauthlib_1679489621486/work
packaging @ file:///croot/packaging_1734472117206/work
pamela @ file:///croot/pamela_1737578271136/work
pluggy==1.5.0
prometheus_client @ file:///croot/prometheus_client_1731953121795/work
pycparser @ file:///tmp/build/80754af9/pycparser_1636541352034/work
pycurl @ file:///croot/pycurl_1737065866108/work
pydantic @ file:///croot/pydantic_1734736067156/work
pydantic_core @ file:///croot/pydantic-core_1734726052986/work
PyJWT @ file:///croot/pyjwt_1736178889029/work
pyOpenSSL @ file:///croot/pyopenssl_1741343803032/work
PySocks @ file:///tmp/build/80754af9/pysocks_1605305812635/work
pytest==8.3.5
python-dateutil @ file:///croot/python-dateutil_1716495738603/work
python-json-logger @ file:///croot/python-json-logger_1734370021104/work
PyYAML @ file:///croot/pyyaml_1728657952215/work
referencing @ file:///croot/referencing_1699012038513/work
requests @ file:///croot/requests_1730999120400/work
rfc3339-validator @ file:///croot/rfc3339-validator_1683077044675/work
rfc3986-validator @ file:///croot/rfc3986-validator_1683058983515/work
rpds-py @ file:///croot/rpds-py_1736541261634/work
six @ file:///tmp/build/80754af9/six_1644875935023/work
SQLAlchemy @ file:///croot/sqlalchemy_1736565039440/work
tomli==2.2.1
tornado @ file:///croot/tornado_1733960490606/work
traitlets @ file:///croot/traitlets_1718227057033/work
types-python-dateutil==2.9.0.20241206
typing_extensions @ file:///croot/typing_extensions_1734714854207/work
uri-template==1.3.0
urllib3 @ file:///croot/urllib3_1737133630106/work
webcolors==24.11.1
zipp @ file:///croot/zipp_1732630741423/work

name: kubespawner
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - alembic=1.13.3=py39h06a4308_0
  - annotated-types=0.6.0=py39h06a4308_0
  - async_generator=1.10=pyhd3eb1b0_0
  - attrs=24.3.0=py39h06a4308_0
  - blinker=1.9.0=py39h06a4308_0
  - brotli-python=1.0.9=py39h6a678d5_9
  - c-ares=1.19.1=h5eee18b_0
  - ca-certificates=2025.2.25=h06a4308_0
  - certifi=2025.1.31=py39h06a4308_0
  - certipy=0.1.3=pyhd3eb1b0_0
  - cffi=1.17.1=py39h1fdaa30_1
  - charset-normalizer=3.3.2=pyhd3eb1b0_0
  - configurable-http-proxy=4.6.0=h06a4308_0
  - cryptography=44.0.1=py39h7825ff9_0
  - greenlet=3.1.1=py39h6a678d5_0
  - icu=73.1=h6a678d5_0
  - idna=3.7=py39h06a4308_0
  - importlib-metadata=8.5.0=py39h06a4308_0
  - importlib_metadata=8.5.0=hd3eb1b0_0
  - jinja2=3.1.6=py39h06a4308_0
  - jsonschema=4.23.0=py39h06a4308_0
  - jsonschema-specifications=2023.7.1=py39h06a4308_0
  - jupyter_events=0.12.0=py39h06a4308_0
  - jupyterhub=5.2.1=py39h06a4308_0
  - jupyterhub-base=5.2.1=py39h06a4308_0
  - krb5=1.20.1=h143b758_1
  - ld_impl_linux-64=2.40=h12ee557_0
  - libcurl=8.12.1=hc9e6f67_0
  - libedit=3.1.20230828=h5eee18b_0
  - libev=4.33=h7f8727e_1
  - libffi=3.4.4=h6a678d5_1
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libnghttp2=1.57.0=h2d74bed_0
  - libssh2=1.11.1=h251f7ec_0
  - libstdcxx-ng=11.2.0=h1234567_1
  - libuv=1.48.0=h5eee18b_0
  - lz4-c=1.9.4=h6a678d5_1
  - mako=1.2.3=py39h06a4308_0
  - markupsafe=3.0.2=py39h5eee18b_0
  - ncurses=6.4=h6a678d5_0
  - nodejs=20.17.0=hb8e3597_0
  - oauthlib=3.2.2=py39h06a4308_0
  - openssl=3.0.16=h5eee18b_0
  - packaging=24.2=py39h06a4308_0
  - pamela=1.2.0=py39h06a4308_0
  - pip=25.0=py39h06a4308_0
  - prometheus_client=0.21.0=py39h06a4308_0
  - pycparser=2.21=pyhd3eb1b0_0
  - pycurl=7.45.4=py39haf51bff_0
  - pydantic=2.10.3=py39h06a4308_0
  - pydantic-core=2.27.1=py39h4aa5aa6_0
  - pyjwt=2.10.1=py39h06a4308_0
  - pyopenssl=25.0.0=py39h06a4308_0
  - pysocks=1.7.1=py39h06a4308_0
  - python=3.9.21=he870216_1
  - python-dateutil=2.9.0post0=py39h06a4308_2
  - python-json-logger=3.2.1=py39h06a4308_0
  - pyyaml=6.0.2=py39h5eee18b_0
  - readline=8.2=h5eee18b_0
  - referencing=0.30.2=py39h06a4308_0
  - requests=2.32.3=py39h06a4308_1
  - rfc3339-validator=0.1.4=py39h06a4308_0
  - rfc3986-validator=0.1.1=py39h06a4308_0
  - rpds-py=0.22.3=py39h4aa5aa6_0
  - setuptools=75.8.0=py39h06a4308_0
  - six=1.16.0=pyhd3eb1b0_1
  - sqlalchemy=2.0.37=py39h00e1ef3_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - tornado=6.4.2=py39h5eee18b_0
  - traitlets=5.14.3=py39h06a4308_0
  - typing-extensions=4.12.2=py39h06a4308_0
  - typing_extensions=4.12.2=py39h06a4308_0
  - tzdata=2025a=h04d1e81_0
  - urllib3=2.3.0=py39h06a4308_0
  - wheel=0.45.1=py39h06a4308_0
  - xz=5.6.4=h5eee18b_1
  - yaml=0.2.5=h7b6447c_0
  - zipp=3.21.0=py39h06a4308_0
  - zlib=1.2.13=h5eee18b_1
  - zstd=1.5.6=hc292b87_0
  - pip:
      - arrow==1.3.0
      - exceptiongroup==1.2.2
      - fqdn==1.5.1
      - iniconfig==2.1.0
      - isoduration==20.11.0
      - jsonpointer==3.0.0
      - pluggy==1.5.0
      - pytest==8.3.5
      - tomli==2.2.1
      - types-python-dateutil==2.9.0.20241206
      - uri-template==1.3.0
      - webcolors==24.11.1
prefix: /opt/conda/envs/kubespawner

tests/test_objects.py::test_make_simplest_pod tests/test_objects.py::test_make_labeled_pod tests/test_objects.py::test_make_pod_with_image_pull_secrets tests/test_objects.py::test_set_pod_uid_fs_gid tests/test_objects.py::test_make_pod_resources_all tests/test_objects.py::test_make_pod_with_env
tests/test_objects.py::test_make_pvc_simple tests/test_objects.py::test_make_resources_all
kubespawner/objects.py
kubespawner/objects.py