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.

18 lines
454 B

  1. apiVersion: v1
  2. kind: Config
  3. clusterCIDR: {{ kube_pods_subnet }}
  4. clusters:
  5. - name: cluster
  6. cluster:
  7. certificate-authority: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
  8. server: {{ kube_apiserver_endpoint }}
  9. users:
  10. - name: kube-router
  11. user:
  12. tokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
  13. contexts:
  14. - context:
  15. cluster: cluster
  16. user: kube-router
  17. name: kube-router-context
  18. current-context: kube-router-context