Hello,
I am trying to setup conjur with kubernetes authenticator. I have my conjur cluster running on conjur-demo.myorg.com which is accessible externally which I set up using the following command:
helm install conjur-cluster cyberark/conjur-oss \
--set ssl.hostname=conjur-demo.myorg.com \
--set dataKey="$(docker run --rm cyberark/conjur data-key generate)" \
--set authenticators="authn\,authn-k8s/dev" \
--set account.create=true \
--set service.external.enabled=true \
--namespace conjur
I have a created a default
account and an admin
user and I am able to login to my cluster using conjur cli
. As a next step I want to load the policies into the cluster. The policies are taken from the tutorial here: Secure Kubernetes Secrets | Conjur
When I try to upload the policies I am getting an error:
conjur policy load root policy_for_human_users.yml
error: No such file or directory @ rb_sysopen - policy_for_human_users.yml
Even when given the absolute file path I am getting the same error.
File permissions on the yaml file are:
ls -l | grep human
-rw-r--r-- 1 agawali staff 631 Mar 31 14:41 policy_for_human_users.yml
How can I load policies in the server?
After I set up Kubernetes authenticator, how can create a secret and access it in the application pod without using the secretless
?