Skip to content

Commit

Permalink
Improve k8s with configmaps
Browse files Browse the repository at this point in the history
  • Loading branch information
micafer committed Feb 23, 2024
1 parent 26e182d commit 5ed2eea
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions IM/tosca/Tosca.py
Original file line number Diff line number Diff line change
Expand Up @@ -2228,8 +2228,7 @@ def _gen_k8s_system(self, node, nodetemplates):

if not image:
raise Exception("No image specified for K8s container.")
if "tosca.artifacts.Deployment.Image.Container.Docker" != artifact.get("type", None):
raise Exception("Only Docker images are supported for K8s container.")

repo = artifact.get("repository", None)
if repo:
repo_url = self._get_repository_url(repo)
Expand Down

0 comments on commit 5ed2eea

Please sign in to comment.