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

Support mandatory and opt-out deployment activation #256

Open
gberche-orange opened this issue May 3, 2019 · 0 comments
Open

Support mandatory and opt-out deployment activation #256

gberche-orange opened this issue May 3, 2019 · 0 comments

Comments

@gberche-orange
Copy link
Member

gberche-orange commented May 3, 2019

Is your feature request related to a problem? Please describe.

As a service author, in order to reduce the amount of release note documentation necessary to explicitly enable mandatory components, I need to specify that a component is mandatory and does not require opt-in through enable-deployment.yml config artefact.

Describe the solution you'd like

A flag in deployment-dependencies.yml such as deployment.bosh-deployment.resources.secrets.enable-deployment=always|opt-in|opt-out

when set to :

  • always: the deployment is systematically enabled regardless of the presence/absence of enable-deployment.yml or disable-deployment.yml
  • opt-in: (also default when unspecified) the deployment is only enabled in presence of enable-deployment.yml.
  • opt-out: the deployment is only enabled in presence of disable-deployment.yml

This triggers an error during pipeline generation to have both enable-deployment.yml and disable-deployment.yml for a given deployment in the config repo

Describe alternatives you've considered

  • Renaming deployment-dependencies.yml to a more generic name such as deployment-settings.yml and use a more meaningfull property naming such as deployment.bosh-deployment.enable-deployment=always|opt-in|opt-out

Additional context

Relates to https://github.com/orange-cloudfoundry/paas-templates/issues/342

This might also address #201 and #67

@gberche-orange gberche-orange changed the title Support mandatory and opt-out deployment activatioin Support mandatory and opt-out deployment activation May 3, 2019
@o-orand o-orand moved this to P2 in CF OPS Automation Aug 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

2 participants