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

Commit

Permalink
cloud-run-events -> events-system (namespace only)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandraRoatis committed Dec 7, 2020
1 parent 61ca0c6 commit 8c2c32c
Show file tree
Hide file tree
Showing 111 changed files with 192 additions and 192 deletions.
2 changes: 1 addition & 1 deletion cmd/broker/fanout/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const (

type envConfig struct {
PodName string `envconfig:"POD_NAME" required:"true"`
TargetsConfigPath string `envconfig:"TARGETS_CONFIG_PATH" default:"/var/run/cloud-run-events/broker/targets"`
TargetsConfigPath string `envconfig:"TARGETS_CONFIG_PATH" default:"/var/run/events-system/broker/targets"`
HandlerConcurrency int `envconfig:"HANDLER_CONCURRENCY"`
MaxConcurrencyPerEvent int `envconfig:"MAX_CONCURRENCY_PER_EVENT"`

Expand Down
2 changes: 1 addition & 1 deletion cmd/broker/ingress/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const (
// 1. It listens on port specified by "PORT" env var, or default 8080 if env var is not set
// 2. It reads "PROJECT_ID" env var for pubsub project. If the env var is empty, it retrieves project ID from
// GCE metadata.
// 3. It expects broker configmap mounted at "/var/run/cloud-run-events/broker/targets"
// 3. It expects broker configmap mounted at "/var/run/events-system/broker/targets"
func main() {
appcredentials.MustExistOrUnsetEnv()

Expand Down
2 changes: 1 addition & 1 deletion cmd/broker/retry/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const (

type envConfig struct {
PodName string `envconfig:"POD_NAME" required:"true"`
TargetsConfigPath string `envconfig:"TARGETS_CONFIG_PATH" default:"/var/run/cloud-run-events/broker/targets"`
TargetsConfigPath string `envconfig:"TARGETS_CONFIG_PATH" default:"/var/run/events-system/broker/targets"`
HandlerConcurrency int `envconfig:"HANDLER_CONCURRENCY"`

// Outstanding messages effectively limits how many connections we will create to each subscriber.
Expand Down
2 changes: 1 addition & 1 deletion config/core/100-namespace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
apiVersion: v1
kind: Namespace
metadata:
name: cloud-run-events
name: events-system
labels:
events.cloud.google.com/release: devel
6 changes: 3 additions & 3 deletions config/core/200-serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: controller
namespace: cloud-run-events
namespace: events-system
labels:
events.cloud.google.com/release: devel

Expand All @@ -26,7 +26,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: webhook
namespace: cloud-run-events
namespace: events-system
labels:
events.cloud.google.com/release: devel

Expand All @@ -37,6 +37,6 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: broker
namespace: cloud-run-events
namespace: events-system
labels:
events.cloud.google.com/release: devel
2 changes: 1 addition & 1 deletion config/core/configmaps/br-default-channel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ apiVersion: v1
kind: ConfigMap
metadata:
name: config-br-default-channel
namespace: cloud-run-events
namespace: events-system
data:
channelTemplateSpec: |
apiVersion: messaging.cloud.google.com/v1beta1
Expand Down
2 changes: 1 addition & 1 deletion config/core/configmaps/br-delivery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ apiVersion: v1
kind: ConfigMap
metadata:
name: config-br-delivery
namespace: cloud-run-events
namespace: events-system
annotations:
knative.dev/example-checksum: "a7f41751"
data:
Expand Down
2 changes: 1 addition & 1 deletion config/core/configmaps/data-residency.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ apiVersion: v1
kind: ConfigMap
metadata:
name: config-dataresidency
namespace: cloud-run-events
namespace: events-system
annotations:
knative.dev/example-checksum: "809e8f92"
data:
Expand Down
2 changes: 1 addition & 1 deletion config/core/configmaps/gcp-auth.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ apiVersion: v1
kind: ConfigMap
metadata:
name: config-gcp-auth
namespace: cloud-run-events
namespace: events-system
labels:
events.cloud.google.com/release: devel
annotations:
Expand Down
2 changes: 1 addition & 1 deletion config/core/configmaps/leader-election.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ apiVersion: v1
kind: ConfigMap
metadata:
name: config-leader-election
namespace: cloud-run-events
namespace: events-system
labels:
events.cloud.google.com/release: devel
annotations:
Expand Down
2 changes: 1 addition & 1 deletion config/core/configmaps/logging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ apiVersion: v1
kind: ConfigMap
metadata:
name: config-logging
namespace: cloud-run-events
namespace: events-system
labels:
events.cloud.google.com/release: devel
annotations:
Expand Down
2 changes: 1 addition & 1 deletion config/core/configmaps/observability.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ apiVersion: v1
kind: ConfigMap
metadata:
name: config-observability
namespace: cloud-run-events
namespace: events-system
labels:
events.cloud.google.com/release: devel
annotations:
Expand Down
2 changes: 1 addition & 1 deletion config/core/configmaps/tracing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ apiVersion: v1
kind: ConfigMap
metadata:
name: config-tracing
namespace: cloud-run-events
namespace: events-system
annotations:
knative.dev/example-checksum: 4002b4c2
data:
Expand Down
6 changes: 3 additions & 3 deletions config/core/deployments/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: controller
namespace: cloud-run-events
namespace: events-system
labels:
events.cloud.google.com/release: devel
spec:
replicas: 1
selector:
matchLabels:
app: cloud-run-events
app: events-system
role: controller
template:
metadata:
labels:
app: cloud-run-events
app: events-system
role: controller
annotations:
sidecar.istio.io/inject: "false"
Expand Down
6 changes: 3 additions & 3 deletions config/core/deployments/webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: webhook
namespace: cloud-run-events
namespace: events-system
labels:
events.cloud.google.com/release: devel
spec:
replicas: 1
selector:
matchLabels:
app: cloud-run-events
app: events-system
role: webhook
template:
metadata:
labels:
app: cloud-run-events
app: events-system
role: webhook
events.cloud.google.com/release: devel
annotations:
Expand Down
2 changes: 1 addition & 1 deletion config/core/resources/brokercell.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ spec:
clientConfig:
service:
name: webhook
namespace: cloud-run-events
namespace: events-system
versions:
- &version
name: v1alpha1
Expand Down
2 changes: 1 addition & 1 deletion config/core/resources/channel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ spec:
clientConfig:
service:
name: webhook
namespace: cloud-run-events
namespace: events-system
versions:
- &version
name: v1beta1
Expand Down
2 changes: 1 addition & 1 deletion config/core/resources/cloudauditlogssource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ spec:
clientConfig:
service:
name: webhook
namespace: cloud-run-events
namespace: events-system
versions:
- &version
name: v1
Expand Down
2 changes: 1 addition & 1 deletion config/core/resources/cloudbuildsource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ spec:
clientConfig:
service:
name: webhook
namespace: cloud-run-events
namespace: events-system
versions:
- &version
name: v1
Expand Down
2 changes: 1 addition & 1 deletion config/core/resources/cloudpubsubsource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ spec:
clientConfig:
service:
name: webhook
namespace: cloud-run-events
namespace: events-system
versions:
- &version
name: v1
Expand Down
2 changes: 1 addition & 1 deletion config/core/resources/cloudschedulersource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ spec:
clientConfig:
service:
name: webhook
namespace: cloud-run-events
namespace: events-system
versions:
- &version
name: v1
Expand Down
2 changes: 1 addition & 1 deletion config/core/resources/cloudstoragesource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ spec:
clientConfig:
service:
name: webhook
namespace: cloud-run-events
namespace: events-system
versions:
- &version
name: v1
Expand Down
2 changes: 1 addition & 1 deletion config/core/resources/pullsubscription.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ spec:
clientConfig:
service:
name: webhook
namespace: cloud-run-events
namespace: events-system
versions:
- &version
name: v1
Expand Down
2 changes: 1 addition & 1 deletion config/core/resources/topic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ spec:
clientConfig:
service:
name: webhook
namespace: cloud-run-events
namespace: events-system
versions:
- &version
name: v1
Expand Down
8 changes: 4 additions & 4 deletions config/core/roles/clusterrolebinding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ metadata:
subjects:
- kind: ServiceAccount
name: controller
namespace: cloud-run-events
namespace: events-system
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
Expand All @@ -38,7 +38,7 @@ metadata:
subjects:
- kind: ServiceAccount
name: controller
namespace: cloud-run-events
namespace: events-system
# An aggregated ClusterRole for all Addressable CRDs.
# Ref: https://github.com/knative/eventing/blob/master/config/200-addressable-resolvers-clusterrole.yaml
roleRef:
Expand All @@ -56,7 +56,7 @@ metadata:
subjects:
- kind: ServiceAccount
name: controller
namespace: cloud-run-events
namespace: events-system
roleRef:
kind: ClusterRole
name: events-system-source-observer
Expand All @@ -73,7 +73,7 @@ metadata:
subjects:
- kind: ServiceAccount
name: webhook
namespace: cloud-run-events
namespace: events-system
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
Expand Down
4 changes: 2 additions & 2 deletions config/core/roles/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: events-system-controller
namespace: cloud-run-events
namespace: events-system
labels:
events.cloud.google.com/release: devel
rules:
Expand All @@ -41,7 +41,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: events-system-broker
namespace: cloud-run-events
namespace: events-system
labels:
events.cloud.google.com/release: devel
rules:
Expand Down
8 changes: 4 additions & 4 deletions config/core/roles/rolebinding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: events-system-controller
namespace: cloud-run-events
namespace: events-system
labels:
events.cloud.google.com/release: devel
subjects:
- kind: ServiceAccount
name: controller
namespace: cloud-run-events
namespace: events-system
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
Expand All @@ -34,13 +34,13 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: events-system-broker
namespace: cloud-run-events
namespace: events-system
labels:
events.cloud.google.com/release: devel
subjects:
- kind: ServiceAccount
name: broker
namespace: cloud-run-events
namespace: events-system
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
Expand Down
2 changes: 1 addition & 1 deletion config/core/services/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ apiVersion: v1
kind: Service
metadata:
name: controller
namespace: cloud-run-events
namespace: events-system
labels:
events.cloud.google.com/release: devel
app: events-system-controller
Expand Down
2 changes: 1 addition & 1 deletion config/core/services/webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ metadata:
role: webhook
events.cloud.google.com/release: devel
name: webhook
namespace: cloud-run-events
namespace: events-system
spec:
ports:
- port: 443
Expand Down
2 changes: 1 addition & 1 deletion config/core/webhooks/config-validation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ webhooks:
clientConfig:
service:
name: webhook
namespace: cloud-run-events
namespace: events-system
failurePolicy: Fail
sideEffects: None
name: config.webhook.events.cloud.google.com
Expand Down
2 changes: 1 addition & 1 deletion config/core/webhooks/defaulting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ webhooks:
clientConfig:
service:
name: webhook
namespace: cloud-run-events
namespace: events-system
failurePolicy: Fail
sideEffects: None
name: webhook.events.cloud.google.com
2 changes: 1 addition & 1 deletion config/core/webhooks/resource-validation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ webhooks:
clientConfig:
service:
name: webhook
namespace: cloud-run-events
namespace: events-system
failurePolicy: Fail
sideEffects: None
name: validation.webhook.events.cloud.google.com
Loading

0 comments on commit 8c2c32c

Please sign in to comment.