icarus mngt - tbot

This commit is contained in:
Márcio Fernandes committed 2026-10-18 21:57:48 +00:00
1 parent 1c65e6045d
commit e655f7b7fe
5 files changed
+105

No files matched your search

@@ -0,0 +1,40 @@
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