apiVersion: batch/v1
kind: Job
metadata:
  name: my-hook
  annotations:
    argocd.argoproj.io/hook: Sync
spec:
  template:
    spec:
      containers:
        - command:
            - "true"
          image: "alpine:latest"
          imagePullPolicy: IfNotPresent
          name: main
      restartPolicy: Never