Skip to content

Commit

Permalink
changed splunk version to 9.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
vivekr-splunk committed Jan 2, 2024
1 parent 4b5f05f commit 1dbc0b9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ KUBECTL_VERSION=v1.28.0
AZ_CLI_VERSION=2.30.0
EKSCTL_VERSION=v0.143.0
EKS_CLUSTER_K8_VERSION=1.26
SPLUNK_ENTERPRISE_RELEASE_IMAGE=splunk/splunk:9.1.1
SPLUNK_ENTERPRISE_RELEASE_IMAGE=splunk/splunk:9.1.2
7 changes: 7 additions & 0 deletions pkg/splunk/enterprise/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,19 @@ func (k *K8EventPublisher) publishEvent(ctx context.Context, eventType, reason,
// based on the custom resource instance type find name, type and create new event
switch v := k.instance.(type) {
case *enterpriseApi.Standalone:
event = v.NewEvent(eventType, reason, message)
case *enterpriseApiV3.LicenseMaster:
event = v.NewEvent(eventType, reason, message)
case *enterpriseApi.LicenseManager:
event = v.NewEvent(eventType, reason, message)
case *enterpriseApi.IndexerCluster:
event = v.NewEvent(eventType, reason, message)
case *enterpriseApi.ClusterManager:
event = v.NewEvent(eventType, reason, message)
case *enterpriseApiV3.ClusterMaster:
event = v.NewEvent(eventType, reason, message)
case *enterpriseApi.MonitoringConsole:
event = v.NewEvent(eventType, reason, message)
case *enterpriseApi.SearchHeadCluster:
event = v.NewEvent(eventType, reason, message)
default:
Expand Down

0 comments on commit 1dbc0b9

Please sign in to comment.