mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
nixos/gitlab: fix registry.issuer setting
Prior to this change, the configuration value for `services.gitlab.registry.issuer` was only referenced by the docker-registry configuration and in the `gitlab-registry-cert` service while the gitlab config used the hard-coded value "gitlab-issuer".
This commit is contained in:
parent
faa274adf3
commit
e2a322b3cd
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ let
|
||||||
port = cfg.registry.externalPort;
|
port = cfg.registry.externalPort;
|
||||||
key = cfg.registry.keyFile;
|
key = cfg.registry.keyFile;
|
||||||
api_url = "http://${config.services.dockerRegistry.listenAddress}:${toString config.services.dockerRegistry.port}/";
|
api_url = "http://${config.services.dockerRegistry.listenAddress}:${toString config.services.dockerRegistry.port}/";
|
||||||
issuer = "gitlab-issuer";
|
issuer = cfg.registry.issuer;
|
||||||
};
|
};
|
||||||
extra = {};
|
extra = {};
|
||||||
uploads.storage_path = cfg.statePath;
|
uploads.storage_path = cfg.statePath;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue