-
Notifications
You must be signed in to change notification settings - Fork 96
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
Add Flatpak workflow procedures for Satellite #3624
base: master
Are you sure you want to change the base?
Add Flatpak workflow procedures for Satellite #3624
Conversation
The PR preview for 41e3ebe is available at theforeman-foreman-documentation-preview-pr-3624.surge.sh The following output files are affected by this PR: |
@sjha4 Take a look/review and let me know if we captured what we needed from the Google Doc. |
6ba1777
to
fbf2385
Compare
|
||
.Procedure using remote execution templates | ||
|
||
. Set up Flatpak remote on host: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this clear enough to say these 3 are remote templates?
- Set up Flatpak remote on host
- Install Flatpak application
- Log in to Flatpak registry using podman
I'd add a brief description of the 3.
1st runs a REX job on host to add satellite/capsule as a flatpak remote on the host and logs into podman registry and saves the credentials.
2nd runs a REX job to install Flatpak applications on selected host(s)
3rd runs a REX job to login to podman registry and save credentials on the client.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sjha4 The more I try to clarify this with what you want me to add, the more I'm not sure we are telling the user what to do here. Should we keep this section using REX templates?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are 3 templates admins can use to set up the clients. We should keep it for admins to be able to do what we document right above this using flatpak cli commands..We should even move it above the regular procedure in this section.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated REX templates to be better grouped for UX and follow convention. These should make it clearer in the documentation.
Flatpak - Set up remote on host
Flatpak - Install application on host
Flatpak - Login to registry via podman
+ | ||
[options="nowrap", subs="+quotes,verbatim,attributes"] | ||
---- | ||
$ flatpak --user remote-add --authenticator-name=org.flatpak.Authenticator.Oci katello oci+https://satellite.example.com/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets remove --user from here and add a note for context if needed. The --user flag sets up remote and also installs apps in user context on the client. System-wide installs are the default and the REX templates also follow that.
What changes are you introducing?
Adding Flatpak workflow procedures for Satellite.
Why are you introducing these changes? (Explanation, links to references, issues, etc.)
In reference to https://issues.redhat.com/browse/SAT-30544.
Anything else to add? (Considerations, potential downsides, alternative solutions you have explored, etc.)
Checklists
Please cherry-pick my commits into: