Skip to content

chore: Remove checksum/tlsAlternativeNames from deployment template#122

Merged
clement0010 merged 1 commit intomasterfrom
chore/remove-tls-secret-hash
Aug 29, 2025
Merged

chore: Remove checksum/tlsAlternativeNames from deployment template#122
clement0010 merged 1 commit intomasterfrom
chore/remove-tls-secret-hash

Conversation

@clement0010
Copy link
Copy Markdown
Contributor

Changes

  • After merging the TLS cert hot-reload PR, we should remove the checksum/tlsAlternativeNames from deployment.yaml template to avoid restarting the Gateway pod when the TLS secret changes

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes the checksum/tlsAlternativeNames annotation from the Gateway deployment template to prevent unnecessary pod restarts when TLS secrets change, following the implementation of TLS certificate hot-reload functionality.

  • Removes checksum/tlsAlternativeNames annotation from deployment template
  • Updates corresponding test cases and snapshots to reflect the removed annotation
  • Ensures pod annotations structure remains intact when user-defined podAnnotations are present

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
deploy/gateway/templates/deployment.yaml Removes the checksum annotation and restructures annotations block
deploy/gateway/tests/deployment_test.yaml Removes test case that verified the checksum annotation
deploy/gateway/tests/snapshot/snapshot_test.yaml.snap Updates test snapshot to match removed annotation

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread deploy/gateway/templates/deployment.yaml
Copy link
Copy Markdown
Contributor

@minhtule minhtule left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 👍

@clement0010 clement0010 merged commit 0a0428b into master Aug 29, 2025
12 checks passed
@clement0010 clement0010 deleted the chore/remove-tls-secret-hash branch August 29, 2025 00:03
minhtule added a commit that referenced this pull request Dec 30, 2025
## Changes

Change config structure in `config.yaml` according to [the latest
spec](https://www.notion.so/twingate/Gateway-configuration-Helm-deployment-and-k8s-operator-integration-2933476dd039801ca754c589152c67a7?source=copy_link#2943476dd03980399ab9cbf694f05332)
- Add L7 application protocol properties at the root level
  + `kubernetes`: Kubernetes upstreams are defined here.
  + `ssh`: SSH config and upstreams are defined here.
- Rename `downstream` → `server` and `upstream` → `client` config
properties to avoid confusion with `upstreams` property.
- Remove the root `upstreams` properties
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.

3 participants