Skip to content

kubelogin

Kubernetes credential (exec) plugin implementing azure authentication

This plugin provides features that are not available in kubectl. In Azure Kubernetes Service since k8s version 1.24, this plugin is necessary to query the kubernetes api in clusters with Azure Active Directory authentication.

devops

https://github.com/Azure/kubelogin

amd64 arm64

Installation

1. Add WakeMeOps repository

curl -sSL https://raw.githubusercontent.com/upciti/wakemeops/main/assets/install_repository | sudo bash

2. Install kubelogin

sudo apt install kubelogin

Snippets

FROM wakemeops/minideb:bullseye

RUN install_packages \
    kubelogin=0.0.28*

USER 1001
- name: Install dependencies
  uses: upciti/wakemeops-action@v1
  with:
    packages: |
      kubelogin=0.0.28*

Download URLs

Version SHA256 Size (KB)
0.0.28 2c499dcfcd00a97b3b72b4d058ebe4132195c02f76a20aa41eff3bee6f58ca0c 7660
0.0.27 3bdea5a6bed7eed9209c414cd685cfeb44e3c4092c67da21524baa76076ed1ed 7281
Version SHA256 Size (KB)
0.0.28 bc21867b6a346ed7535f49ab4c9974de9f0c7f46c3da8cef84560c402133f0f8 6498
0.0.27 a78286ebf4eed5a4a899a5313c47c167736c3107bfb2a4929a740de8eb79c572 6238

Blueprints

Debian packages listed on this page are generated from op2deb YAML blueprints. Blueprints for kubelogin are versionned here.

Click here to see kubelogin ops2deb blueprints
https://github.com/upciti/wakemeops/blob/main/blueprints/devops/kubelogin/ops2deb.yml
name: kubelogin
matrix:
  architectures:
    - amd64
    - arm64
  versions:
    - 0.0.27
    - 0.0.28
homepage: https://github.com/Azure/kubelogin
summary: Kubernetes credential (exec) plugin implementing azure authentication
description: |-
  This plugin provides features that are not available in kubectl.
  In Azure Kubernetes Service since k8s version 1.24, this plugin is necessary to
  query the kubernetes api in clusters with Azure Active Directory
  authentication.
fetch: https://github.com/Azure/kubelogin/releases/download/v{{version}}/kubelogin-linux-{{goarch}}.zip
install:
  - bin/linux_{{goarch}}/kubelogin:/usr/bin/kubelogin

The blueprint fetch keyword contains a URL template pointing to kubelogin releases. Downloaded files are locked in a lockfile versionned here.

Click here to see kubelogin release hashes
https://github.com/upciti/wakemeops/blob/main/blueprints/devops/kubelogin/ops2deb.lock.yml
- url: https://github.com/Azure/kubelogin/releases/download/v0.0.27/kubelogin-linux-amd64.zip
  sha256: a8a0a34f330d1a8b19965dbf10dee4d76ce23ec5b5623f9534a88326b8475e03
  timestamp: 2023-03-13 13:21:17+00:00
- url: https://github.com/Azure/kubelogin/releases/download/v0.0.27/kubelogin-linux-arm64.zip
  sha256: 3b3991d39f1c918ddb2467b68ff5cc0fe80627ff27d04c8e0207b2b2d314a948
  timestamp: 2023-03-13 13:21:17+00:00
- url: https://github.com/Azure/kubelogin/releases/download/v0.0.28/kubelogin-linux-amd64.zip
  sha256: c854ae5d704b645aba0e90351ced1add1cd2a3bd13a392883053a371f60b6a4a
  timestamp: 2023-03-14 21:16:33+00:00
- url: https://github.com/Azure/kubelogin/releases/download/v0.0.28/kubelogin-linux-arm64.zip
  sha256: c30a683eb333292acc30923b4dd5b925cf3dc8ebcd68c3b756bf72b342a962bc
  timestamp: 2023-03-14 21:16:33+00:00

Badge

WakeMeOps

[![WakeMeOps](https://docs.wakemeops.com/badges/kubelogin.svg)](https://docs.wakemeops.com/packages/kubelogin)
<a href="https://docs.wakemeops.com/packages/kubelogin">
  <img src="https://docs.wakemeops.com/badges/kubelogin.svg"/>
</a>
.. image:: https://docs.wakemeops.com/badges/kubelogin.svg
:target: https://docs.wakemeops.com/packages/kubelogin