-
Notifications
You must be signed in to change notification settings - Fork 984
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
Fix Deployment acceptance tests #248
Conversation
Acceptance tests results with these changes:
|
I had to fix these before addressing #247 (shaving yaks here 😄 ) |
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.
Thanks for fixing these.
Running the internal CI for this PR. If all works well, we're good to go.
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.
CI is all green.
LGTM
This PR fixes some failing deployment acceptance tests (tested on GKE 1.11.4-gke.8):
The
TestAccKubernetesDeployment_with_security_context
andTestAccKubernetesDeployment_with_container_security_context
test are timing out with containers in CrashLoopBackOff with the following container logs:Using nginx images when security contexts define containers to run as non root user is known to cause issues:
Work-around: use some other image such as
redis
.The
TestAccKubernetesDeployment_with_container_lifecycle
test is timing out with containers in CrashLoopBackOff because thegcr.io/google_containers/liveness
image used in that test only contains the/server
executable, but no shell,ls
ordate
executables:Work-around: use
gcr.io/google_containers/busybox
image.