You can download compiled binaries from the github release page.
$ go install github.com/UNINETTSigma2/nird-toolkit-auth-helper@latest
apiVersion: v1
clusters:
- cluster:
certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUZFRENDQXZpZ0F3SUJBZ0lVTUpyTWIyTjRQbGFqQTNqNmwrYjVUc3I3K05vd0RRWUpLb1pJaHZjTkFRRU4KQlFBd0lERWVNQndHQTFVRUF4TVZUa2xTUkMxVFVDQkxkV0psY201bGRHVnpJRU5CTUI0WERUSXlNRGd5TmpFeQpNalV3TUZvWERUTXlNRGd5TmpBd01qVXdNRm93SURFZU1Cd0dBMVVFQXhNVlRrbFNSQzFUVUNCTGRXSmxjbTVsCmRHVnpJRU5CTUlJQ0lqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FnOEFNSUlDQ2dLQ0FnRUF0MytISUx3WUVDUlcKcmNtYUx0VU0rdVpKRFc0dkJCSEVWazk3SHo2YmtyaE93N0l4Q3Zmd2hud0NwNTIzUnZHZVpSbUpacUFsQzFadgp4MFdCTlhvbEpWS0lyalZPVXk3dklzdnNibDdrb296ckVQWjdCaGlnWDU1ekVXZ3diU3V2M0k5cFhWMVEzM3hiCkFGbXFIMlJDdWJvMWtiR1VLSHFjaFRRNHlIVnpIV2J4SEcrK1kyN1J1a0ZBNnhPU3ZBdDk3WlVFeHd6LytUdUwKT0JPR1ZSKzU4SFhtdmtKNHBKMW1xYzRBZWJLZ01Xc3F2djVYT0duYTJuVlRkbzd6QmtSbWVhcFF5NHNHTllJbAo0Wkp6S3JRaXdMRG4rcWZ0bGVsVU9aYlBNOElMZDdSYno0TkNjbWwzcWg1QjdjSjlubm1rQ1IyOCsyb2N0dVBMCjMrM1dBNGZBYUFiZ2laZHA5c1dFdytOZUV3MTFZR2wvNFd6cTZUVHR2dk5pVWhWV3BNa2Y4NlhxSEJIdWh1OHkKRjk0aFVKTjdvRk56c3E3eXVIaHNpU0pHZ29xNXNqSVhhN2krOTFCM0VCRV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JweQpyNmNETDNRcHlJUERjcnBMTFVWRkF1anZFNzNELzNKUnhZSlpBN2EvZUY2dHVDTkZ3TURtem1VMjRpUVNuQTVjCndleGtvUDRmVlI0azFrR1I1YTFrVkYvbFVNMmRONjBCd20xc05ZNGlPMGd6VXE5NVBBa09ZdW5oQzdYdExlNUcKejhmdEtqK3NQQVZxendtMFVhc1ltSjRYZkNVeEk1c2xsdmNjbTNEbjRIcFlZaVVCVTNqbE43Uk84amtQUlJvMwpvZTlpdnZLK0U1RzU4ZnZKdmd5c2w5WktWZGxMbnZQUkk2d3FGUWF2clZNSkgvQUl6dFNaTmd5Z0lNb0tld1Y1ClVPTGlsdz09Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0=
server: https://api.nird.sigma2.no:8443/
name: nird-lmd
contexts:
- context:
cluster: nird-lmd
user: nird-lmd
name: nird-lmd
current-context: nird-lmd
kind: Config
preferences: {}
users:
- name: nird-lmd
user:
exec:
apiVersion: client.authentication.k8s.io/v1beta1
args:
- login
- --client-id
- nird-toolkit-cli
command: nird-toolkit-auth-helper
env: null
installHint: |-
nird-toolkit-auth-helper is required to authenticate
to the current cluster. It can be installed:
https://github.com/uninettsigma2/nird-toolkit-auth-helper
interactiveMode: IfAvailable
provideClusterInfo: true
$ kubectl config use-context nird-lmd
$ kubectl get ns