-
Notifications
You must be signed in to change notification settings - Fork 474
AGENT-1416: Add default NodeDisruptionPolicy for IRI #5683
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -108,6 +108,40 @@ var ( | |
| }, | ||
| }, | ||
| }, | ||
| { | ||
| Path: "/etc/iri-registry", | ||
| Actions: []opv1.NodeDisruptionPolicyStatusAction{ | ||
| { | ||
| Type: opv1.NoneStatusAction, | ||
| }, | ||
| }, | ||
| }, | ||
| { | ||
| Path: "/usr/local/bin/load-registry-image.sh", | ||
| Actions: []opv1.NodeDisruptionPolicyStatusAction{ | ||
| { | ||
| Type: opv1.NoneStatusAction, | ||
| }, | ||
| }, | ||
| }, | ||
| { | ||
| Path: "/var/lib/iri-registry", | ||
| Actions: []opv1.NodeDisruptionPolicyStatusAction{ | ||
| { | ||
| Type: opv1.NoneStatusAction, | ||
| }, | ||
| }, | ||
| }, | ||
| }, | ||
| Units: []opv1.NodeDisruptionPolicyStatusUnit{ | ||
| { | ||
| Name: "iri-registry.service", | ||
| Actions: []opv1.NodeDisruptionPolicyStatusAction{ | ||
| { | ||
| Type: opv1.NoneStatusAction, | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not really sure this is going to work? I was expecting at least a |
||
| }, | ||
| }, | ||
| }, | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What about the IRI TLS ca cert added to the node trust store? IIRC (please @djoshy make me honest) that may force a node reboot in any case |
||
| }, | ||
| SSHKey: opv1.NodeDisruptionPolicyStatusSSHKey{ | ||
| Actions: []opv1.NodeDisruptionPolicyStatusAction{ | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Q: since there's no part in the IRI machine configs about
/var/lib/iri-registry(that part will be handled by the daemon directly), is that really required?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(Not sure if the SpecialStatusAction may be required instead?)