Skip to content
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

Add support for pull-policies in Kubernetes stacks (v1alpha3) #1644

Closed
wants to merge 5 commits into from

Conversation

simonferquel
Copy link
Contributor

Based on #1617

- What I did

Compose on Kubernetes now supports explicitly specifying a pull policy on a service. This PR enables support for that with the x-pull-policy field on service configurations.

- How I did it

Following the pattern introduced with pull secrets, I added a declaration of the hasPullPolicy capability, and pass whatever is contained in the x-pull-policy extra field.

- How to verify it

This is covered by a unit test

- Description for the changelog

Services in a Kubernetes stack can now specify their PullPolicy using the extra field x-pull-policy.

@codecov-io
Copy link

Codecov Report

Merging #1644 into master will decrease coverage by 0.22%.
The diff coverage is 54.92%.

@@            Coverage Diff             @@
##           master    #1644      +/-   ##
==========================================
- Coverage   55.89%   55.66%   -0.23%     
==========================================
  Files         299      302       +3     
  Lines       20479    20574      +95     
==========================================
+ Hits        11446    11452       +6     
- Misses       8210     8296      +86     
- Partials      823      826       +3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants