Skip to content

Commit

Permalink
fix: update salesforce spec
Browse files Browse the repository at this point in the history
  • Loading branch information
katallaxie committed Sep 19, 2024
1 parent e574c5a commit 6ce11f1
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions config/300-salesforcesource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,22 @@ spec:
type: object
properties:
spec:
description: Desired state of the event source.
description: A SalesforceSource represents a source of events from Salesforce.
type: object
properties:
auth:
type: object
description: Authentication method to interact with the Salesforce API.
required:
- clientID
- clientSecret
properties:
clientID:
description: Salesforce client ID.
type: string
clientSecret:
description: Salesforce client secret.
type: string
instanaceURL:
description: Salesforce instance URL.
type: string
Expand All @@ -67,13 +72,9 @@ spec:
required:
- name
- key
oneOf:
- required: [value]
- required: [valueFromSecret]
required:
- clientID
- instanceURL
- auth
oneOf:
- required: [value]
- required: [valueFromSecret]
apiVersion:
description: Salesforce API version.
type: string
Expand Down

0 comments on commit 6ce11f1

Please sign in to comment.