atomicapp
atomicapp copied to clipboard
Interacte through artifacts similar to OpenShift.
Kubernetes provider does not do this at the moment similar to OpenShift:
for artifact in objects:
namespace = self._get_namespace(artifact)
url = self._get_url(namespace, kind)
if self.dryrun:
logger.info("DRY-RUN: %s", url)
continue
self.oc.deploy(url, artifact)
If a single file is provided with multiple artifacts we should iterate through each object.
Will be taken care of when we move kube to share code with openshift and use the api: https://github.com/projectatomic/atomicapp/issues/446