Page MenuHomeDevCentral

Allow Dwellers to access private Docker registry
ClosedPublic

Authored by dereckson on Feb 27 2020, 09:37.
Tags
None
Referenced Files
F3773837: D2264.diff
Sun, Nov 24, 08:42
F3769195: D2264.diff
Sat, Nov 23, 13:31
Unknown Object (File)
Fri, Nov 22, 04:11
Unknown Object (File)
Sun, Nov 17, 18:44
Unknown Object (File)
Thu, Nov 14, 09:49
Unknown Object (File)
Wed, Nov 13, 14:23
Unknown Object (File)
Wed, Nov 13, 14:01
Unknown Object (File)
Wed, Nov 13, 10:42
Subscribers
None

Details

Summary

As IntraNought and Drake Networks aren't ready,
we can instead use ICANN IPs.

Test Plan

docker push registry.nasqueron.org/cachet:D2258

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.
Equatower
$ salt-call state.sls_id /etc/nginx/vhosts/registry/registry.conf roles/paas-docker
local:
----------
          ID: /etc/nginx/vhosts/registry/registry.conf
    Function: file.managed
      Result: True
     Comment: File /etc/nginx/vhosts/registry/registry.conf updated
     Started: 09:54:40.547443
    Duration: 121.678 ms
     Changes:
              ----------
              diff:
                  ---
                  +++
                  @@ -34,7 +34,8 @@

                       location / {
                           allow 127.0.0.1;
                  -        allow 10.0.2.1;
                  +        allow 51.255.124.11;
                  +        allow 2001:470:1f13:ce7:ca5:cade:fab:1e;
                           deny all;

                           # Allows large image uploads, with chunked transfers (avoids HTTP 411 and 413)

Summary for local
------------
Succeeded: 1 (changed=1)
Failed:    0
------------
Total states run:     1
Total run time: 121.678 ms
This revision is now accepted and ready to land.Feb 27 2020, 09:57
Dwellers
$ docker push registry.nasqueron.org/cachet:D2258

The push refers to repository [registry.nasqueron.org/cachet]
47c84144fa18: Pushed
fb93d445bf1a: Pushed
3a7edd27e4fe: Pushed
9ce6970945d9: Pushed
2a6d68946b6b: Pushing [==========================================>        ]  174.8MB/205.5MB
6e053947e4b8: Pushing [=================>                                 ]   93.7MB/267.7MB
4273bd3084fa: Pushing [============================>                      ]  73.84MB/129.1MB