Skip to content
This repository has been archived by the owner on Jun 4, 2021. It is now read-only.

Add release labels to all objects #473

Merged
merged 1 commit into from
Jun 25, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions config/tools/event-display/event-display.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ apiVersion: serving.knative.dev/v1alpha1
kind: Service
metadata:
name: event-display
labels:
contrib.eventing.knative.dev/release: devel
spec:
runLatest:
configuration:
Expand Down
2 changes: 2 additions & 0 deletions contrib/awssqs/config/100-namespace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ apiVersion: v1
kind: Namespace
metadata:
name: knative-sources
labels:
contrib.eventing.knative.dev/release: devel
2 changes: 2 additions & 0 deletions contrib/awssqs/config/200-serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ kind: ServiceAccount
metadata:
name: awssqs-controller-manager
namespace: knative-sources
labels:
contrib.eventing.knative.dev/release: devel
2 changes: 2 additions & 0 deletions contrib/awssqs/config/201-clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: awssqs-controller
labels:
contrib.eventing.knative.dev/release: devel
rules:
- apiGroups:
- apps
Expand Down
2 changes: 2 additions & 0 deletions contrib/awssqs/config/202-clusterrolebinding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: awssqs-controller-rolebinding
labels:
contrib.eventing.knative.dev/release: devel
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
Expand Down
1 change: 1 addition & 0 deletions contrib/awssqs/config/300-awssqssource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
labels:
contrib.eventing.knative.dev/release: devel
eventing.knative.dev/source: "true"
knative.dev/crd-install: "true"
name: awssqssources.sources.eventing.knative.dev
Expand Down
1 change: 1 addition & 0 deletions contrib/awssqs/config/400-controller-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ apiVersion: v1
kind: Service
metadata:
labels:
contrib.eventing.knative.dev/release: devel
control-plane: awssqs-controller-manager
name: awssqs-controller-manager
namespace: knative-sources
Expand Down
1 change: 1 addition & 0 deletions contrib/awssqs/config/500-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ apiVersion: apps/v1
kind: StatefulSet
metadata:
labels:
contrib.eventing.knative.dev/release: devel
control-plane: awssqs-controller-manager
name: awssqs-controller-manager
namespace: knative-sources
Expand Down
2 changes: 2 additions & 0 deletions contrib/awssqs/config/600-istioegress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ apiVersion: networking.istio.io/v1alpha3
kind: ServiceEntry
metadata:
name: awssqs-bus-ext
labels:
contrib.eventing.knative.dev/release: devel
spec:
hosts:
- "*.amazonaws.com"
Expand Down
2 changes: 2 additions & 0 deletions contrib/gcppubsub/config/100-namespace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ apiVersion: v1
kind: Namespace
metadata:
name: knative-sources
labels:
contrib.eventing.knative.dev/release: devel
4 changes: 4 additions & 0 deletions contrib/gcppubsub/config/200-serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,17 @@ kind: ServiceAccount
metadata:
name: gcppubsub-controller-manager
namespace: knative-sources
labels:
contrib.eventing.knative.dev/release: devel
secrets:
- name: gcppubsub-source-key
---
apiVersion: v1
kind: Secret
metadata:
name: gcppubsub-source-key
labels:
contrib.eventing.knative.dev/release: devel
type: Opaque
data:
'key.json': ""
2 changes: 2 additions & 0 deletions contrib/gcppubsub/config/201-clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: eventing-sources-gcppubsub-controller
labels:
contrib.eventing.knative.dev/release: devel
rules:

- apiGroups:
Expand Down
4 changes: 4 additions & 0 deletions contrib/gcppubsub/config/202-clusterrolebinding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: eventing-sources-gcppubsub-controller
labels:
contrib.eventing.knative.dev/release: devel
subjects:
- kind: ServiceAccount
name: gcppubsub-controller-manager
Expand All @@ -31,6 +33,8 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: eventing-sources-gcppubsub-resolver
labels:
contrib.eventing.knative.dev/release: devel
subjects:
- kind: ServiceAccount
name: gcppubsub-controller-manager
Expand Down
1 change: 1 addition & 0 deletions contrib/gcppubsub/config/300-gcppubsubsource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
labels:
contrib.eventing.knative.dev/release: devel
eventing.knative.dev/source: "true"
knative.dev/crd-install: "true"
name: gcppubsubsources.sources.eventing.knative.dev
Expand Down
1 change: 1 addition & 0 deletions contrib/gcppubsub/config/400-controller-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ metadata:
name: gcppubsub-controller
namespace: knative-sources
labels:
contrib.eventing.knative.dev/release: devel
control-plane: gcppubsub-controller-manager
spec:
selector:
Expand Down
1 change: 1 addition & 0 deletions contrib/gcppubsub/config/500-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ metadata:
name: gcppubsub-controller-manager
namespace: knative-sources
labels:
contrib.eventing.knative.dev/release: devel
control-plane: gcppubsub-controller-manager
spec:
selector:
Expand Down
2 changes: 2 additions & 0 deletions contrib/gcppubsub/config/600-istioegress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ apiVersion: networking.istio.io/v1alpha3
kind: ServiceEntry
metadata:
name: gcppubsub-bus-ext
labels:
contrib.eventing.knative.dev/release: devel
spec:
hosts:
- "*.googleapis.com"
Expand Down
2 changes: 2 additions & 0 deletions contrib/github/config/100-namespace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ apiVersion: v1
kind: Namespace
metadata:
name: knative-sources
labels:
contrib.eventing.knative.dev/release: devel
2 changes: 2 additions & 0 deletions contrib/github/config/200-serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ kind: ServiceAccount
metadata:
name: github-controller-manager
namespace: knative-sources
labels:
contrib.eventing.knative.dev/release: devel
2 changes: 2 additions & 0 deletions contrib/github/config/201-clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: eventing-sources-github-controller
labels:
contrib.eventing.knative.dev/release: devel
rules:
# Sources admin
- apiGroups:
Expand Down
4 changes: 4 additions & 0 deletions contrib/github/config/202-clusterrolebinding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: eventing-sources-github-controller
labels:
contrib.eventing.knative.dev/release: devel
subjects:
- kind: ServiceAccount
name: github-controller-manager
Expand All @@ -31,6 +33,8 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: eventing-sources-github-addressable-resolver
labels:
contrib.eventing.knative.dev/release: devel
subjects:
- kind: ServiceAccount
name: github-controller-manager
Expand Down
3 changes: 2 additions & 1 deletion contrib/github/config/300-githubsource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: githubsources.sources.eventing.knative.dev
labels:
contrib.eventing.knative.dev/release: devel
eventing.knative.dev/source: "true"
knative.dev/crd-install: "true"
name: githubsources.sources.eventing.knative.dev
spec:
group: sources.eventing.knative.dev
names:
Expand Down
1 change: 1 addition & 0 deletions contrib/github/config/400-controller-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ metadata:
name: github-controller
namespace: knative-sources
labels:
contrib.eventing.knative.dev/release: devel
control-plane: github-controller-manager
spec:
selector:
Expand Down
1 change: 1 addition & 0 deletions contrib/github/config/500-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ metadata:
name: github-controller-manager
namespace: knative-sources
labels:
contrib.eventing.knative.dev/release: devel
control-plane: github-controller-manager
spec:
selector:
Expand Down