How to configure custom IP address to hostname for kubernetes
search cancel

How to configure custom IP address to hostname for kubernetes

book

Article ID: 282138

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

In older version 9.x of the gateway we used IP address to connect to the LDAPS.  In newer gateways this fails 

Environment

Gateway 11

Cause

Gateway 11 needs to be configured to use hostname that matches the certificate 

Resolution

The HELM charts section to configure ip-to-hosts for individual PODS 

HELM charts and downloaded the latest

https://github.com/CAAPIM/apim-charts

The options to add hostAliases is in the helm chart deployment 

https://github.com/CAAPIM/apim-charts/blob/stable/charts/gateway/values.yaml  

Review the values.yaml this is where the values can be added 

# Configure custom hosts

customHosts:

  enabled: true

  hostAliases: []

   - hostnames:

     - "ldaphost1.domainname"

      ip: "<ip_address>"