splunk / splunk-operator

Splunk Operator for Kubernetes
Other
210 stars 115 forks source link

App Framework: Required restarts are note handled by AppFramework #1402

Open mag-mkorn opened 4 days ago

mag-mkorn commented 4 days ago

Please select the type of request

Bug

Tell us more

Describe the request Installing apps that require restarts are not properly handled by the splunk operator. We end up with messages for required restarts after any new app deployments.

Splunk must be restarted for changes to take effect. [Click here to restart from Server controls](https://demo.example.com:8000/en-US/manager/search/control).
User 'admin' triggered the 'create' action on app 'demo-app', and the following objects required a restart: global-banner 

Expected behavior The process of deploying apps should be entirely managed by AppFramework without requiring additional manual tasks after installing the new or upgraded apps.

Splunk setup on K8S No specific setup, reproducable with simple standalone instance using AppFramework.

Reproduction/Testing steps Install any app with content that requires restarts. For example:

global-banner.conf
---
[BANNER_MESSAGE_SINGLETON]
global_banner.visible = true
global_banner.background_color = orange
global_banner.hyperlink = https://demo.example.com
global_banner.hyperlink_text = Demo Banner