Skip to content

Commit

Permalink
ztp: add ptpEventConfig.apiVersion in PtpOperatorConfig
Browse files Browse the repository at this point in the history
Signed-off-by: Jack Ding <[email protected]>
  • Loading branch information
jzding committed Oct 18, 2024
1 parent b0f95e4 commit c79d16c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ztp/source-crs/PtpOperatorConfigForEvent-SetSelector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@ spec:
daemonNodeSelector:
# node-role.kubernetes.io/worker: ""
ptpEventConfig:
# example "2.0", default to "1.0" if not set
apiVersion: $event_api_version
enableEventPublisher: true
transportHost: "http://ptp-event-publisher-service-NODE_NAME.openshift-ptp.svc.cluster.local:9043"
2 changes: 2 additions & 0 deletions ztp/source-crs/PtpOperatorConfigForEvent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@ spec:
daemonNodeSelector:
node-role.kubernetes.io/$mcp: ""
ptpEventConfig:
# example "2.0", default to "1.0" if not set
apiVersion: $event_api_version
enableEventPublisher: true
transportHost: "http://ptp-event-publisher-service-NODE_NAME.openshift-ptp.svc.cluster.local:9043"

0 comments on commit c79d16c

Please sign in to comment.