job.yaml 374 B

123456789101112131415
  1. apiVersion: batch/v1
  2. kind: Job
  3. metadata:
  4. name: proxy-kubeconfig-generator
  5. spec:
  6. template:
  7. spec:
  8. containers:
  9. - name: proxy-kubeconfig-generator
  10. args:
  11. - --serviceaccount=prometheus-ssl-exporter
  12. - --namespace=prometheus-ssl-exporter
  13. - --server=https://kubernetes.default.svc:443
  14. - --server-tls-secret-name=kubeconfig