Skip to content
This repository was archived by the owner on Sep 5, 2019. It is now read-only.
This repository was archived by the owner on Sep 5, 2019. It is now read-only.

Allow users to define cluster-scoped BuildTemplates #302

@imjasonh

Description

@imjasonh

Some cluster operators might want to provide and manage predefined build templates, available across all namespaces.

We should create a ClusterBuildTemplate resource type which is available cluster-wide.

Questions

  • If a user creates a BuildTemplate in their namespace with a conflicting name with an existing ClusterBuildTemplate should we allow that or reject it?
  • If we allow it, a Build would have to specify template.name: 'some-namespace/the-template' to specify the namespaced template.
  • If we disallow it, creating a new ClusterBuildTemplate would have to look for a conflicting name across all namespaces.

I'm not familiar enough with Kubernetes API ClusterFoo idioms to know which is more consistent, hoping for pointers from those with more experience.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions