Label the Knative overlays with the knative release unit.
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:
parent
a674263582
commit
b084150906
5 changed files with 87 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
18
install/knative/overlays/kourier/release-unit.patch.yaml
Normal file
18
install/knative/overlays/kourier/release-unit.patch.yaml
Normal 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
|
||||
|
|
@ -8,3 +8,4 @@ resources:
|
|||
patches:
|
||||
- path: cpu-requests.patch.yaml
|
||||
- path: hpa-caps.patch.yaml
|
||||
- path: release-unit.patch.yaml
|
||||
|
|
|
|||
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue