pod.yaml 486 B

1234567891011121314151617181920
  1. apiVersion: v1
  2. kind: Pod
  3. metadata:
  4. name: kali
  5. annotations:
  6. # Setting spec.force to true will make Flux recreate the Pod when any
  7. # immutable field is changed, forcing the Pod to run every time the
  8. # container image tag changes.
  9. kustomize.toolkit.fluxcd.io/force: enabled
  10. spec:
  11. restartPolicy: Never
  12. automountServiceAccountToken: false
  13. hostNetwork: true
  14. containers:
  15. - image: kalilinux/kali-rolling
  16. name: kali
  17. command:
  18. - /bin/sleep
  19. - infinity