You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running any command which supports the --skip-ca-certificates flag, console output shows deleting sni and deleting certificate which deletes certificates from the running Kong instance. If running ACME in Let's Encrypt's prod mode, this quickly depletes the quota (if you need to sync frequently).
Desired outcome
When using the mentioned flag when syncing (or running other related commands), certificates and sni should not be touched (deleted or dumped to kong.yaml). I do not want to keep them stored in kong.yaml, so dumping them before syncing as a workaround is not an option.
System info
OS: Ubuntu Server 22.04.1 LTS
Deck version: decK v1.19.1 (0d80472)
Kong gateway (Docker): kong/kong-gateway:3.2.2.0
Postgres (Docker): postgres:13
kong.yaml _format_version: "3.0"
Reproduction
These are the steps (tried from scratch):
"Docker run postgres" (from documentation)
"Docker run kong/kong-gateway" (from documentation)
Install decK
Sync base kong.yaml (simple config with ACME plugin configured for the domain)
Trigger certificate creation (using ACME plugin - basic example from documentation with "kong" as storage)
Check validity of config and certificates by visiting my domain (with a service routed to mockbin.org)
Make any arbitrary change to kong.yaml (example: add https under protocols for a dummy service)
Run deck sync --skip-ca-certificates -s config/kong.yaml
The connection to the domain is no longer secure as certificates have been deleted
Other (tested) flags seem to work fine, however --skip-ca-certificates fails to work every single time. I've also inspected the test cases in this codebase, which seems to cover the flag, however I have not had the time to build and debug the project from scratch.
The text was updated successfully, but these errors were encountered:
I updated to the most recent: 1.28.1 deck version, and changed the command to using --skip-ca-certificates=true and still keeps deleting the certificates
@iamit I'm working on a fix and currently run a locally compiled version which works with our deployment (when running deck sync), however it is not yet consistent with all workflows and I haven't had the time to test them all just yet.
Issue
When running any command which supports the
--skip-ca-certificates
flag, console output showsdeleting sni
anddeleting certificate
which deletes certificates from the running Kong instance. If running ACME in Let's Encrypt's prod mode, this quickly depletes the quota (if you need to sync frequently).Desired outcome
When using the mentioned flag when syncing (or running other related commands), certificates and sni should not be touched (deleted or dumped to kong.yaml). I do not want to keep them stored in kong.yaml, so dumping them before syncing as a workaround is not an option.
System info
OS: Ubuntu Server 22.04.1 LTS
Deck version: decK v1.19.1 (0d80472)
Kong gateway (Docker): kong/kong-gateway:3.2.2.0
Postgres (Docker): postgres:13
kong.yaml _format_version: "3.0"
Reproduction
These are the steps (tried from scratch):
deck sync --skip-ca-certificates -s config/kong.yaml
Other (tested) flags seem to work fine, however
--skip-ca-certificates
fails to work every single time. I've also inspected the test cases in this codebase, which seems to cover the flag, however I have not had the time to build and debug the project from scratch.The text was updated successfully, but these errors were encountered: