-
Notifications
You must be signed in to change notification settings - Fork 118
CSPL-3357: Enforce Acknowledgment of Splunk General Terms (SGT) #1496
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
base: feature/splunk10
Are you sure you want to change the base?
Conversation
…nto CSPL_3357_configmap
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.
Is there way to simplify this to say "ACCEPT_SPLUNK_GENERAL_TERMS" and value as "yes" or "no" . and in the code we can pass "--accept-current-at-splunk-com" to docker image
@@ -16,6 +16,11 @@ SPLUNK_ENTERPRISE_IMAGE ?= "docker.io/splunk/splunk:edge" | |||
# add namespace to this | |||
WATCH_NAMESPACE ?= "" | |||
|
|||
# SPLUNK_GENERAL_TERMS is used for the mandatory acknowledgment mechanism for | |||
# the Splunk General Terms (SGT) https://www.splunk.com/en_us/legal/splunk-general-terms.html. | |||
# The value must be manually set to "--accept-current-at-splunk-com" |
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.
Is there way to simplify this to say "ACCEPT_SPLUNK_GENERAL_TERMS" and value as "yes" or "no" . and in the code we can pass "--accept-current-at-splunk-com" to docker image
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 am waiting to hear from the legal team, but we might need the user to manually put in the full acceptance. I will reach out and ask them.
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.
From Elizabeth Flemin from the legal team: "Unfortunately we need them to pass the exact argument - yes or no would go around the purpose of changing it."
if os.Getenv("SPLUNK_GENERAL_TERMS") == "--accept-current-at-splunk-com" { | ||
return nil | ||
} | ||
return fmt.Errorf("SPLUNK_GENERAL_TERMS environment variable must be set to \"--accept-current-at-splunk-com\". Update the splunk-operator-controller-manager deployment") |
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.
add an k8s event here
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.
can we also change the status of the CR to show the status message why its failing
This description was generated in part by GitHub Copilot.
Description
This pull request introduces changes to support a mandatory acknowledgment mechanism for the Splunk General Terms (SGT) in the Splunk Operator for Kubernetes. The updates include adding a new
SPLUNK_GENERAL_TERMS
environment variable, modifying deployment configurations, and updating documentation to guide users on the new requirements.Key Changes
Configuration Updates
SPLUNK_GENERAL_TERMS
with a default empty value in multiple configuration files, includingMakefile
,kustomization.yaml
, and deployment manifests. This variable must be set to"--accept-current-at-splunk-com"
to comply with the SGT acknowledgment mechanism. [1] [2] [3] [4] [5]Deployment Behavior
SPLUNK_GENERAL_TERMS
variable, ensuring it is passed during deployment or artifact generation. [1] [2] [3]Documentation Enhancements
README.md
anddocs/Install.md
on how to configure theSPLUNK_GENERAL_TERMS
variable during deployment. [1] [2]SplunkGeneralTermsMigration.md
, explaining the motivation, impact, and migration steps for the SGT acknowledgment mechanism.Minor Fixes
docs/AppFramework.md
(changed "LicenceManager" to "LicenseManager").Testing and Verification
Related Issues
PR Checklist