Skip to content

Commit

Permalink
Forgot to namespace to short image name
Browse files Browse the repository at this point in the history
  • Loading branch information
keet committed Dec 11, 2018
1 parent a690d36 commit a023117
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/aks.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ def image_name_template(self) -> str:
@property
def short_image_name_template(self) -> str:
if self.templates is None:
return '$APP/__CONTAINER__'
return '$NAMESPACE/$APP/__CONTAINER__'
else:
return self.templates.get('aks_short_image_name', '$APP/__CONTAINER__')
return self.templates.get('aks_short_image_name', '$NAMESPACE/$APP/__CONTAINER__')

def get_build_image_name(self, container: str) -> str:
image_name = generate_image_name(container, self.image_name_template)
Expand Down

0 comments on commit a023117

Please sign in to comment.