Skip to content

Commit

Permalink
fix(controller): revert release.check_image_access for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Cryptophobia committed Jun 14, 2019
1 parent 6e317cc commit 13dd3db
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions rootfs/api/models/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -520,9 +520,6 @@ def deploy(self, release, force_deploy=False, rollback_on_failure=True): # noqa
image = settings.SLUGRUNNER_IMAGE if release.build.type == 'buildpack' else release.image

try:
# check access to the image, so users can't exploit the k8s image cache
# to gain access to other users' images
release.check_image_access()
# create the application config in k8s (secret in this case) for all deploy objects
self.set_application_config(release)
# only buildpack apps need access to object storage
Expand Down

0 comments on commit 13dd3db

Please sign in to comment.