Enabling content security headers on Kubernetes
The changes in this task affect the following pods:
-
web
-
Edit the values.yaml file.
-
Add the following parameter to the file, where company_domain is the domain name.
contentSecurityPolicy: frame-ancestors https://*.company\_domain
-
Apply the changes to the configuration.
Run the helm upgrade command from the helm directory where the Sametime installation package was unzipped.
Specify the Sametime deployment name.
helm upgrade sametime\_deployment\_name .
Note: The dot is part of the command.
-
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.
-
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
-
Run the following command to scale the pod to one.
kubectl scale deploy pod\_deployment\_name --replicas=1
-
Parent Topic: Integrating with other applications