Create a repository.yaml file using the following example. Replace demo with the name of the project you are adding this repository to. Optionally, you can change helm-repo to another name; if you change the name, use that name for repository_ref in the workload.yaml file (see Create a Workload).
Create a workload.yaml file using the following example. Replace the names used in clusters, namespace, and project to match your environment where you want to publish the workload.
Create a values.yaml file that contains your Splunk information. Use the example below and change the following:
rafay_api_key - Your organization's API key. In the web console, select My Tools > Manage Keys.
rafay_api_secret - Your organization's API Secret key. In the web console, select My Tools > Manage Keys.
host - The root domain of your Splunk Server. You can find this in the URL field after you log in to your Splunk console. Example: splunkserver.mycompany.com.
secret_name - (Optional) Specify existing k8s secret name that contains your organization's API key, secret and splunk token. (See below is an example of k8s secret)
# Default values for rafay splunk audit log integration.# This is a YAML-formatted file.# Declare variables to be passed into your templates.config:## Rafay console URLurl:https://console.rafay.dev## Rafay API Keyrafay_api_key:RAFAY_API_KEY## Rafay API Secretrafay_api_secret:RAFAY_API_SECRET## Send Initial logs to splunk adog based on following value. Defaults to "14d" daysfilter:14d## Time Interval to send logs to splunkinterval:1m## Splunk Server Hosthost:splunkserver.mycompany.com## Splunk Server Portport:8088## Splunk HEC Tokensplunk_token:SPLUNK_TOKEN## Set to False for insecure splunk serverssl_verify:True## Index name to store audit logs toindex:k8s-cluster-audit## Existning Secret Name or leave it emptysecret_name:""image:repository:registry.rafay-edge.net/rafay-logs/rafay-splunkpullPolicy:Always# Overrides the image tag whose default is the chart appVersion.tag:0.3.8serviceAccount:# Specifies whether a service account should be createdcreate:true# Annotations to add to the service accountannotations:{}# The name of the service account to use.# If not set and create is true, a name is generated using the fullname templatename:rbac:create:truereplicaCount:1imagePullSecrets:[]nameOverride:""fullnameOverride:""deploymentAnnotations:{}podAnnotations:{}resources:{}# We usually recommend not to specify default resources and to leave this as a conscious# choice for the user. This also increases chances charts run on environments with little# resources, such as Minikube. If you do want to specify resources, uncomment the following# lines, adjust them as necessary, and remove the curly braces after 'resources:'.# limits:# cpu: 100m# memory: 128Mi# requests:# cpu: 100m# memory: 128MinodeSelector:{}tolerations:[]affinity:{}