fix: connect puppetboard to puppetdb over SSL on port 8081 (#70)
Puppetboard was connecting to PuppetDB on port 8080 (plain HTTP), causing 403 Forbidden errors on the /metrics/v2 Jolokia endpoint which requires HTTPS with a Puppet certificate. Also replaced the invalid PUPPETDB_SSL_SKIP_VERIFY var with the correct PUPPETDB_SSL_VERIFY, PUPPETDB_CERT, and PUPPETDB_KEY pointing to the certs already generated by the cert-generator init container. 💘 Generated with Crush Assisted-by: Claude Sonnet 4.6 via Crush <crush@charm.land> Reviewed-on: #70
This commit was merged in pull request #70.
This commit is contained in:
@@ -11,8 +11,10 @@ metadata:
|
||||
namespace: puppet
|
||||
data:
|
||||
PUPPETDB_HOST: "puppetdb"
|
||||
PUPPETDB_PORT: "8080"
|
||||
PUPPETDB_SSL_SKIP_VERIFY: "True"
|
||||
PUPPETDB_PORT: "8081"
|
||||
PUPPETDB_SSL_VERIFY: "/opt/puppetboard/ssl/ca.pem"
|
||||
PUPPETDB_CERT: "/opt/puppetboard/ssl/puppetboard.pem"
|
||||
PUPPETDB_KEY: "/opt/puppetboard/ssl/puppetboard.key"
|
||||
LOGLEVEL: "debug"
|
||||
PUPPETDB_TIMEOUT: "20"
|
||||
UNRESPONSIVE_HOURS: "3"
|
||||
|
||||
Reference in New Issue
Block a user