Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/AppFramework.md
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ Note: The Splunk cluster peer restarts are triggered by the contents of the Splu

The App Framework maintains a checksum for each app or add-on archive file in the App Source location in the form of the Etag of the remote storage object. The app name and checksum is recorded in the CR, and used to compare the deployed apps to the app archive files in the App Source location. The App Framework will scan for changes to the App Source folders using the polling interval, and deploy any updated apps to the instance. For the App Framework to detect that an app or add-on had changed, the updated app must use the same archive file name as the previously deployed one.

To disable applying the cluster bundle by default when the cluster manager pod starts up, add the environment variable `SPLUNK_SKIP_CLUSTER_BUNDLE_PUSH="true"` to the splunk-operator-controller-manager deployment, or the individual CRs. This option is available for Splunk Enterprise versions 9.2.8, 9.3.6, 9.4.4, and 10.x. Check the compatibility with SOK versions in the [releases](https://github.com/splunk/splunk-operator/releases).
By default, the Splunk Operator will skip applying the cluster bundle on startup by setting the environment variable `SPLUNK_SKIP_CLUSTER_BUNDLE_PUSH` to `true`. The operator will take care of running the `apply cluster-bundle` command in the app framework logic. To enable applying the cluster bundle by default when the cluster manager pod starts up, set the environment variable `SPLUNK_SKIP_CLUSTER_BUNDLE_PUSH` to `false` in the individual CRs. This option is available for Splunk Enterprise versions 9.2.8, 9.3.6, 9.4.4, and 10.x. Check the compatibility with SOK versions in the [releases](https://github.com/splunk/splunk-operator/releases).

**It is not supported to upload the same app under different archive file names.** If an app is not updating after uploading a new version under the same archive file name, do not upload the app using a different archive filename. Instead, check the [troubleshooting](#app-framework-troubleshooting) section for ways to debug the issue.

Expand Down
14 changes: 7 additions & 7 deletions pkg/splunk/enterprise/clustermanager_test.go

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions pkg/splunk/enterprise/clustermaster_test.go

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions pkg/splunk/enterprise/configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -947,6 +947,7 @@ func updateSplunkPodTemplateWithConfig(ctx context.Context, client splcommon.Con
{Name: "SPLUNK_SERVICE_NAME", Value: GetSplunkServiceName(instanceType, cr.GetName(), false)},
{Name: "SPLUNK_HEADLESS_SERVICE_NAME", Value: GetSplunkServiceName(instanceType, cr.GetName(), true)},
{Name: "DOMAIN_NAME", Value: domainName},
{Name: "SPLUNK_SKIP_CLUSTER_BUNDLE_PUSH", Value: "true"},
}

// update variables for licensing, if configured
Expand Down
14 changes: 7 additions & 7 deletions pkg/splunk/enterprise/indexercluster_test.go

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions pkg/splunk/enterprise/licensemanager_test.go

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions pkg/splunk/enterprise/licensemaster_test.go

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions pkg/splunk/enterprise/monitoringconsole_test.go

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions pkg/splunk/enterprise/searchheadcluster_test.go

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions pkg/splunk/enterprise/standalone_test.go

Large diffs are not rendered by default.

Loading