Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Chrome policies from env variables. #574

Merged
merged 1 commit into from
Sep 20, 2022
Merged

Conversation

jeremie-code
Copy link
Contributor

Adding Custom Chrome Policy Configuration

In corporate networks, tested environments are often using custom policy configuration in order to manage chrome browser.
To set chrome browser with the same policy as the corporate networks tested, our chrome images allow to add any configuration via environment variables. For every item in the list: Chrome Policy list.

  1. Get the Linux preference name and the Linux example value as a template from the list.

  2. Set an environment variable to browser image: CH_POLICY_<preference-name>=<value>

    Example: CH_POLICY_ComponentUpdatesEnabled=false

    Note: in case data type is a list of strings or a string, escape character may be required.

@codecov
Copy link

codecov bot commented Sep 19, 2022

Codecov Report

Base: 5.88% // Head: 5.88% // No change to project coverage 👍

Coverage data is based on head (5ee93d6) compared to base (3429a3d).
Patch has no changes to coverable lines.

Additional details and impacted files
@@          Coverage Diff           @@
##           master    #574   +/-   ##
======================================
  Coverage    5.88%   5.88%           
======================================
  Files           8       8           
  Lines         832     832           
======================================
  Hits           49      49           
  Misses        776     776           
  Partials        7       7           
Flag Coverage Δ
go 5.88% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@vania-pooh vania-pooh merged commit 2c4c7f0 into aerokube:master Sep 20, 2022
@vania-pooh
Copy link
Member

@jeremie-code thank you for contribution!

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.

2 participants