Skip to content

APK Data Plane

Configuring APK Data Plane

Agent can be configured in both ways.

  1. API Manager as the control plane for APK
  2. APK as a gateway to API Manager

API Manager as the control plane for APK

  1. APK realated Configurations.

    Add following configuration to values.yaml file.

       cp:
                enableApiPropagation: true
                enabledSubscription: true
                host: "apim-apk-agent-service.apk.svc.cluster.local"
                skipSSLVerification: true
    
            dp:
                gatewayRuntime:
                    enforcer:
                        JWKSClient:
                            skipSSLVerification: false
                            hostnameVerifier: "AllowAll"
    

APK as a gateway to API Manager

  1. Configure Control Plane related configuration in Common Controller.

    Add following configuration to common-log-conf file to provide control plane related configs to common-controller. Here, need to provide the host of the APIM-APK Agent.

        [commoncontroller.controlplane]
            enabled = true
            host = "apim-apk-agent-service.apk.svc.cluster.local"
            skipSSLVerification = true
    
  2. Disable Hostname Verification for JWKS endpoint in APK Gateway.(Optional)

    Add following configuration to disable SSL/hostname verification to JWKS validation call in enforcer in log-conf.yaml.

        [enforcer.client]
            skipSSL = false
            hostnameVerifier = "AllowAll"