apiVersion: v1 kind: ConfigMap metadata: name: init.d-zsh namespace: webtop data: 00-zsh.sh: | #!/bin/bash # Make sure zsh is installed and available ZSH_BIN=$(command -v zsh) if [[ -x "$ZSH_BIN" ]]; then echo "[webtop] Setting abc's default shell to $ZSH_BIN" usermod -s "$ZSH_BIN" abc else echo "[webtop] zsh not found, skipping chsh" fi