Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Перенести скрипты из домашних папок в общее место #24

Open
shaba opened this issue May 5, 2023 · 4 comments

Comments

@shaba
Copy link
Member

shaba commented May 5, 2023

в rootlesskit.service вызываются скрипты
/var/lib/u7s-admin/usernetes/boot/rootlesskit.sh
/var/lib/u7s-admin/usernetes/boot/crio.sh
Надо перенести эти скрипты в обще доступное место, типа /usr/bin или /usr/libexec.
Например в /usr/libexec/podsec/usernetes/boot

@kafnevod
Copy link
Member

kafnevod commented May 6, 2023

Я думаю назвать каталог
/usr/libexec/podsec/usernetes/bin
А можно ли туда (в /usr/libexec/podsec/usernetes/) помещать другие (например шаблоны для файлов конфигурации kuneadm: /usr/libexec/podsec/usernetes/kubeadm-configs/) каталоги и файлы?

Если нет, тогда имя каталога можно сократить до
/usr/libexec/podsec/usernetes/
или даже до
/usr/libexec/usernetes/

@kafnevod
Copy link
Member

kafnevod commented May 6, 2023

Кстати а можно ли в каталог /etc/kubernetes/manifetst (принадлежащему пакету kubernetes-common) включить манифесты coredns.yaml kube-flannel.yml (не входящие в пакет kubernetes-common) ?

@shaba
Copy link
Member Author

shaba commented May 6, 2023

Кстати а можно ли в каталог /etc/kubernetes/manifetst (принадлежащему пакету kubernetes-common) включить манифесты coredns.yaml kube-flannel.yml (не входящие в пакет kubernetes-common) ?

Конечно можно. Надо ли их там пометить как config или config(noreplace) тоже надо решить.

@kafnevod
Copy link
Member

kafnevod commented May 7, 2023

А где помечать config или config(noreplace)?

Эти файлы не перекрывают никаких файлов пакетов kubernetes...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants