Skip to content

Commit

Permalink
nixos/gitlab: fix registry.issuer setting
Browse files Browse the repository at this point in the history
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".
  • Loading branch information
WilliButz committed Jul 4, 2022
1 parent faa274a commit e2a322b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/services/misc/gitlab.nix
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ let
port = cfg.registry.externalPort;
key = cfg.registry.keyFile;
api_url = "http://${config.services.dockerRegistry.listenAddress}:${toString config.services.dockerRegistry.port}/";
issuer = "gitlab-issuer";
issuer = cfg.registry.issuer;
};
extra = {};
uploads.storage_path = cfg.statePath;
Expand Down

0 comments on commit e2a322b

Please sign in to comment.