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

Doc Updates for vRA and dokken #1925

Merged
merged 2 commits into from
Dec 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions docs/content/docs/drivers/dokken.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,23 @@ driver:
chef_image: tas50/my_chef_fork
```

#### cgroupns_host

This configuration can be used to pass `--cgroupns=host` flag during the docker run, which can be beneficial in the following scenario.

Docker Desktop 4.3.0+ uses cgroupv2 which breaks containers that use `systemd`.
Containers that use `systemd` need to run with `--privileged --cgroupns=host -v /sys/fs/cgroup:/sys/fs/cgroup:rw`, which can be achieved with the following configuration.

```yaml
driver:
name: dokken
privileged: true
cgroupns_host: true
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
```
Reference: [4.3.0 Release notes](https://docs.docker.com/desktop/release-notes/#430)

#### chef_version

The `chef_version` configuration option allows you to specify which Docker image tag of the Chef Infra Client image to use. By default `latest` is used, which is equivalent to the latest version the Chef's `stable` channel. For a complete list of available tags see [chef/chef tags](https://hub.docker.com/r/chef/chef/tags) on Docker Hub.
Expand Down
7 changes: 4 additions & 3 deletions docs/content/docs/drivers/vra.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ driver:
name: vra
username: myuser@corp.local
password: mypassword
tenant: mytenant
domain: domain.corp.com
base_url: https://vra.corp.local
verify_ssl: true
```
Expand All @@ -57,7 +57,7 @@ If you want username and password to be prompted, remove usename and password in
```yaml
driver:
name: vra
tenant: mytenant
domain: domain.corp.com
base_url: https://vra.corp.local
verify_ssl: true
```
Expand All @@ -69,6 +69,7 @@ If you don't want to explicitly specify username and password in the kitchen.yml
export VRA_USER_PASSWORD='mypassword'
```

The `domain` attribute is required, which you can utilize to specify which domain should be used to authenticate the users.

#### catalog_id

Expand Down Expand Up @@ -151,7 +152,7 @@ driver:
name: vra
username: myuser@corp.local
password: <%= ENV['VRA_USER_PASSWORD'] %>
tenant: example.com
domain: domain.corp.com
project_id: xxxxx-xxxxxxxx
base_url: https://example.com
verify_ssl: false
Expand Down