Skip to content

Conversation

@basti1302
Copy link
Member

@basti1302 basti1302 commented Nov 6, 2025

Stacked PR, #571 needs to be merged first.

If the Helm value operator.gke.autopilot.enabled is true, deploy the
Dash0 AllowlistSynchronizer so the Dash0 WorkloadAllowlist resources
will be installed into the cluster.

The resource is annotated as a Helm hook (pre-install,pre-upgrade) to
make sure the WorkloadAllowlists are rolled out before the rest of the
Helm chart, that is, before the operator manager deployment (since that
workload already needs the node affinity exemption to be in place).

Additionally, lift the following feature set restrictions in GKE
Autopilot mode:
- allow node affinities on GKE Autopilot
- enable host metrics receiver on GKE Autopilot
@basti1302 basti1302 force-pushed the check-workload-allowlist-in-ci branch 3 times, most recently from 921c429 to 531e6e6 Compare November 6, 2025 21:22
The intend is that this check fails if we change the Dash0 operator
workloads in a way that make an update of the related
WorkloadAllowlists necessary.

The script currently does not check with every possible combination of
Helm settings, but only checks a typical installation. There might be
cases that we miss. Testing every possible combination seems excessive
at the moment, but we might want to iterate on this in the future.
@basti1302 basti1302 force-pushed the check-workload-allowlist-in-ci branch from 531e6e6 to 69ca4ec Compare November 6, 2025 21:26
@basti1302 basti1302 force-pushed the check-workload-allowlist-in-ci branch from be0d52b to 8c3db2a Compare November 6, 2025 21:47
@basti1302 basti1302 force-pushed the check-workload-allowlist-in-ci branch from 78ae7d5 to eb70da3 Compare November 6, 2025 21:56
@basti1302
Copy link
Member Author

The check fails if the WorkloadAllowlist does not match our workload anymore: https://github.com/dash0hq/dash0-operator/actions/runs/19151058124/job/54741125962

image

@sonarqubecloud
Copy link

sonarqubecloud bot commented Nov 7, 2025

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