[packages/kubelogin] new; version 0.0.20

glen glen at pld-linux.org
Mon Oct 17 10:58:13 CEST 2022


commit cc362abdc650d7fab99d9e6e299a1d8b0f40a412
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Mon Oct 17 11:54:50 2022 +0300

    new; version 0.0.20

 kubelogin.spec | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 56 insertions(+)
---
diff --git a/kubelogin.spec b/kubelogin.spec
new file mode 100644
index 0000000..823260e
--- /dev/null
+++ b/kubelogin.spec
@@ -0,0 +1,56 @@
+Summary:	A Kubernetes credential (exec) plugin implementing azure authentication
+Name:		kubelogin
+Version:	0.0.20
+Release:	1
+License:	MIT
+Group:		Applications
+Source0:	https://github.com/Azure/kubelogin/releases/download/v%{version}/%{name}-linux-amd64.zip
+# Source0-md5:	20f2c2e90da09b71a611844ccc8b4ca6
+URL:		https://github.com/Azure/kubelogin
+ExclusiveArch:	%{x8664}
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+# nothing to put there
+%define		_enable_debug_packages	0
+
+%description
+This is a client-go credential (exec) plugin implementing azure
+authentication.
+
+This plugin provides features that are not available in kubectl. It is
+supported on kubectl v1.11+
+
+Features
+- convert-kubeconfig command to converts kubeconfig with existing
+  azure auth provider format to exec credential plugin format
+- device code login _ non-interactive service principal login
+- non-interactive user principal login using Resource owner login flow
+- non-interactive managed service identity login
+- non-interactive Azure CLI token login (AKS only)
+- non-interactive workload identity login
+- AAD token will be cached locally for renewal in device code login
+  and user principal login (ropc) flow. By default, it is saved in
+  ~/.kube/cache/kubelogin/
+- addresses kubernetes/kubernetes#86410 to remove spn: prefix in
+  audience claim, if necessary. (based on kubeconfig or commandline
+  argument --legacy)
+- Setup for Kubernetes OIDC Provider using Azure AD
+
+%prep
+%setup -qc
+mv bin/linux_*/kubelogin .
+
+%build
+./kubelogin --version
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
+install -p %{name} $RPM_BUILD_ROOT%{_bindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/%{name}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kubelogin.git/commitdiff/cc362abdc650d7fab99d9e6e299a1d8b0f40a412



More information about the pld-cvs-commit mailing list