From f05c6ddb4cc1dfbc655dd9ccaa27f767786e984229126fb56e13bc37f8ab540f Mon Sep 17 00:00:00 2001 From: Richard Brown Date: Tue, 15 Jan 2019 15:37:50 +0000 Subject: [PATCH] Accepting request 666286 from home:pgeorgiadis - Initial package release to version 1.7.7: * Check for watched namespace before getting kubernetes objects * Allow empty path with App-root annotation * kubernetes: sort and uniq TLS secrets * Skip TLS section with no secret in Kubernetes ingress OBS-URL: https://build.opensuse.org/request/show/666286 OBS-URL: https://build.opensuse.org/package/show/devel:kubic/traefik?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++ .gitignore | 1 + _service | 12 ++++++++ traefik-rpmlintrc | 2 ++ traefik-v1.7.7.tar.xz | 3 ++ traefik.changes | 8 +++++ traefik.spec | 71 +++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 120 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 traefik-rpmlintrc create mode 100644 traefik-v1.7.7.tar.xz create mode 100644 traefik.changes create mode 100644 traefik.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..2cd7d61 --- /dev/null +++ b/_service @@ -0,0 +1,12 @@ + + + https + github.com + /containous/traefik/releases/download/v1.7.7/traefik-v1.7.7.src.tar.gz + traefik-v1.7.7.tar.gz + + + *.tar.gz + xz + + diff --git a/traefik-rpmlintrc b/traefik-rpmlintrc new file mode 100644 index 0000000..3ecf06c --- /dev/null +++ b/traefik-rpmlintrc @@ -0,0 +1,2 @@ +addFilter (".* W: position-independent-executable-suggested /usr/bin/traefik") +addFilter (".* W: statically-linked-binary /usr/bin/traefik") diff --git a/traefik-v1.7.7.tar.xz b/traefik-v1.7.7.tar.xz new file mode 100644 index 0000000..828d013 --- /dev/null +++ b/traefik-v1.7.7.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e57bedfbcd49e8c3ed4cda2d46ff134cfe3de38bed244fd5cdb200c0e05dd64a +size 7194192 diff --git a/traefik.changes b/traefik.changes new file mode 100644 index 0000000..dc25335 --- /dev/null +++ b/traefik.changes @@ -0,0 +1,8 @@ +------------------------------------------------------------------- +Thu Jan 10 14:50:22 UTC 2019 - pgeorgiadis@suse.com + +- Initial package release to version 1.7.7: + * Check for watched namespace before getting kubernetes objects + * Allow empty path with App-root annotation + * kubernetes: sort and uniq TLS secrets + * Skip TLS section with no secret in Kubernetes ingress diff --git a/traefik.spec b/traefik.spec new file mode 100644 index 0000000..d75eb8f --- /dev/null +++ b/traefik.spec @@ -0,0 +1,71 @@ +# +# spec file for package traefik +# +# 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/ +# + +# Make sure that the binary is not getting stripped. +%{go_nostrip} + +Name: traefik +Version: 1.7.7 +Release: 0 +Summary: The Cloud Native Edge Router +License: MIT +Group: Productivity/Networking/Web/Proxy +URL: https://traefik.io/ +Source0: %{name}-v%{version}.tar.xz +BuildRequires: go-bindata +BuildRequires: fdupes +BuildRequires: golang(API) >= 1.10 +BuildRequires: golang-packaging +Requires(pre): %fillup_prereq + +%description +Traefik listens to your service registry/orchestrator API and instantly +generates the routes so your microservices are connected to the outside +world -- without further intervention from your part. + +Traefik is a modern HTTP reverse proxy and load balancer that makes +deploying microservices easy. Traefik integrates with your existing +infrastructure components (Docker, Swarm mode, Kubernetes, Marathon, +Consul, Etcd, Rancher, Amazon ECS, ...) and configures itself +automatically and dynamically. + +Pointing Traefik at your orchestrator should be the only configuration +step you need. + +Documentation: http://docs.traefik.io/ + +%prep +%setup -q -c -n %{name}-v%{version} + +%build +%{goprep} github.com/containous/traefik + +# Start building ... +go generate +%{gobuild} + +%install +%{goinstall} +%{gofilelist} +%fdupes %{buildroot}/%{_prefix} + +%files -f file.lst + +%{_bindir}/%{name} +%license LICENSE.md + +%changelog