package wsmanager
import (
"github.com/gitpod-io/gitpod/installer/pkg/common"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime"
)
func pdb(ctx *common.RenderContext) ([]runtime.Object, error) {
return []runtime.Object{
common.PodDisruptionBudget(ctx, Component, 1, &metav1.LabelSelector{
MatchLabels: common.DefaultLabels(Component),
}),
}, nil
}