-
Notifications
You must be signed in to change notification settings - Fork 590
Update documentation for initContainers addition in spring-cloud-deployer #5866
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
Update documentation for initContainers addition in spring-cloud-deployer #5866
Conversation
@@ -1134,6 +1134,11 @@ The following example shows how you can configure an Init Container for an appli | |||
[source,options=nowrap] | |||
---- | |||
deployer.<application>.kubernetes.initContainer={containerName: 'test', imageName: 'busybox:latest', commands: ['sh', '-c', 'echo hello']} | |||
# alternative for multiple init containers | |||
deployer.<application>.kubernetes.initContainers=[{containerName:'test',imageName:'busybox:latest',commands:['sh','-c','echo hello']},{containerName:'test2',imageName:'busybox:latest',commands:['sh','-c','echo world']}] |
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.
Nitpick : Make sure we have a space after the comma so samples line up with each other.
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.
Should the alternative example go below the multiple containers example?
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.
inidividually is misspelled ;-)
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.
Fixed
@@ -1134,6 +1134,11 @@ The following example shows how you can configure an Init Container for an appli | |||
[source,options=nowrap] |
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.
Should line 1131 be updated to say "The following example shows how you can configure an Init Container or containers
for an application:"?
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.
Done
c0462f2
to
f0fb797
Compare
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.
I'll fix the ,
issue when I merge.
LGTM Squashed Merged |
forward ported to main-3 |
Related to spring-cloud/spring-cloud-deployer#465