Skip to content

Conversation

@timebertt
Copy link
Owner

What this PR does / why we need it:

Previously, webhosting-operator had logic to skip workload (Ingress.spec.ingressClassName=fake, Deployment.spec.replicas=0) specifically for e2e tests and Websites generated in experiment.
This PR inverts the dependency by adding a skip-workload label to webhosting-operator, making the logic independent from the use case.

The sample-generator is extended with a --skip-workload flag, which causes the new label to be set.

Which issue(s) this PR fixes:
Fixes n/a

Special notes for your reviewer:

@timebertt timebertt moved this from Backlog to In progress in kubernetes-controller-sharding Jul 13, 2025
@timebertt timebertt merged commit b5ae625 into main Jul 13, 2025
4 checks passed
@timebertt timebertt deleted the skip-workload branch July 13, 2025 14:00
@github-project-automation github-project-automation bot moved this from In progress to Done in kubernetes-controller-sharding Jul 13, 2025
@timebertt timebertt added the cleanup Code cleanup label Jul 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cleanup Code cleanup

Projects

Development

Successfully merging this pull request may close these issues.

2 participants