-
Notifications
You must be signed in to change notification settings - Fork 9
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
KEP 89: Lifecycle Toolkit - Context Information in Keptn Tasks #91
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Thomas Schuetz <[email protected]>
Signed-off-by: Thomas Schuetz <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have mixed feelings for this KEP. On one hand, I see the benefits of giving the tasks as much information as they need. Whenever we add extra info to our CRDs (e.g., KEP88), they get it for free without code change. On the other hand, tasks need to parse the JSON which require them to be aware of the version of App and Workload. Furthermore, as highlighted in the drawback section, there might be severe security issue in the future.
|
||
## Assumptions / Definitions | ||
* It might be easier to pass over the whole KeptnAppVersion or KeptnWorkloadInstance as a JSON string instead of passing over the individual fields. | ||
* There is no sensitive information in the context information |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would follow RFC2119 and have extra emphasis on this requirement
* There is no sensitive information in the context information | |
* There MUST NOT be sensitive information in the context information |
## Drawbacks | ||
* The context information might be too big for some tasks | ||
* The context information might contain sensitive information in the future which has to be filtered out | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Tasks need to be aware of the `KeptnAppVersion` and `KeptnWorkloadInstance` version |
|
Which information would you like to pass over, for example? Personally, I'm not a fan of having too many CRDs, especially as the synchronization in a GitOps setup might get a bit tricky ... |
+1 |
Co-authored-by: Giovanni Liva <[email protected]> Signed-off-by: Moritz Wiesinger <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This KEP is basically fully implemented by keptn/lifecycle-toolkit#1394
Signed-off-by: Thomas Schuetz [email protected]