Skip to content

Commit

Permalink
support pubsub dev options
Browse files Browse the repository at this point in the history
  • Loading branch information
jsirianni committed Apr 16, 2024
1 parent 03ac056 commit 8dd5fca
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
8 changes: 8 additions & 0 deletions charts/bindplane/templates/bindplane.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,14 @@ spec:
- name: BINDPLANE_GOOGLE_PUB_SUB_CREDENTIALS_FILE
value: /credentials.json
{{- end }}
{{- if .Values.eventbus.pubsub.endpoint }}
- name: BINDPLANE_GOOGLE_PUB_SUB_ENDPOINT
value: {{ .Values.eventbus.pubsub.endpoint }}
{{- end }}
{{- if .Values.eventbus.pubsub.insecure }}
- name: BINDPLANE_GOOGLE_PUB_SUB_INSECURE
value: "{{ .Values.eventbus.pubsub.insecure }}"
{{- end }}
{{- end }}
{{- if eq .Values.eventbus.type "kafka" }}
- name: BINDPLANE_EVENT_BUS_TYPE
Expand Down
4 changes: 4 additions & 0 deletions charts/bindplane/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,10 @@ eventbus:
secret: ""
# -- Sub path for the secret which contains the Google Cloud credential JSON
subPath: ""
# endpoint is undocumented, for testing against an emulator only.
endpoint: ""
# inet is undocumented, for testing against an emulator only.
insecure: false

kafka:
# -- Comma separated list of brokers to use, in the form of `host:port`.
Expand Down

0 comments on commit 8dd5fca

Please sign in to comment.