Skip to content

Create Kibana certificate directory unconditionally#98

Closed
Oddly wants to merge 2 commits intomainfrom
fix/kibana-cert-directory-creation
Closed

Create Kibana certificate directory unconditionally#98
Oddly wants to merge 2 commits intomainfrom
fix/kibana-cert-directory-creation

Conversation

@Oddly
Copy link
Owner

@Oddly Oddly commented Mar 12, 2026

Summary

  • /etc/kibana/certs is needed for both Kibana TLS and ES connection CA certificates
  • Previously only created inside the kibana_tls block, causing failures when ES TLS is used but Kibana TLS isn't enabled yet
  • Moves directory creation before the kibana_tls conditional so it's always present

Test plan

  • Deploy Kibana with kibana_tls: false but elasticsearch_http_security: true (ES CA cert needs the directory)
  • Deploy Kibana with kibana_tls: true — verify no duplicate directory task

🤖 Generated with Claude Code

Sam Crauwels and others added 2 commits March 12, 2026 17:42
The /etc/kibana/certs directory is needed for both the Kibana web UI
TLS certificates and the Elasticsearch connection CA certificate.
Previously it was only created inside the kibana_tls block, so
deployments that use ES TLS certificates but haven't enabled Kibana
TLS yet would fail because the directory didn't exist.

Move the directory creation before the kibana_tls conditional block
so it is always present when certificate tasks need it.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ion task

Merging main brought the task name prefix convention from PR #96. The new
directory creation task added by this branch now follows the same pattern.
@Oddly
Copy link
Owner Author

Oddly commented Mar 12, 2026

Recreating from up-to-date main branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant