processing-pipelines/bigquery/schedulersource-cy.yaml (13 lines of code) (raw):
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
apiVersion: events.cloud.google.com/v1
kind: CloudSchedulerSource
metadata:
name: schedulersource-cy
spec:
location: "europe-west1"
data: "Cyprus"
schedule: "0 17 * * *"
sink:
ref:
apiVersion: eventing.knative.dev/v1
kind: Broker
name: default
# # If running in GKE, we will ask the metadata server, change this if required.
# project: MY_PROJECT
# # If running with workload identity enabled, update googleServiceAccount.
# googleServiceAccount: service-account-id@project-id.iam.gserviceaccount.com
# # If running with secret, here is the default secret name and key, change this if required.
# secret:
# name: google-cloud-key
# key: key.json