Accepting request 737904 from home:kukuk:container
OBS-URL: https://build.opensuse.org/request/show/737904 OBS-URL: https://build.opensuse.org/package/show/devel:kubic/docker_auth?expand=0&rev=1
This commit is contained in:
commit
1b9a4b9d60
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
14
_service
Normal file
14
_service
Normal file
@ -0,0 +1,14 @@
|
||||
<services>
|
||||
<service name="tar_scm" mode="disabled">
|
||||
<param name="version">1.4.0</param>
|
||||
<param name="versionformat">1.4.0+git%cd.%h</param>
|
||||
<param name="url">git://github.com/cesanta/docker_auth.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
</service>
|
||||
<service name="recompress" mode="disabled">
|
||||
<param name="compression">xz</param>
|
||||
<param name="file">*.tar</param>
|
||||
</service>
|
||||
<service name="set_version" mode="disabled"/>
|
||||
</services>
|
6
_servicedata
Normal file
6
_servicedata
Normal file
@ -0,0 +1,6 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">git://github.com/cesanta/docker_auth.git</param>
|
||||
<param name="changesrevision">6f383608f36fa1aa688523ac5ae96cf05b341e32</param>
|
||||
</service>
|
||||
</servicedata>
|
3
docker_auth-1.4.0+git20190925.6f38360.tar.xz
Normal file
3
docker_auth-1.4.0+git20190925.6f38360.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cde917f90bd148e0df0be1d3cf68bc59c6cb1a7c736022e251902c1b76e89656
|
||||
size 1486084
|
23
docker_auth.changes
Normal file
23
docker_auth.changes
Normal file
@ -0,0 +1,23 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 12 08:40:12 UTC 2019 - kukuk@suse.com
|
||||
|
||||
- Update to version 1.4.0+git20190925.6f38360:
|
||||
* Move the whole charts directory to the root of the repo
|
||||
* fix simple.yaml example: replace user with test
|
||||
* optimize helm chart structure:split configmap into two parts(configmap and secret)
|
||||
* feat: extended TLS configuration (#259)
|
||||
* add helm chart of docker_auth that supports High-Available
|
||||
* Use go get instead of go install
|
||||
* Add plugin authn and authz implementations
|
||||
* Revert "return 401 when there is no user or password (#251)"
|
||||
* Use a different go-bindata package
|
||||
* Change from using govendor to go modules for managing dependencies
|
||||
* Add support for lowercases DN elements (#247)
|
||||
* return 401 when there is no user or password (#251)
|
||||
* gofmt everything
|
||||
* Add custom authentication and authorization implementations to avoid spawning new processes (#254)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 12 08:39:04 UTC 2019 - kukuk@suse.com
|
||||
|
||||
- Initial release
|
53
docker_auth.spec
Normal file
53
docker_auth.spec
Normal file
@ -0,0 +1,53 @@
|
||||
#
|
||||
# spec file for package docker_auth
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: docker_auth
|
||||
Version: 1.4.0+git20190925.6f38360
|
||||
Release: 0
|
||||
Summary: Authenticaton for container registry with tokens
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/cesanta/docker_auth
|
||||
Source: docker_auth-%{version}.tar.xz
|
||||
BuildRequires: golang(API) = 1.12
|
||||
BuildRequires: go1.12 >= 1.12.9
|
||||
|
||||
%description
|
||||
This package contains a tool to authenticate the access to
|
||||
a container registry. Access is granted defined by an access
|
||||
control list for every user.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
rm chart/docker-auth/.helmignore
|
||||
|
||||
%build
|
||||
cd auth_server
|
||||
# Make the go command working in OBS and on all architectures:
|
||||
sed -i -e 's|CGO_ENABLED=0 go build -v --ldflags=--s|go build -mod vendor -buildmode=pie -v|g' Makefile
|
||||
make
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_sbindir}
|
||||
install -m 755 auth_server/auth_server %{buildroot}%{_sbindir}/
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README.md chart docs examples
|
||||
%{_sbindir}/auth_server
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user