apiVersion: argoproj.io/v1alpha1 kind: Workflow metadata: generateName: tests-teleport-tbot- namespace: icarus-nodes-mngt spec: entrypoint: exec serviceAccountName: argo-runner templates: - name: exec volumes: - name: identity-output emptyDir: {} - name: icarus-nodes-mngt-tbot-config configMap: name: icarus-nodes-mngt-tbot-config container: image: alpine command: [sh, -c] args: - | ls -lah /opt/machine-id volumeMounts: - name: identity-output mountPath: /opt/machine-id initContainers: - name: get-identity image: public.ecr.aws/gravitational/teleport-distroless:18.11.4 command: ["tbot"] args: - "start" - "--config=/config/tbot.yaml" - "--oneshot" volumeMounts: - name: identity-output mountPath: /opt/machine-id - name: icarus-nodes-mngt-tbot-config mountPath: /config