PubSub Config
This page describes
spec.spinnakerConfig.config.pubsub
.spec.spinnakerConfig.config.pubsub
pubsub:
enabled:
google:
enabled:
subscriptions:
- name:
project:
subscriptionName:
jsonPath:
templatePath:
ackDeadlineSeconds:
messageFormat:
publishers:
- name:
project:
topicName:
jsonPath:
content:
enabled
: true or false.google
:
enabled
: true or false.subscriptions
:name
: subscription nameproject
: The name of the GCP project your subscription lives in.subscriptionName
: The name of the subscription to listen to. This identifier does not include the name of the project, and must already be configured for Spinnaker to work.jsonPath
: The path to a JSON service account that Spinnaker will use as credentials. This is only needed if Spinnaker is not deployed on a Google Compute Engine VM, or needs permissions not afforded to the VM it is running on. See https://cloud.google.com/compute/docs/access/service-accounts for more information. File needs to be present on the machine running Spinnaker. Supports encrypted file.templatePath
: A path to a jinja template that specifies how artifacts from this pubsub system are interpreted and transformed into Spinnaker artifacts. See spinnaker.io/reference/artifacts for more information. File needs to be present on the machine running Spinnaker.ackDeadlineSeconds
: Time in seconds before an outstanding message is considered unacknowledged and is re-sent. Configurable in your Google Cloud Pubsub subscription. See the docs here`: https://cloud.google.com/pubsub/docs/subscribermessageFormat
: One of ‘GCB’, ‘GCS’, ‘GCR’, or ‘CUSTOM’. This can be used to help Spinnaker translate the contents of the Pub/Sub message into Spinnaker artifacts.
publishers
:name
: name of publisherproject
:topicName
:jsonPath
: File needs to be present on the machine running Spinnaker. Supports encrypted file.
Kustomize patch examples
You can see examples in the spinnaker-kustomize-patches
repo’s pubsub
folder.
Feedback
Was this page helpful?
Thank you for letting us know!
Sorry to hear that. Please tell us how we can improve.
Last modified December 9, 2022: (77a2e500)