Page MenuHomeDevCentral

Allow Dwellers to access private Docker registry
ClosedPublic

Authored by dereckson on Feb 27 2020, 09:37.
Tags
None
Referenced Files
F2740873: D2264.id5691.diff
Wed, Mar 27, 22:12
F2740865: D2264.id5692.diff
Wed, Mar 27, 22:10
F2740786: D2264.id5688.diff
Wed, Mar 27, 21:59
Unknown Object (File)
Fri, Mar 22, 20:27
Unknown Object (File)
Fri, Mar 22, 20:21
Unknown Object (File)
Fri, Mar 22, 20:07
Unknown Object (File)
Fri, Mar 22, 20:06
Unknown Object (File)
Fri, Mar 22, 19:20
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