Accepting request 1172482 from home:weberho:branches:devel:kubic
- Moved configuraton from .toml to .yml config - Update to version 3.0.0 * Announcment: https://traefik.io/blog/announcing-traefik-proxy-v3-rc/ * added support for popular, emerging technologies—WebAssembly (Wasm), OpenTelemetry, and Kubernetes Gateway API * revamped some key parts of the routing rules * added support for some leading edge technologies like HTTP/3, SPIFFE, and Tailscale * Migration guide: https://doc.traefik.io/traefik/v3.0/migration/v2-to-v3/ * Details: https://github.com/traefik/traefik/releases/tag/v3.0.0 OBS-URL: https://build.opensuse.org/request/show/1172482 OBS-URL: https://build.opensuse.org/package/show/devel:kubic/traefik?expand=0&rev=33
This commit is contained in:
10
traefik.spec
10
traefik.spec
@@ -25,7 +25,7 @@
|
||||
%endif
|
||||
|
||||
Name: traefik
|
||||
Version: 2.11.2
|
||||
Version: 3.0.0
|
||||
Release: 0
|
||||
Summary: The Cloud Native Application Proxy
|
||||
License: MIT
|
||||
@@ -34,7 +34,7 @@ URL: https://traefik.io/
|
||||
Source0: https://github.com/traefik/traefik/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
Source1: vendor.tar.gz
|
||||
Source2: traefik.service
|
||||
Source3: traefik.toml
|
||||
Source3: traefik.yml
|
||||
Source4: package-lock.json
|
||||
Source5: node_modules.spec.inc
|
||||
# prepare-sources.sh is used to prepare sources for packaging
|
||||
@@ -49,6 +49,8 @@ BuildRequires: systemd-rpm-macros
|
||||
BuildRequires: yarn
|
||||
BuildRequires: (golang(API) >= 1.22)
|
||||
Recommends: podman
|
||||
|
||||
Conflicts: traefik2
|
||||
%{?systemd_requires}
|
||||
%{go_provides}
|
||||
|
||||
@@ -99,7 +101,7 @@ install -D -p -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}/%{name}.service
|
||||
ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
|
||||
|
||||
# configuration
|
||||
install -D -p -m 0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/%{name}/%{name}.toml
|
||||
install -D -p -m 0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/%{name}/%{name}.yml
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/%{name}/conf.d
|
||||
|
||||
# logging
|
||||
@@ -129,7 +131,7 @@ mkdir -p %{buildroot}%{_localstatedir}/log/%{name}
|
||||
%dir %{_sysconfdir}/%{name}
|
||||
%dir %{_sysconfdir}/%{name}/conf.d
|
||||
|
||||
%config(noreplace) %{_sysconfdir}/%{name}/%{name}.toml
|
||||
%config(noreplace) %{_sysconfdir}/%{name}/%{name}.yml
|
||||
%attr(750,root,root) %dir %{_localstatedir}/log/%{name}
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user