---
title: Enable FedRAMP-compliant Endpoints
source: https://docs.newrelic.com/docs/kubernetes-pixie/kubernetes-integration/advanced-configuration/enable-fedramp-endpoints
---

If you're installing New Relic's Kubernetes integration and need to ensure that your data is sent to [FedRAMP-compliant endpoints](https://docs.newrelic.com/docs/security/security-privacy/compliance/fedramp-compliant-endpoints/), this page explains how to accomplish this using both the Helm and Manifest install options.

For information about FedRAMP compliance at New Relic, visit our [FedRAMP documentation page](https://docs.newrelic.com/docs/security/security-privacy/compliance/certificates-standards-regulations/fedramp/).

### Helm [#helm]

You can enable FedRAMP support globally by setting the `global.fedramp.enabled` parameter to `true` when performing a Helm install.  This global setting will cascade down to all sub-charts contained within the `nri-bundle` parent chart, resulting in configuring all agents to send their data to New Relic's FedRAMP-compliant endpoints.

```shell
helm upgrade --install newrelic-bundle newrelic/nri-bundle \
  --set global.licenseKey=YOUR_LICENSE_KEY \
  --set global.cluster=YOUR_CLUSTER_NAME \
  --namespace=newrelic \
  --set newrelic-infrastructure.privileged=true \
  --set global.lowDataMode=true \
  --set kube-state-metrics.image.tag=KSM_VERSION \
  --set kube-state-metrics.enabled=true \
  --set kubeEvents.enabled=true \
  --set global.fedramp.enabled=true
```

If using a `values.yaml` file for your installation, you would enable the same parameter.

```yaml
...
global:
  fedramp:
    enabled: true
...
```

The full `nri-bundle` `values.yaml` file example can be found [here](https://github.com/newrelic/helm-charts/blob/master/charts/nri-bundle/values.yaml).

### Manifest [#manifest]

If installing using the Manifest install method from the [Guided Install](https://one.newrelic.com/nr1-core?account=2498654&state=d1aae74b-0ad6-b0f3-093d-cc89ecf89234), you'll need to append `"global.fedramp.enabled":"true"` to the JSON parameters that get passed to the `k8s-config-generator` service.

#### Example

```shell
function ver { printf "%03d%03d" $(echo "$1" | tr '.' ' '); } && \
K8S_VERSION=$(kubectl version --short 2>&1 | grep 'Server Version' | awk -F' v' '{ print $2; }' | awk -F. '{ print $1"."$2; }') && \
if [[ $(ver $K8S_VERSION) -lt $(ver "1.25") ]]; then KSM_IMAGE_VERSION="v2.6.0"; else KSM_IMAGE_VERSION="v2.7.0"; fi && \
  curl -X POST https://k8s-config-generator.service.newrelic.com/generate \
  -H 'Content-Type: application/json' \
  -d '{
    "global.cluster": "YOUR_CLUSTER_NAME",
    "global.namespace": "newrelic",
    "newrelic-infrastructure.privileged": "true",
    "global.lowDataMode": "true",
    "kube-state-metrics.image.tag": "'${KSM_IMAGE_VERSION}'",
    "kube-state-metrics.enabled": "true",
    "kubeEvents.enabled": "true",
    "global.licenseKey": "YOUR_LICENSE_KEY",
    "global.fedramp.enabled": "true"
  }' > newrelic.yaml && \
(kubectl create namespace newrelic ; kubectl apply -f newrelic.yaml)
```

### Validate FedRAMP setting

There are a couple of ways to validate that the FedRAMP endpoints have been configured successfully. First, validate the `ConfigMaps` to contain `fedramp: true`, where appropriate. The output from your cluster may vary depending on which components were installed.

#### ConfigMap validation

```shell
kubectl get cm -n newrelic -o yaml | grep fedramp -A 1
[output]         fedramp:
[output]           enabled: true
[output] --
[output]           cluster_name: minkube-fedramp-test
[output]         scrape_interval: 30s
[output] --
[output]       fedramp: true
[output]   kind: ConfigMap
[output] --
[output]             clusterName: minkube-fedramp-test
[output]             agentHTTPTimeout: 30s
[output] --
[output]         clusterName: minkube-fedramp-test
[output]       fedramp: true
[output]       http_server_enabled: true
[output] --
[output]         clusterName: minkube-fedramp-test
[output]       fedramp: true
[output]       http_server_enabled: true
[output] --
[output]         clusterName: minkube-fedramp-test
[output]       features:
[output] --
[output]       fedramp: true
[output]       http_server_enabled: true
```

#### Pod log validation

Additionally, you can check the `collectorURL` value in the pod logs. Our Infrastructure agent connects to this collector for data transmission.

> #### 💡 VERBOSE LOGS REQUIRED
>
> You'll need to enable verbose logs to view the `collectorURL`. Do this using the `--set newrelic-infrastructure.verboseLog=true` setting for the `nri-bundle` helm chart. When your validation is complete, you should disable verbose logs.

To validate that you enabled FedRAMP endpoints successfully, run the `kubectl` command as listed below and look for `collectorURL` in the log output. Be sure to replace the  `newrelic-bundle-nrk8s-kubelet-f74g2` pod name with a pod from your cluster.

```shell
kubectl logs newrelic-bundle-nrk8s-kubelet-f74g2 -n newrelic -c agent | grep collectorURL
[output] time="2023-07-26T20:09:33Z" level=debug msg="Collector URL" action=NormalizeConfig collectorURL="https://gov-infra-api.newrelic.com" component=Configuration
```
