Conjur: How to enable authenticators in Conjur Follower Operator deployed with OpenShift OLM
86
Created On 11/10/26 11:02 AM - Last Modified 11/10/26 16:12 PM
Objective
For Conjur Follower deployed with conjur-appliance image, we can simply use any of the following methods to enable authenticator:
1. Use evoke command:
evoke variable set CONJUR_AUTHENTICATORS authn-k8s/dev-cluster(assuming authenticator to be enabled is authn-k8s/dev-cluster)
2. Add the following line in /opt/conjur/etc/conjur.conf file in the Kubernetes Follower, followed by the restart of conjur, postgres, and nginx services.
CONJUR_AUTHENTICATORS=authn-k8s/dev-cluster
However, in the Conjur Follower Operator deployed with OpenShift OLM:
- conjur.conf file is not present, and
- evoke command is not available.
Environment
12.0;12.1;12.2;12.4;12.3;12.5;12.6;12.7 Conjur Server
Procedure
For Conjur Follower deployed with conjur-appliance image, follow the steps below for enabling authenticator:
(assuming authenticators to be enabled are both "authn" and "authn-k8s/dev-cluster")
1. Ensure that you have a local conjur.yml file with content as follow:
#List of authenticators enabled for this node authenticators: - authn-k8s/dev-cluster - authnReference:
https://docs.cyberark.com/Product-Doc/OnlineHelp/AAM-DAP/12.6/en/Content/Deployment/DAP/manage-config-file.htm
2. Using oc command to apply local conjur.yml file above to the Kubernetes Follower by storing the file in a ConfigMap:
oc create configmap -n cyberark-conjur conjur-config --from-file=conjur.yml=path/to/local/conjur.yml
For reference, refer to this section:
"4. (OPTIONAL) Create a ConfigMap for the Conjur configuration file"
, under:
https://docs.cyberark.com/Product-Doc/OnlineHelp/AAM-DAP/12.6/en/Content/Integrations/k8s-ocp/k8s-k8sfollower-dply.htm#configmap-config
3. During the deployment of Kubernetes Follower, ensure that under "From a ConfigMap", enter ConfigMap key and name created earlier:
-Key: conjur.yml
-Name: conjur-config
For more details, refer to the "5. Deploy the Kubernetes Follower" step mentioned in:
https://docs.cyberark.com/Product-Doc/OnlineHelp/AAM-DAP/12.6/en/Content/Integrations/k8s-ocp/k8s-k8sfollower-dply.htm#configmap-config