Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Document sync-state and git-readonly daemon flags #2511

Merged
merged 2 commits into from
Oct 11, 2019
Merged
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
2 changes: 2 additions & 0 deletions docs/references/daemon.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,13 @@ Version controlling of cluster manifests provides reproducibility and a historic
| --git-notes-ref | `flux` | ref to use for keeping commit annotations in git notes
| --git-poll-interval | `5m` | period at which to fetch any new commits from the git repo
| --git-timeout | `20s` | duration after which git operations time out
| --git-readonly | `false` | If `true`, the git repo will be considered read-only, and Flux will not attempt to write to it. Implies --sync-state=secret
| **syncing:** control over how config is applied to the cluster
| --sync-interval | `5m` | apply the git config to the cluster at least this often. New commits may provoke more frequent syncs
| --sync-timeout | `1m` | duration after which sync operations time out
| --sync-garbage-collection | `false` | when set, fluxd will delete resources that it created, but are no longer present in git
| --sync-garbage-collection-dry | `false` | only log what would be garbage collected, rather than deleting. Implies --sync-garbage-collection
| --sync-state | `git` | Where to keep sync state; either a tag in the upstream repo (`git`), or as an annotation on the SSH secret (`secret`)
| **registry cache:** (none of these need overriding, usually)
| --memcached-hostname | `memcached` | hostname for memcached service to use for caching image metadata
| --memcached-timeout | `1s` | maximum time to wait before giving up on memcached requests
Expand Down