Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2db8500

Browse files
fix
1 parent 06fbd46 commit 2db8500

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

‎config/manager/kustomization.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ kind: Kustomization
1313
images:
1414
- name: controller
1515
newName: itayankri/osrm-operator
16-
newTag: 2dfd930
16+
newTag: 06fbd46

‎internal/resource/deployment.go‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,11 @@ func (builder *DeploymentBuilder) Update(object client.Object, siblings []runtim
4444
deployment := object.(*appsv1.Deployment)
4545
pbfFileName := builder.Instance.Spec.GetPbfFileName()
4646
osrmFileName := strings.ReplaceAll(pbfFileName, "osm.pbf", "osrm")
47-
profileSpec := getProfileSpec(builder.profile.Name, builder.Instance)
4847

4948
deployment.ObjectMeta.Labels = metadata.GetLabels(builder.Instance, metadata.ComponentLabelProfile)
5049

5150
deployment.Spec = appsv1.DeploymentSpec{
52-
Replicas: profileSpec.Replicas,
51+
Replicas: deployment.Spec.Replicas,
5352
Selector: &metav1.LabelSelector{
5453
MatchLabels: map[string]string{
5554
"app": name,

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /