Skip to content

fix: pass insecure_skip_tls to all Makefile test targets - #4

Open
kdacosta0 wants to merge 1 commit into
mainfrom
fix/pass-insecure-skip-tls-to-test-targets
Open

fix: pass insecure_skip_tls to all Makefile test targets#4
kdacosta0 wants to merge 1 commit into
mainfrom
fix/pass-insecure-skip-tls-to-test-targets

Conversation

@kdacosta0

@kdacosta0 kdacosta0 commented Jul 13, 2026

Copy link
Copy Markdown
Member

Summary

  • The K6 job template (k6-job.yml.j2) already supports insecure_skip_tls for both the K6 container (K6_INSECURE_SKIP_TLS_VERIFY) and go-crypto-helper (INSECURE_SKIP_TLS_VERIFY), but no Makefile target was forwarding it
  • This causes TLS verification failures (x509: certificate signed by unknown authority) on clusters where the OpenShift ingress uses self-signed or internal CA certificates (e.g. Keycloak OIDC endpoint)
  • Adds INSECURE_SKIP_TLS variable (defaults to false) and passes it to every sign-* and verify-* target

Usage

INSECURE_SKIP_TLS=true make sign-fill

Test plan

  • Verify make sign-smoke still works without the env var (TLS verification enabled by default)
  • Verify INSECURE_SKIP_TLS=true make sign-smoke resolves the x509: certificate signed by unknown authority error on clusters with self-signed certs

🤖 Generated with Claude Code

@kdacosta0
kdacosta0 force-pushed the fix/pass-insecure-skip-tls-to-test-targets branch from 612021a to 144055b Compare July 14, 2026 09:58
The k6-job.yml.j2 template already supports insecure_skip_tls for both
the K6 container (K6_INSECURE_SKIP_TLS_VERIFY) and go-crypto-helper
(INSECURE_SKIP_TLS_VERIFY), but no Makefile target was passing it
through. This causes TLS failures on clusters with self-signed or
internal CA certificates (e.g. OpenShift ingress for Keycloak OIDC).

Add INSECURE_SKIP_TLS variable (defaults to false) and forward it to
every sign-* and verify-* target. Document the option in README.

Usage: INSECURE_SKIP_TLS=true make sign-fill

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@kdacosta0
kdacosta0 force-pushed the fix/pass-insecure-skip-tls-to-test-targets branch from 144055b to 5ceca28 Compare July 14, 2026 13:12
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