Support multiple environment scopes for Kubernetes Cluster
Problem to solve
I would like to use the same Kubernetes Cluster for multiple environments.
Intended users
Developer, Release Manager
Further details
It may be useful to deploy multiple environments to the same Kubernetes cluster. E.g. it is useful to have a staging and review environment, but using multiple clusters for this might not be worth the cost.
Proposal
- Make the environment scope comma separated. For example
staging,review/*
would mean Kubernetes deployments can be done for environments tostaging
,review/foo
, andreview/bar
. - Use globs, not wildcards. The environment scope would then become
{staging,review/*}
- Add multiple fields for the environment scope.