Closed dacleyra closed 4 years ago
@stephenkinder @mdenby @davco01a Any thoughts on whether to show or not show the digest warning when a stack is inactive.
My thoughts:
Keep showing the warning on inactive status - I think its nice to know there will be a warning if you do decide to activate the stack.
Do not show the warning on inactive status - Will not distract the user from thinking there is a problem, cleaner UI, but will show up the second they activate the stack which may be a surprise. This also means they won't know there is a digest issue until they already activated the stack.
@stephenkinder @mdenby @davco01a Any thoughts on whether to show or not show the digest warning when a stack is inactive.
My thoughts:
Keep showing the warning on inactive status - I think its nice to know there will be a warning if you do decide to activate the stack.
Do not show the warning on inactive status - Will not distract the user from thinking there is a problem, cleaner UI, but will show up the second they activate the stack which may be a surprise. This also means they won't know there is a digest issue until they already activated the stack.
@alohr51 Why would the warning be there when you activate? warning was not there when stacks were active. Warning happening when the stack is deactivated.
The digest metadata is unavailable in the Stack CR when it’s inactive
If the stack is in use, then show the warning. But if it's not being used--for either/or builds and deploys--don't show it.
@alohr51 @davco01a Since the Stack CR holds the digest at the time of activation, the digest value is undefined if it is inactive. When you active the stack, the digest will be set -- so no error will result when the stack is reactivated, the "digest at activation" is reset to the new value.
+1 @stephenkinder
Describe the bug
Originally from @mtamboli https://github.com/kabanero-io/kabanero-operator/issues/700
After enabling OAuth for landing page, I see that governance policy is displayed. But it is showing below warning about active stacks which does not relevant to me and taking too much attention of the user. Talked to @dacleyra and he thinks that operator might be able suppress them.
Probably need to check active/inactive before performing digest check. An inactive Stack does not have a Status with asset digests.
Expected behavior
Actual behavior
Steps to reproduce the bug
Environment where the bug occurred
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context