Skip to content
This repository was archived by the owner on Jan 19, 2018. It is now read-only.
This repository was archived by the owner on Jan 19, 2018. It is now read-only.

You should be able to provide a default provider within Nulecule #378

@cdrage

Description

@cdrage

An issue that we're facing is that there is no way to assign a default provider outside of the answers.conf.

If an Atomic App is packaged with only a Docker provider, by running atomic run cdrage/testimage the container by default will try to run k8s if no answers.conf is provided.

I propose we add (somewhere) to the Nulecule graph a default provider.

metadata:
  name: Hello Apache App
  appversion: 0.0.1
  description: Atomic app for deploying a really basic Apache HTTP server
graph:
  - name: helloapache-app
  - defaultprovider: docker
    params:
      - name: image
        description: The webserver image
        default: centos/httpd
      - name: hostport
        description: The host TCP port as the external endpoint
        default: 80
    artifacts:
      docker:
        - file://artifacts/docker/hello-apache-pod_run
      kubernetes:
        - file://artifacts/kubernetes/hello-apache-pod.json

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions