You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
551 B

  1. apiVersion: v1
  2. kind: Config
  3. current-context: admin-{{ cluster_name }}
  4. preferences: {}
  5. clusters:
  6. - cluster:
  7. certificate-authority-data: {{ admin_certs.results[0]['content'] }}
  8. server: {{ external_apiserver_endpoint }}
  9. name: {{ cluster_name }}
  10. contexts:
  11. - context:
  12. cluster: {{ cluster_name }}
  13. user: admin-{{ cluster_name }}
  14. name: admin-{{ cluster_name }}
  15. users:
  16. - name: admin-{{ cluster_name }}
  17. user:
  18. client-certificate-data: {{ admin_certs.results[1]['content'] }}
  19. client-key-data: {{ admin_certs.results[2]['content'] }}