Explore the option of mount of an OS secret with runner configuration into the VM (explored and deployed)) #436
Labels
No labels
Backlog Status
Needs Review
Backlog Status
Ready
Chore
points
01
points
02
points
03
points
05
points
08
points
13
Priority
High
Priority
Low
Priority
Medium
Sprint Status
Blocked
Sprint Status
Done
Sprint Status
In Progress
Sprint Status
Review
Sprint Status
To Do
Technical Debt
Work Item
Bug
Work Item
Epic
Work Item
Spike
Work Item
Task
Work Item
User Story
Backlog Status
Needs Review
Backlog Status
Ready
chore
documentation
points
01
points
02
points
03
points
05
points
08
points
13
Priority
High
Priority
Low
Priority
Medium
Sprint Status
Blocked
Sprint Status
Done
Sprint Status
In Progress
Sprint Status
Review
Sprint Status
To Do
Technical Debt
Work Item
Bug
Work Item
Epic
Work Item
Spike
Work Item
Task
Work Item
User Story
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forge/forge#436
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Documentation: https://kubevirt.io/user-guide/storage/disks_and_volumes/#secret
First POC:
create a secret in forgejo OC namespace
create a pod that can fetch the secret and read it
Code of the watcher: https://gist.github.com/LenkaSeg/fd5fc87370e98b063ef33fdecd0f43b0
Create the systemd unit to install and run this watcher
watcher needs to deploy the config to /home/fedora/forgejo-runners-vars.yaml
The watcher now watches the secret and synchronizes the runner configs in a file inside the runner vm.
Running the playbook from the VM, the runner service start and runners get deployed to staging.
Required to solve a problem with networking, all good and working now.
Next steps:
VM side changes: https://codeberg.org/fedora/ansible-role-forgejo-runner/pulls/6
Ansible infra side changes: infra/ansible#3253
Explore the option of mount of an OS secret with runner configuration into the VMto Explore the option of mount of an OS secret with runner configuration into the VM (explored and deployed))