Halloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix NowHalloween DealsAmazon USOctober picks are moving - compare before checkoutAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk4 min

How to Set Up SafeLine WAF on Kubernetes

SafeLine’s Kubernetes Helm instructions are in separate third-party preview and LTS chart repositories. Learn how to choose a track, secure its defaults, configure ingress, and validate the deployment before routing application traffic.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

You can install SafeLine on Kubernetes using either a preview or a separately maintained LTS Helm chart, but the chart repositories cited here are third-party projects—not confirmed Chaitin-endorsed production deployment paths. SafeLine itself is a self-hosted WAF and reverse proxy; its official repository also names an Ingress-NGINX integration for protecting Kubernetes ingress traffic. Choose a chart track, review and pin its version and values, secure its defaults, then validate the deployment and traffic flow in a non-production environment before relying on it.

What you are installing—and what the charts do not establish

SafeLine’s official project repository describes it as a self-hosted web application firewall and reverse proxy, and identifies an Ingress-NGINX integration for Kubernetes ingress traffic. The repository points to installation and configuration material, but the chart instructions below come from separate GitHub repositories. Their instructions are useful examples; they do not, by themselves, establish that Chaitin endorses or maintains those charts for production.

As an Amazon Associate I earn from qualifying purchases.

There are two chart tracks in the repositories covered here: one labeled preview and one labeled stable LTS. Treat their names as the repositories’ own maturity labels, not as independently verified support or maintenance guarantees. Confirm current vendor guidance and chart maintenance status before making a production choice.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Choose a chart track

Track Chart reference International image note Operational guidance in the README
Preview yaencn/safeline The preview README documents global.image.registry=chaitin and global.image.region="-g" for international images beginning with appVersion 8.8.2 on x86_64. It warns that Deployments should run one pod replica; more may cause WAF errors. It also documents service exposure and database defaults.
LTS yaencn/safeline-lts The LTS README documents the corresponding international-image settings beginning with appVersion 8.8.0. Check the current values and architecture support before using them. It also warns that Deployments should run one pod replica; more may cause WAF errors.

These version thresholds and settings are repository documentation, not a guarantee that a particular chart release remains current. Before installation, inspect the selected repository’s available chart versions and values, then pin the version you intend to deploy. Do not assume that a mutable README example identifies the latest release.

Check cluster prerequisites and deployment settings

Before running Helm, confirm that your cluster has a working ingress controller if you plan to use ingress, a DNS name for any exposed hostname, suitable persistent storage, and network access to the required image registry. The chart examples assume a usable Kubernetes and Helm environment; they do not establish platform-specific prerequisites for your cluster.

  • Change the database password. The preview chart documents changeit as the internal PostgreSQL password default. Set a unique secret value rather than carrying that default into a deployment.
  • Review cryptographic defaults. The preview README advises replacing the default EC private key for production.
  • Decide how services are exposed. The preview README documents Tengine as a LoadBalancer, management web as NodePort 31443, and internal PostgreSQL as a database option. These are chart defaults, not universal recommendations; check which services need to be reachable in your environment.
  • Plan persistence. Inspect the selected chart’s current storage values and ensure they match your storage class and retention requirements before installing.
  • Keep the replica warning in view. Both repositories warn against running multiple pod replicas for their Deployments because that can cause WAF errors. Do not infer horizontal-scaling or high-availability support from these chart instructions.

Install using Helm

The commands below follow the preview repository’s example. They are repository examples, not independently tested commands. Review the chart’s current README and values, including the chart version, before applying them to a cluster.

  1. Add the chart repository:

    helm repo add yaencn https://helm.yaencn.com/charts
  2. Install the preview chart in a dedicated namespace and enable its documented console ingress example:

    Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
    helm install safeline --namespace safeline 
      --set global.ingress.enabled=true 
      --set global.ingress.hostname="waf.example.com" 
      yaencn/safeline

    Replace waf.example.com with a hostname you control. The example does not pin a chart version or set a non-default database password; review the chart’s version and values and supply the necessary secure configuration before using it.

For the LTS track, the LTS README uses the chart reference yaencn/safeline-lts and shows an ingress hostname in its installation example. Follow that repository’s current instructions rather than assuming every preview-chart value or option is identical.

Configure console ingress, TLS, and application traffic separately

Console ingress is an optional chart setting; the chart documentation shows it disabled by default. Its example uses the nginx ingress class. If you configure a TLS Secret for the console hostname, create that Secret before installing the chart, as the chart README instructs.

Management-console access is not the same as application traffic passing through SafeLine. The console ingress setting exposes the management interface; it does not, on its own, demonstrate that a website has been onboarded behind the WAF.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The preview README documents global.exposeServicesAsPorts.enabled as true by default and recommends port exposure by default. For a chart configuration using Ingress mode for services, it says to set that value to false. Review the selected chart’s current values before changing the exposure model, and distinguish this chart setting from the official project’s separately named Ingress-NGINX integration.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Validate the release before routing real traffic

After installation, use your normal Kubernetes operating procedures to review the Helm release status, pod readiness, Services, Ingress resources, logs, and persistence. These are practical checks, not a readiness checklist prescribed by the cited chart documentation. Investigate failed pods, missing storage, unexpected external exposure, or an ingress hostname that does not resolve before moving forward.

Then add a protected website and route its traffic through SafeLine using the integration and application-onboarding instructions that match your chosen setup. The official repository names an Ingress-NGINX integration, but the chart extracts here do not establish its exact onboarding steps. Do not assume that enabling the management-console ingress configures application traffic automatically.

Test safely and plan recovery

Exercise benign application traffic and controlled security test cases in a non-production environment first. Watch application behavior and logs for false positives, and make sure you know how to remove or roll back the release and restore the prior application route before exposing production traffic. These are operational precautions, not reported test results for SafeLine or either chart.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.