Skip to content

Commit

Permalink
[AH-309]: Updated config to make Registry enabled by default (harness…
Browse files Browse the repository at this point in the history
…#2570)

* [AH-309]: Enabled Registry by default via config
* [AH-309]: Enabled Registry by default via config
* [AH-309]: Updated config to make Registry enabled by default
  • Loading branch information
arvind-choudhary-h authored and Harness committed Aug 22, 2024
1 parent 25d9124 commit 9ed0df9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .local.env
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,4 @@ GITNESS_SSH_HOST=localhost
GITNESS_SSH_PORT=2222

GITNESS_REGISTRY_STORAGE_TYPE=filesystem
GITNESS_REGISTRY_ENABLED=false
GITNESS_REGISTRY_FILESYSTEM_ROOT_DIRECTORY=/tmp
2 changes: 1 addition & 1 deletion types/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ type Config struct {
}

Registry struct {
Enable bool `envconfig:"GITNESS_REGISTRY_ENABLED" default:"false"`
Enable bool `envconfig:"GITNESS_REGISTRY_ENABLED" default:"true"`
Storage struct {
// StorageType defines the type of storage to use for the registry. Options are: `filesystem`, `s3aws`
StorageType string `envconfig:"GITNESS_REGISTRY_STORAGE_TYPE" default:"filesystem"`
Expand Down

0 comments on commit 9ed0df9

Please sign in to comment.