diff --git a/config/controller.yaml b/config/controller.yaml index 1467af71944..88171de4ae0 100644 --- a/config/controller.yaml +++ b/config/controller.yaml @@ -11,7 +11,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -apiVersion: apps/v1beta1 +apiVersion: apps/v1 kind: Deployment metadata: name: tekton-pipelines-controller @@ -21,6 +21,9 @@ metadata: app.kubernetes.io/component: controller spec: replicas: 1 + selector: + matchLabels: + app: tekton-pipelines-controller template: metadata: annotations: diff --git a/config/webhook.yaml b/config/webhook.yaml index 93a340930e8..359d8542ef1 100644 --- a/config/webhook.yaml +++ b/config/webhook.yaml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -apiVersion: apps/v1beta1 +apiVersion: apps/v1 kind: Deployment metadata: name: tekton-pipelines-webhook @@ -22,6 +22,9 @@ metadata: app.kubernetes.io/component: webhook-controller spec: replicas: 1 + selector: + matchLabels: + app: tekton-pipelines-webhook template: metadata: annotations: