Grafana FIPS Mode

Grafana runs with FIPS mode on by default. In FIPS mode, Go rejects TLS 1.2 connections to servers that do not support Extended Master Secret (EMS). After the upgrade to release 4.4.0, this can break Grafana email contact points, which fail with the error tls: FIPS 140-3 requires the use of Extended Master Secret. Other TLS connections from Grafana can hit the same check.

If your environment does not require FIPS compliance, we recommend that you turn FIPS mode off for Grafana.

Keep the default if your environment requires FIPS compliance. With GOLANG_FIPS set to 0, Grafana does not use the FIPS cryptographic module. If Grafana, or some of its features, do not work in a FIPS environment, contact Kloudfuse support.

Turn Off FIPS Mode

  1. Add the following to your custom-values.yaml file. If you already have settings under grafana.env, add this one to them. Keep the quotes around the value.

    grafana:
      env:
        GOLANG_FIPS: "0"
    yaml
  2. Apply the change with a Helm upgrade of your Kloudfuse release, using your custom-values.yaml file. See Upgrade Instructions.

  3. Confirm that Grafana has the setting. Replace kfuse with your Kloudfuse namespace. The output is 0.

    kubectl exec -n kfuse deployment/kfuse-grafana -c grafana -- printenv GOLANG_FIPS
  4. Confirm that the problem is fixed. In Grafana, send a test notification from the affected contact point. The variable being set does not prove that the check no longer fails.