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

Don't let the entry scripts fail if there is no cert (dir) #127

Merged
merged 2 commits into from
Oct 2, 2024

Conversation

zipkid
Copy link
Member

@zipkid zipkid commented Oct 2, 2024

Having a fail will fail the entire instance.
When the certs (dir) is missing, it gets recreated at puppetserver startup anyway.

Having a fail will fail the entire instance.
When the certs (dir) is missing, it gets recreated at puppetserver startup anyway.
@zipkid zipkid requested a review from a team as a code owner October 2, 2024 07:04
@rwaffen
Copy link
Member

rwaffen commented Oct 2, 2024

LGTM. did you run some local tests with it? we dont have ci tests yet, that validate that the container is still start-able 😅

@zipkid
Copy link
Member Author

zipkid commented Oct 2, 2024

LGTM. did you run some local tests with it? we dont have ci tests yet, that validate that the container is still start-able 😅

I have tested this with and without the ssl/ dir.
Both run well.
I am now still struggling with DNS ALT NAMES not getting applied to the NEW server certificates so i'm still looking/changin/testing.
I think adding that change to this branch/PR may make sense, if it turns out to work as hoped.

@rwaffen
Copy link
Member

rwaffen commented Oct 2, 2024

so i should wait until you add that. ok.

Even when when CA_ENABLED is true.
The instance of the puppetserver also needs the DNS_ALT_NAMES set.
This also requires CA_ALLOW_SUBJECT_ALT_NAMES to be set to true.
@rwaffen rwaffen merged commit 01b6c21 into voxpupuli:main Oct 2, 2024
11 checks passed
@zipkid zipkid deleted the feature/vrt branch October 2, 2024 11:08
@rwaffen rwaffen added the enhancement New feature or request label Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants