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

docs: add conf environment variables description #438

Merged
merged 2 commits into from
Jun 3, 2024
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
6 changes: 5 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ description: |-

### Optional

- `api_version` (Number) Choose which version of the api you would like to use 1 or 2. Default is `2`
- `api_version` (Number) Choose which version of the api you would like to use 1 or 2 (default is 2)
- `bearer_token` (String) The bearer token to be used to access harbor. Will take precedence over username and password if set
- `insecure` (Boolean) Choose to ignore certificate errors

### Environment variables

The provider can also be configured via environment variables: `HARBOR_URL`, `HARBOR_USERNAME`, `HARBOR_PASSWORD`.
6 changes: 5 additions & 1 deletion templates/index.md.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ For example, the {{ .SchemaMarkdown }} template can be used to replace manual sc

### Optional

- `api_version` (Number) Choose which version of the api you would like to use 1 or 2. Default is `2`
- `api_version` (Number) Choose which version of the api you would like to use 1 or 2 (default is 2)
- `bearer_token` (String) The bearer token to be used to access harbor. Will take precedence over username and password if set
- `insecure` (Boolean) Choose to ignore certificate errors

### Environment variables

The provider can also be configured via environment variables: `HARBOR_URL`, `HARBOR_USERNAME`, `HARBOR_PASSWORD`.
Loading