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

Added insecure_options config list #2695

Merged
merged 2 commits into from
Jun 8, 2017

Conversation

kmalec
Copy link
Contributor

@kmalec kmalec commented Jun 7, 2017

Follow-up of #2026
While doing my proof-of-concepting, I see some usecases for --insecure-options=ondisk for example. Nevertheless, the options right now are either 'none' or 'all', this config will take precedence over the "rkt trust wasn't done", so one can instead of just omiting trust_prefix (and losing all secure options) specify insecure_options = ["image"].
It also makes it possible to enforce --insecure-options=none.

I've moved --debug as well, as both --debug and --insecure-options are rkt global parameters - made better sense.

Copy link
Member

@schmichael schmichael left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Just some minor comment/docs changes.

cmdArgs = append(cmdArgs, "--insecure-options=all")
}

// same for debug
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It takes some reading to figure out the context for "same" so maybe just repeat the relevant comment here:

// debug is a global argument, so add it before "run"

run with ```--insecure-options=all```.

* `insecure_options` - (Optional) List of insecure options for rkt. Consult ```rkt --help```
for list of supported values. This list overrides the ```--insecure-options=all``` when
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Single backticks around flags:

run with `--insecure-optionals=all`.

This list overrides the --insecure-options=all when

should probably read:

This list overrides the --insecure-options=all default when

@schmichael
Copy link
Member

Test failure is unrelated. Merging.

Thanks for the contribution!

@github-actions
Copy link

github-actions bot commented Apr 1, 2023

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants