Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

set default replicas as 1 in DeploymentConfig #361

Merged
merged 1 commit into from
Oct 16, 2017

Conversation

concaf
Copy link
Collaborator

@concaf concaf commented Oct 13, 2017

Setting no value for the "replicas" field in a DeploymentConfig
sets the value as 0, while we should be setting this value as 1.

This commit fixes that.

Fixes #357

@surajnarwade
Copy link
Collaborator

Needs unit test related to replicas

Setting no value for the "replicas" field in a DeploymentConfig
sets the value as 0, while we should be setting this value as 1.

This commit fixes that and adds tests for the behavior.

Fixes kedgeproject#357
@concaf
Copy link
Collaborator Author

concaf commented Oct 16, 2017

@surajnarwade added.

@surajnarwade
Copy link
Collaborator

LGTM :)

Copy link
Member

@kadel kadel left a comment

Choose a reason for hiding this comment

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

lgtm

@concaf concaf merged commit 8797dea into kedgeproject:master Oct 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

replicas set to 0 if not specified
3 participants