job.yaml 511 B

12345678910111213141516171819202122
  1. apiVersion: batch/v1
  2. kind: Job
  3. metadata:
  4. labels:
  5. app: proxy-kubeconfig-generator
  6. name: proxy-kubeconfig-generator
  7. spec:
  8. template:
  9. metadata:
  10. labels:
  11. app: proxy-kubeconfig-generator
  12. spec:
  13. serviceAccountName: proxy-kubeconfig-generator
  14. containers:
  15. - image: ghcr.io/maxgio92/proxy-kubeconfig-generator:0.1.3
  16. name: proxy-kubeconfig-generator
  17. securityContext:
  18. capabilities:
  19. drop:
  20. - ALL
  21. restartPolicy: OnFailure