Label the Knative overlays with the knative release unit.
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s

Serving-core and Kourier each carry the Deployments that exist in that upstream file. The render test expects the label and still rejects any other drift.

RELREG-WP-0002-T01

Assistant: grok
Assistant-Session: 01a15f9f-3d77-7d21-911b-d93c86f9d14f
This commit is contained in:
codex 2026-10-21 22:23:51 +02:00
parent a674263582
commit b084150906
5 changed files with 87 additions and 3 deletions

View file

@ -9,3 +9,4 @@ patches:
- path: cpu-requests.patch.yaml
- path: hpa-caps.patch.yaml
- path: service-clusterip.patch.yaml
- path: release-unit.patch.yaml

View file

@ -0,0 +1,18 @@
# Same label as rail-knative/substrate/v1.22.0/release-unit.patch.yaml.
# These two Deployments ship in kourier.yaml. Serving-core Deployments stay
# on the serving-core overlay.
apiVersion: apps/v1
kind: Deployment
metadata:
name: net-kourier-controller
namespace: knative-serving
labels:
railiance.io/release-unit: knative
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: 3scale-kourier-gateway
namespace: kourier-system
labels:
railiance.io/release-unit: knative

View file

@ -8,3 +8,4 @@ resources:
patches:
- path: cpu-requests.patch.yaml
- path: hpa-caps.patch.yaml
- path: release-unit.patch.yaml

View file

@ -0,0 +1,34 @@
# Same label as rail-knative/substrate/v1.22.0/release-unit.patch.yaml.
# Serving-core Deployments only. Kourier's controller and gateway are on the
# kourier overlay, because they are not in serving-core.yaml.
apiVersion: apps/v1
kind: Deployment
metadata:
name: activator
namespace: knative-serving
labels:
railiance.io/release-unit: knative
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: autoscaler
namespace: knative-serving
labels:
railiance.io/release-unit: knative
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: controller
namespace: knative-serving
labels:
railiance.io/release-unit: knative
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: webhook
namespace: knative-serving
labels:
railiance.io/release-unit: knative