Skip to content

Comments

fix: ensure ambient mode is the default in all operator code (#2326) (backport-0.60)#2327

Merged
slaskawi merged 1 commit intorelease/0.60from
backport/bda5384adce387707b43a0af3bc294e9f0b87894-to-0.60
Jan 29, 2026
Merged

fix: ensure ambient mode is the default in all operator code (#2326) (backport-0.60)#2327
slaskawi merged 1 commit intorelease/0.60from
backport/bda5384adce387707b43a0af3bc294e9f0b87894-to-0.60

Conversation

@slaskawi
Copy link
Contributor

Backport of commit: bda5384

## Description

Updates operator code to ensure Ambient mode is set as the default mode
in all places checking `pkg.spec.network.serviceMesh.mode`.

## Related Issue

Known issues in 0.60.0

## Type of change

- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Other (security config, docs update, etc)

## Checklist before merging

- [x] Test, docs, adr added or updated as needed
- [x] [Contributor
Guide](https://github.com/defenseunicorns/uds-template-capability/blob/main/CONTRIBUTING.md)
followed

(cherry picked from commit bda5384)
@slaskawi slaskawi requested a review from a team as a code owner January 29, 2026 18:49
Copilot AI review requested due to automatic review settings January 29, 2026 18:49
@slaskawi slaskawi merged commit 287ab4d into release/0.60 Jan 29, 2026
28 checks passed
@slaskawi slaskawi deleted the backport/bda5384adce387707b43a0af3bc294e9f0b87894-to-0.60 branch January 29, 2026 18:51
Copy link
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 ensures ambient mode is the default for all operator code by adding fallback logic throughout the codebase. This is a backport from the main branch to the 0.60 release branch.

Changes:

  • Modified operator controller code to default serviceMesh.mode to ambient when not explicitly specified
  • Updated tests to verify the new default behavior and explicitly set sidecar mode where needed
  • Removed explicit ambient mode configuration from test package template to rely on the new default

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated no comments.

Show a summary per file
File Description
test/playwright/podinfo.test.ts Added JWT validation check after successful login
src/test/chart/templates/package.yaml Commented out explicit ambient mode config to rely on default
src/pepr/operator/controllers/packages/package-store.ts Added default to ambient mode when checking package mesh configuration
src/pepr/operator/controllers/packages/package-store.spec.ts Updated test cases to explicitly use sidecar mode for non-ambient packages
src/pepr/operator/controllers/network/authorizationPolicies.ts Added default to ambient mode in SSO client matching logic
src/pepr/operator/controllers/network/authorizationPolicies.spec.ts Added test for default ambient behavior and updated existing tests to explicitly set sidecar mode
src/pepr/operator/controllers/istio/waypoint-utils.ts Added default to ambient mode in waypoint decision logic
src/pepr/operator/controllers/istio/waypoint-utils.spec.ts Updated test expectation to reflect ambient as the default
src/pepr/operator/controllers/istio/ambient-waypoint.ts Added default to ambient mode in service and pod reconciliation logic
src/pepr/operator/controllers/istio/ambient-waypoint.spec.ts Added test cases to verify default ambient behavior

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

chance-coleman pushed a commit that referenced this pull request Jan 29, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.60.1](v0.60.0...v0.60.1)
(2026-01-29)


### Bug Fixes

* ensure ambient mode is the default in all operator code
([#2326](#2326))
(backport-0.60)
([#2327](#2327))
([287ab4d](287ab4d))

### Miscellaneous

* chore(deps): update keycloak to v26.5.2
([#2297](#2297))
(backport-0.60)
([#2328](#2328))
([287ab4d](6e5db83))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Łaskawiec <sebastian.laskawiec@defenseunicorns.com>
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.

2 participants