Configuring LTPA in Kubernetes

This topic includes the steps to configure LTPA keys on Kubernetes.

Before you begin

You must have already created a secret that contains your LPTA keys before you can compete this task. For more information on using WebSphere Liberty to generate LTPA keys, see Generating LTPA keys.

About this task

The changes in this task affect the following pods:
  • community

Procedure

  1. Create a secret that contains your LTPA keys.
    kubectl create secret generic ltpa-keys --from-file=./ltpa.keys 
  2. Change to the helm/templatesdirectory and open the sametime-secrets.yaml file.
  3. Find the base64 encoded value for your pass code.
    To base64 encode the password, you can enter the following command in a Linux shell:
    echo -n ltpa_key_password
  4. Locate the LtpaKeysPassword line and replace the existing text with the base64 encoded LTPA key password.
  5. Save and close the sametime-secrets.yaml file.
  6. In the helm/values.yaml file set enableLtpa to true.
    enableLtpa = true
  7. Apply your changes to the environment.
    Verify that you are in the helm directory and run the following command to apply changes. Specify the Sametime deployment name for your environment. The default for Sametime Premium version 12 is sametime.
    helm upgrade sametime_deployment_name .
    Note: Be sure to include the dot at the end. It is part of the command.
    If you are unsure of your deployment name, issue the helm list command to find the name. If you upgraded from an earlier Sametime release, the default name is sametime-meetings.
  8. Restart the pods with the changes. Use the kubectl scale command to scale the pods to zero and then to one that have been changed. You must run the commands for each pod that the change affects.
    1. Run the following command to scale the pod to zero.
      Scale the pod to zero, where pod_deployment_name is the pod name.
      
      kubectl scale deploy pod_deployment_name --replicas=0
      
    2. Run the following command to scale the pod to one.
      
      kubectl scale deploy pod_deployment_name --replicas=1