Skip to content

Commit

Permalink
DBZ-7694 updated operator pub/sub examples to reflect recent CRD changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jcechace authored and jpechane committed Mar 25, 2024
1 parent 9af8d30 commit e6cc2c2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
25 changes: 13 additions & 12 deletions operator/tutorial-pubsub/k8s/debezium/002_debezium-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,25 @@ kind: DebeziumServer
metadata:
name: my-debezium
spec:
image: quay.io/debezium/server:2.5.3.Final
quarkus:
config:
log.console.json: false
kubernetes-config.enabled: true
kubernetes-config.secrets: postgresql-credentials,pubsub-credentials
runtime:
volumes:
- name: pubsub
secret:
secretName: pubsub-credentials
items:
- key: PUBSUB_CREDENTIALS
path: service-account.json
templates:
container:
env:
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /debezium/external-configuration/pubsub/service-account.json
storage:
external:
- name: pubsub
secret:
secretName: pubsub-credentials
items:
- key: PUBSUB_CREDENTIALS
path: service-account.json
environment:
vars:
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /debezium/external/pubsub/service-account.json
sink:
type: pubsub
config:
Expand Down
2 changes: 1 addition & 1 deletion operator/tutorial-pubsub/k8s/operator/001_subscription.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ spec:
source: operatorhubio-catalog
sourceNamespace: olm
channel: debezium-2.5.x
startingCSV: debezium-operator.v2.5.0
startingCSV: debezium-operator.v2.5.3-final

0 comments on commit e6cc2c2

Please sign in to comment.