signalsciences
SignalSciences is a web application firewall. This chart is the installable agent.
About this chart
SignalSciences
SignalSciences is a hosted web application firewall.
Introduction
This chart adds the SignalSciences agent to all nodes in your cluster via a DaemonSet. This chart exposes a shared unix socket file on every node for your application code to connect to the agent with.
Prerequisites
Kubernetes 1.4+.
Installing the Chart
To install the chart with the release name my-release, retrieve your SignalSciences accessKeyId and secretAccessKey from your Agent Installation Instructions and run:
$ helm install --name my-release \
--set signalsciences.accessKeyId=YOUR-ACCESS-KEY-ID \
--set signalsciences.secretAccessKey=YOUR-SECRET-ACCESS-KEY \
$ helm install --name my-release \
stable/signalsciences
After a few minutes, you should see the agent in your SignalSciences dashboard.
Tip: List all releases using helm list
Uninstalling the Chart
To uninstall/delete the my-release deployment:
$ helm delete my-release
The command removes all the Kubernetes components associated with the chart and deletes the release.
Configuration
The following table lists the configurable parameters of the SignalSciences chart and their default values.
| Parameter | Description | Default |
|---|---|---|
signalsciences.accessKeyId | Your SignalSciences accessKeyId | Nil You must provide your own accessKeyId |
signalsciences.accessKeyIdExistingSecret | If set, use the secret with a provided name instead of creating a new one | nil |
signalsciences.secretAccessKey | Your SignalSciences secretAccessKey | Nil You must provide your own secretAccessKey |
signalsciences.secretAccessKeyExistingSecret | If set, use the secret with a provided name instead of creating a new one | nil |
image.repository | The image repository to pull from | marc/sigsci-agent |
image.tag | The image tag to pull | 3.12.1 |
image.pullPolicy | Image pull policy | IfNotPresent |
signalsciences.resources.requests.cpu | CPU resource requests | 200m |
signalsciences.resources.limits.cpu | CPU resource limits | 200m |
signalsciences.resources.requests.memory | Memory resource requests | 256Mi |
signalsciences.resources.limits.memory | Memory resource limits | 256Mi |
daemonset.podAnnotations | Annotations to add to the DaemonSet's Pods | nil |
daemonset.tolerations | List of node taints to tolerate (requires Kubernetes >= 1.6) | nil |
daemonset.nodeSelector | Node selectors | nil |
daemonset.affinity | Node affinities | nil |
daemonset.updateStrategy | Node affinities | nil |
Specify each parameter using the --set key=value[,key=value] argument to helm install. For example, |
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
$ helm install --name my-release \
--set signalsciences.accessKeyId=YOUR-ACCESS-KEY-ID,signalsciences.secretAccessKey=YOUR-SECRET-ACCESS-KEY \
<helm-repo>/signalsciences
$ helm install --name my-release \
Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,
$ helm install --name my-release -f my-values.yaml <helm-repo>/signalsciences
$ helm install --name my-release -f my-values.yaml stable/signalsciences Tip: You can copy and customize the default values.yaml
Secret
By default, this Chart creates two Secrets and puts the accessKeyId and secretAccessKey in those Secrets.
However, you can use manually created secret by setting the sginalsciences.accessKeyIdExistingSecret and signalsciences.secretAccessKeyExistingSecret values.
Deploy signalsciences with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has signalsciences on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartsignalsciences is pinned at v1.0.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply