Skip to content

Commit

Permalink
💄 Adding missing k8s labels to the post install manifests (#6184)
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>
  • Loading branch information
matzew authored Feb 26, 2022
1 parent 74cebc5 commit 3939dc6
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
2 changes: 2 additions & 0 deletions config/post-install/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ kind: ClusterRole
metadata:
name: knative-eventing-post-install-job-role
labels:
app.kubernetes.io/version: devel
app.kubernetes.io/name: knative-eventing
eventing.knative.dev/release: devel
rules:
# Storage version upgrader needs to be able to patch CRDs.
Expand Down
5 changes: 4 additions & 1 deletion config/post-install/serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ metadata:
namespace: knative-eventing
labels:
eventing.knative.dev/release: devel

app.kubernetes.io/version: devel
app.kubernetes.io/name: knative-eventing
---

apiVersion: rbac.authorization.k8s.io/v1
Expand All @@ -28,6 +29,8 @@ metadata:
name: knative-eventing-post-install-job-role-binding
labels:
eventing.knative.dev/release: devel
app.kubernetes.io/version: devel
app.kubernetes.io/name: knative-eventing
subjects:
- kind: ServiceAccount
name: knative-eventing-post-install-job
Expand Down
6 changes: 6 additions & 0 deletions config/post-install/storage-version-migrator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ metadata:
namespace: knative-eventing
labels:
app: "storage-version-migration-eventing"
app.kubernetes.io/name: knative-eventing
app.kubernetes.io/component: storage-version-migration-job
app.kubernetes.io/version: devel
eventing.knative.dev/release: devel
spec:
ttlSecondsAfterFinished: 600
Expand All @@ -27,6 +30,9 @@ spec:
metadata:
labels:
app: "storage-version-migration-eventing"
app.kubernetes.io/name: knative-eventing
app.kubernetes.io/component: storage-version-migration-job
app.kubernetes.io/version: devel
eventing.knative.dev/release: devel
annotations:
sidecar.istio.io/inject: "false"
Expand Down

0 comments on commit 3939dc6

Please sign in to comment.