Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(artifacts): Add docker and kubernetes artifact types #3424

Merged

Conversation

jkschneider
Copy link
Member

Adds docker and kubernetes artifact types to clouddriver-artifacts.

Docker

Previously, Deck considered Docker artifacts to be publicly accessible, so always showed the Docker artifact type in the list of kinds selectable when creating new expected artifacts. Some cloud providers can't do anything with a Docker image though, so we want to be able to further conditionalize the display of this kind in the UI. We do that by only surfacing a (no credential) Docker artifact account from clouddriver when K8S is enabled. If other providers can do something with a Docker image, they can simply add to the @ConditionalOnProperty in DockerArtifactConfiguration.

Kubernetes

Previously, Kubernetes resources needed to be defined with the Custom artifact editor in Deck. With spinnaker/deck#6634, a Kubernetes artifact editor has been added. We want to conditionalize when this editor is available in the UI, and so have added a similar @ConditionalOnProperty to KubernetesArtifactConfiguration.

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@ezimanyi ezimanyi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants