-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Make startup probe configurable (#35)
* feat: Make startup probe configurable Signed-off-by: Yoep Kortekaas <[email protected]> * chore: fix typo Signed-off-by: Yoep Kortekaas <[email protected]> * test: add test for startup probe Signed-off-by: Yoep Kortekaas <[email protected]> * chore: version bump after rebase Signed-off-by: Yoep Kortekaas <[email protected]> --------- Signed-off-by: Yoep Kortekaas <[email protected]>
- Loading branch information
1 parent
1bbca56
commit 6e4339c
Showing
6 changed files
with
80 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Patterns to ignore when building packages. | ||
# This supports shell glob matching, relative path matching, and | ||
# negation (prefixed with !). Only one pattern per line. | ||
.DS_Store | ||
# Common VCS dirs | ||
.git/ | ||
.gitignore | ||
.bzr/ | ||
.bzrignore | ||
.hg/ | ||
.hgignore | ||
.svn/ | ||
# Common backup files | ||
*.swp | ||
*.bak | ||
*.tmp | ||
*.orig | ||
*~ | ||
# Various IDEs | ||
.project | ||
.idea/ | ||
*.tmproj | ||
.vscode/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
apiVersion: v2 | ||
name: default | ||
description: Test chart for zot with startupProbe | ||
type: application | ||
version: 0.1.0 | ||
appVersion: "0.1.0" | ||
dependencies: | ||
- name: zot | ||
version: ~0.1.44 | ||
repository: "file://../../../charts/zot" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
zot: | ||
startupProbe: | ||
initialDelaySeconds: 5 | ||
periodSeconds: 10 | ||
# Increase failure threshold to give Zot up to 5 minutes to start up | ||
failureThreshold: 30 | ||
|
||
# Create and mount config that enables search/ui extension | ||
mountConfig: true | ||
configFiles: | ||
config.json: |- | ||
{ | ||
"storage": { "rootDirectory": "/var/lib/registry" }, | ||
"http": { "address": "0.0.0.0", "port": "5000" }, | ||
"log": { "level": "debug" }, | ||
"extensions": { | ||
"search": { | ||
"enable": true | ||
}, | ||
"ui": { | ||
"enable": true | ||
} | ||
} | ||
} |