From c7e9b566609166cfe5e7b9ae795bb7f80eae6b04 Mon Sep 17 00:00:00 2001 From: Andrew Bays Date: Tue, 16 May 2023 14:53:17 +0000 Subject: [PATCH] Controller manager label finalization --- config/manager/manager.yaml | 8 +++----- config/prometheus/monitor.yaml | 2 +- config/rbac/auth_proxy_service.yaml | 2 +- config/webhook/service.yaml | 2 +- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/config/manager/manager.yaml b/config/manager/manager.yaml index 5f4d5ca8..39559913 100644 --- a/config/manager/manager.yaml +++ b/config/manager/manager.yaml @@ -12,12 +12,11 @@ metadata: namespace: system labels: control-plane: controller-manager - app.kubernetes.io/name: keystone-operator - app.kubernetes.io/component: keystone + openstack.org/operator-name: keystone spec: selector: matchLabels: - app.kubernetes.io/name: keystone-operator + openstack.org/operator-name: keystone replicas: 1 template: metadata: @@ -25,8 +24,7 @@ spec: kubectl.kubernetes.io/default-container: manager labels: control-plane: controller-manager - app.kubernetes.io/name: keystone-operator - app.kubernetes.io/component: keystone + openstack.org/operator-name: keystone spec: securityContext: runAsNonRoot: true diff --git a/config/prometheus/monitor.yaml b/config/prometheus/monitor.yaml index 0fa5fc61..0c203de4 100644 --- a/config/prometheus/monitor.yaml +++ b/config/prometheus/monitor.yaml @@ -17,4 +17,4 @@ spec: insecureSkipVerify: true selector: matchLabels: - app.kubernetes.io/name: keystone-operator + openstack.org/operator-name: keystone diff --git a/config/rbac/auth_proxy_service.yaml b/config/rbac/auth_proxy_service.yaml index 4830ca32..aae07dba 100644 --- a/config/rbac/auth_proxy_service.yaml +++ b/config/rbac/auth_proxy_service.yaml @@ -12,4 +12,4 @@ spec: protocol: TCP targetPort: https selector: - app.kubernetes.io/name: keystone-operator + openstack.org/operator-name: keystone diff --git a/config/webhook/service.yaml b/config/webhook/service.yaml index c5d6c26e..97f4dfe8 100644 --- a/config/webhook/service.yaml +++ b/config/webhook/service.yaml @@ -17,4 +17,4 @@ spec: protocol: TCP targetPort: 9443 selector: - app.kubernetes.io/name: keystone-operator + openstack.org/operator-name: keystone