diff --git a/config/manager/manager.yaml b/config/manager/manager.yaml index 5b6b75d47..181af5a98 100644 --- a/config/manager/manager.yaml +++ b/config/manager/manager.yaml @@ -10,6 +10,8 @@ spec: matchLabels: control-plane: controller-manager replicas: 1 + strategy: + type: Recreate template: metadata: labels: diff --git a/config/manager/manager_auth_proxy_patch.yaml b/config/manager/manager_auth_proxy_patch.yaml index e4f125b4a..407c206ac 100644 --- a/config/manager/manager_auth_proxy_patch.yaml +++ b/config/manager/manager_auth_proxy_patch.yaml @@ -24,5 +24,4 @@ spec: args: - "--health-probe-bind-address=:8081" - "--metrics-bind-address=127.0.0.1:8080" - - "--leader-elect" - "--zap-log-level=error" diff --git a/deploy/manifests/latest/deployment.yaml b/deploy/manifests/latest/deployment.yaml index 929508254..b4ebbf00c 100644 --- a/deploy/manifests/latest/deployment.yaml +++ b/deploy/manifests/latest/deployment.yaml @@ -28,6 +28,8 @@ spec: selector: matchLabels: control-plane: controller-manager + strategy: + type: Recreate template: metadata: labels: @@ -48,7 +50,6 @@ spec: - args: - --health-probe-bind-address=:8081 - --metrics-bind-address=127.0.0.1:8080 - - --leader-elect - --zap-log-level=error command: - /manager