Skip to content

Commit 8e442f2

Browse files
Merge pull request #1268 from kramvan1/fix-1238-configmap-probes
Bug 1768819: Fix configmap registry server readiness probe timeouts
2 parents 8534ecd + 8532945 commit 8e442f2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pkg/controller/registry/reconciler/configmap.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ func (s *configMapCatalogSourceDecorator) Service() *v1.Service {
8989
}
9090

9191
func (s *configMapCatalogSourceDecorator) Pod(image string) *v1.Pod {
92-
pod := Pod(s.CatalogSource, "configmap-registry-server", image, s.Labels(), 1, 2)
92+
pod := Pod(s.CatalogSource, "configmap-registry-server", image, s.Labels(), 5, 2)
9393
pod.Spec.ServiceAccountName = s.GetName() + ConfigMapServerPostfix
9494
pod.Spec.Containers[0].Command = []string{"configmap-server", "-c", s.Spec.ConfigMap, "-n", s.GetNamespace()}
9595
ownerutil.AddOwner(pod, s.CatalogSource, false, false)

pkg/controller/registry/reconciler/reconciler.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ func Pod(source *v1alpha1.CatalogSource, name string, image string, labels map[s
118118
},
119119
},
120120
InitialDelaySeconds: readinessDelay,
121+
TimeoutSeconds: 5,
121122
},
122123
LivenessProbe: &v1.Probe{
123124
Handler: v1.Handler{

0 commit comments

Comments
 (0)