-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Coerce case for restart policy (#77)
Co-authored-by: Stenal P Jolly <[email protected]> Co-authored-by: Bharath KKB <[email protected]>
- Loading branch information
1 parent
b6c4b7c
commit 5612b31
Showing
1 changed file
with
11 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5612b31
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.
Those values do not appear to be acceptable for container restart policy. According to the documentation the only valid values are: "never", "on-failure", "always". Why are these values used instead?
5612b31
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.
@jakevc Have you tested these values? If you have tested and can show a reproduction case, open an issue. The
gcloud
command is not what we're using. In fact, gcloud internally converts to the values.Please do not consider the gcloud command as documentation for this module.
5612b31
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.
Oh interesting. Yes the konlet startup container is killed when I use "No" or "no" here is the error log:
However, this does not occur when I use any of "never", "on-failure", or "always".
5612b31
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.
@jakevc We don't do support via comments. Open an issue on the module (with your full config) if you're truly having an issue using Terraform.