Skip to content

Commit

Permalink
feat(deployment): adds an option to block paramsync until ready
Browse files Browse the repository at this point in the history
  • Loading branch information
pallabpain authored and ankitrgadiya committed Dec 5, 2024
1 parent 2886c4d commit 387181c
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
7 changes: 7 additions & 0 deletions riocli/apply/manifests/deployment-nonros-device.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ spec:
kind: device
nameOrGUID: device-docker
restart: always # Options: [always, onfailure, never]
features:
params:
enabled: true
trees:
- config01
- config02
blockUntilSynced: true # Optional [true, false]. Default is false.
envArgs:
- name: TEST_KEY
value: test_value
Expand Down
7 changes: 7 additions & 0 deletions riocli/apply/manifests/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,13 @@ spec:
kind: device
nameOrGUID: device-docker
restart: always # Options: [always, onfailure, never]
features:
params:
enabled: true
trees:
- config01
- config02
blockUntilSynced: true # Optional [true, false]. Default is false.
envArgs:
- name: TEST_KEY
value: test_value
Expand Down
5 changes: 5 additions & 0 deletions riocli/jsonschema/schemas/deployment-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,12 @@ definitions:
type: string
disableSync:
type: boolean
blockUntilSynced:
type: boolean
default: false
required:
- enabled
- trees
type: object
additionalProperties: false

Expand Down Expand Up @@ -211,6 +215,7 @@ definitions:
type: boolean
required:
- enabled
- trees
envArgs:
type: array
items:
Expand Down

0 comments on commit 387181c

Please sign in to comment.