Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.

Fixes #1042 Switch to using Deployments rather than DeploymentConfig on OpenShift when not using ImageStreams #1096

Merged
merged 2 commits into from
Dec 4, 2017

Conversation

rohanKanojia
Copy link
Member

@rohanKanojia rohanKanojia commented Nov 15, 2017

Fabric8-maven-plugin should always use DeploymentConfigs if using ImageStreams; but if not we should probably default to Deployments.

@codecov
Copy link

codecov bot commented Nov 15, 2017

Codecov Report

Merging #1096 into master will decrease coverage by 0.01%.
The diff coverage is 0%.

@@             Coverage Diff              @@
##             master    #1096      +/-   ##
============================================
- Coverage     25.28%   25.27%   -0.02%     
  Complexity      703      703              
============================================
  Files           176      176              
  Lines          9368     9374       +6     
  Branches       1617     1619       +2     
============================================
  Hits           2369     2369              
- Misses         6731     6737       +6     
  Partials        268      268

@rohanKanojia rohanKanojia changed the title Fixes #1042 Fixes #1042 Switch to using Deployments rather than DeploymentConfig on OpenShift when not using ImageStreams Nov 15, 2017
Copy link
Member

@hrishin hrishin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rohanKanojia Thanks :)
Overall it's looking good, could you accommodate following changes

  • update the F8-M-P documentation about this flag change
  • update the changelog.md about this feature change

@@ -174,6 +175,8 @@
@Parameter(property = "fabric8.build.strategy")
private OpenShiftBuildStrategy buildStrategy = OpenShiftBuildStrategy.s2i;

@Parameter(property = "fabric8.build.switchToDeployment", defaultValue = "true")
Copy link
Member

@hrishin hrishin Nov 27, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be better to keep the default preference to false, so it will not impact the existing deployments and users who are using it :)
@jstrachan WDYT?

Switch to using Deployments rather than DeploymentConfig on OpenShift when not using ImageStreams
@hrishin hrishin merged commit 63deebd into fabric8io:master Dec 4, 2017
@rohanKanojia rohanKanojia deleted the bugfix1042 branch November 22, 2022 10:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants