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

make field container.image of component to be configurable by parameters #265

Open
wonderflow opened this issue Nov 19, 2019 · 2 comments
Open

Comments

@wonderflow
Copy link
Member

Most of our users told us that we need to make container.image of ComponentSchematic to be configurable. The case is that once the component has been created, only image tag need to be upgraded. But we still have to create a new ComponentSchematic spec with a new Application Configuration spec to upgrade an app.

I know in OAM principle, the Component Spec is concerned by the app developer. In that word, image upgrade need to change the Component spec indeed. But in the cases above, the developer use container image as deliverables, the requirement of changing component spec seems a little harsh and give them more burden.

ps: An OCI image usually combined with a repo name and a tag like nginx:v1, the image tag means v1 in the example.

@linfan
Copy link

linfan commented Nov 19, 2019

Since the image tag is usual generated by CI (e.g. Jenkins), app developer sometimes really doesn't case about what is the next tag number. While the guy who does the deployment job (usually operators) would know it better 🤠

@wonderflow
Copy link
Member Author

I think this issue is related to #350

We have released v1alpha2 and in that version, OAM Component should be an instance which means the image changed in Component can directly affect the App without redeploy AppConfig.

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

No branches or pull requests

2 participants