Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openshift_master_named_certificates and symlinks #2526

chmouel opened this issue Sep 29, 2016 · 0 comments

openshift_master_named_certificates and symlinks #2526

chmouel opened this issue Sep 29, 2016 · 0 comments


Copy link

@chmouel chmouel commented Sep 29, 2016

[provide a description of the issue]



Steps To Reproduce
  1. Use a openshift_named_certificates like in ansible hosts :
openshift_master_named_certificates=[{"certfile": "/etc/letsencrypt/live/", "keyfile": "/etc/letsencrypt/live/", "names":[""]}]

those files are symlinks :

$ ls -l /etc/letsencrypt/live/{cert,privkey}.pem                                                            
lrwxrwxrwx. 1 root root 49 Sep 28 18:06 /etc/letsencrypt/live/ -> ../../archive/
lrwxrwxrwx. 1 root root 52 Sep 28 18:06 /etc/letsencrypt/live/ -> ../../archive/
Current Result

Generated master-config.yaml would get the symlink names :

  - certFile: /etc/origin/master/named_certificates/cert.pem
    keyFile: /etc/origin/master/named_certificates/privkey.pem
    - ""

but have copied instead the symlink target files :

$ ls -l /etc/origin/master/named_certificates                                                                                         -rw-r--r--. 1 root root 1826 Sep 28 18:15 cert3.pem
-rw-------. 1 root root 1704 Sep 28 18:15 privkey3.pem
Expected Result

It should or :

generate the master-config.yaml namedCertificates, certFile and keyfile as cert3.pem or privkey3.pem (in this case the target symlinks) or copied the files with its symplinks name (and not target name) as cert.pem or privkey.pem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.