Skip to content

Commit

Permalink
Merge pull request #3275 from saschagrunert/registries.conf
Browse files Browse the repository at this point in the history
Add registries.conf to CRI-O spec
  • Loading branch information
k8s-ci-robot authored Sep 15, 2023
2 parents 489b2bf + 00ac617 commit ec317cd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/krel/templates/latest/cri-o/cri-o.spec
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ install -D -m 644 -t %{buildroot}%{_datadir}/zsh/site-functions %{archive_root}/
# Configurations
install -dp %{buildroot}%{_sysconfdir}/containers
install -p -m 644 %{archive_root}/contrib/policy.json %{buildroot}%{_sysconfdir}/containers/policy.json
install -p -m 644 %{archive_root}/contrib/registries.conf %{buildroot}%{_sysconfdir}/containers/registries.conf

install -p -m 644 %{archive_root}/etc/crictl.yaml %{buildroot}%{_sysconfdir}/crictl.yaml

Expand Down Expand Up @@ -100,6 +101,7 @@ install -D -m 644 -t %{buildroot}%{_mandir}/man8 %{archive_root}/man/crio.8
# Configurations
%dir %{_sysconfdir}/containers
%config(noreplace) %{_sysconfdir}/containers/policy.json
%config(noreplace) %{_sysconfdir}/containers/registries.conf
%config(noreplace) %{_sysconfdir}/crictl.yaml
%dir %{_sysconfdir}/cni
%dir %{_sysconfdir}/cni/net.d
Expand Down

0 comments on commit ec317cd

Please sign in to comment.