mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-07 19:23:40 +00:00
Avoid marking configuration files as executable
This commit is contained in:
parent
020b1d5ff5
commit
0bd695d8d1
@ -15,12 +15,12 @@ Command-line utility for deploying a Kubernetes cluster.
|
||||
|
||||
%install
|
||||
install -m 755 -d %{buildroot}%{_bindir}
|
||||
install -m 755 -d %{buildroot}%{_sysconfdir}/systemd/system/
|
||||
install -m 755 -d %{buildroot}%{_sysconfdir}/systemd/system/kubelet.service.d/
|
||||
install -m 755 -d %{buildroot}%{_sysconfdir}/sysconfig/
|
||||
install -m 644 -d %{buildroot}%{_sysconfdir}/systemd/system/
|
||||
install -m 644 -d %{buildroot}%{_sysconfdir}/systemd/system/kubelet.service.d/
|
||||
install -m 644 -d %{buildroot}%{_sysconfdir}/sysconfig/
|
||||
install -p -m 755 -t %{buildroot}%{_bindir} {kubeadm}
|
||||
install -p -m 755 -t %{buildroot}%{_sysconfdir}/systemd/system/kubelet.service.d/ {10-kubeadm.conf}
|
||||
install -p -m 755 -T {kubelet.env} %{buildroot}%{_sysconfdir}/sysconfig/kubelet
|
||||
install -p -m 644 -t %{buildroot}%{_sysconfdir}/systemd/system/kubelet.service.d/ {10-kubeadm.conf}
|
||||
install -p -m 644 -T {kubelet.env} %{buildroot}%{_sysconfdir}/sysconfig/kubelet
|
||||
|
||||
%files
|
||||
%{_bindir}/kubeadm
|
||||
|
@ -20,10 +20,10 @@ The node agent of Kubernetes, the container cluster manager.
|
||||
%install
|
||||
|
||||
install -m 755 -d %{buildroot}%{_bindir}
|
||||
install -m 755 -d %{buildroot}%{_sysconfdir}/systemd/system/
|
||||
install -m 755 -d %{buildroot}%{_sysconfdir}/kubernetes/manifests/
|
||||
install -m 644 -d %{buildroot}%{_sysconfdir}/systemd/system/
|
||||
install -m 644 -d %{buildroot}%{_sysconfdir}/kubernetes/manifests/
|
||||
install -p -m 755 -t %{buildroot}%{_bindir} {kubelet}
|
||||
install -p -m 755 -t %{buildroot}%{_sysconfdir}/systemd/system/ {kubelet.service}
|
||||
install -p -m 644 -t %{buildroot}%{_sysconfdir}/systemd/system/ {kubelet.service}
|
||||
|
||||
%files
|
||||
%{_bindir}/kubelet
|
||||
|
@ -15,7 +15,7 @@ tar -C ./bin -xz -f {cni-plugins-amd64-v0.6.0.tgz}
|
||||
|
||||
%install
|
||||
|
||||
install -m 755 -d %{buildroot}%{_sysconfdir}/cni/net.d/
|
||||
install -m 644 -d %{buildroot}%{_sysconfdir}/cni/net.d/
|
||||
install -m 755 -d %{buildroot}/opt/cni
|
||||
mv bin/ %{buildroot}/opt/cni/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user