GCP Cloud Pub/Sub绑定规范
apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
name: <name>
spec:
type: bindings.gcp.pubsub
metadata:
- name: topic
value: topic1
- name: subscription
value: subscription1
- name: type
value: service_account
- name: project_id
value: project_111
- name: private_key_id
value: *************
- name: client_email
value: name@domain.com
- name: client_id
value: '1111111111111111'
- name: auth_uri
value: https://accounts.google.com/o/oauth2/auth
- name: token_uri
value: https://oauth2.googleapis.com/token
- name: auth_provider_x509_cert_url
value: https://www.googleapis.com/oauth2/v1/certs
- name: client_x509_cert_url
value: https://www.googleapis.com/robot/v1/metadata/x509/<project-name>.iam.gserviceaccount.com
- name: private_key
value: PRIVATE KEY
topic
发布/订阅的主题名称.
subscription
发布/订阅的订阅名称.
type
GCP凭证类型.
project_id
GCP项目id.
private_key_id
GCP西游密钥id.
client_email
GCP客户端电邮.
client_id
GCP客户端id.
auth_uri
Google账户OAuth终结点.
token_uri
Google账户令牌uri.
auth_provider_x509_cert_url
GCP凭证证书url.
client_x509_cert_url
GCP凭证项目x509证书url.
private_key
GCP凭证私有密钥.