From b561185ec514b697d869da10614b04c788b0496e Mon Sep 17 00:00:00 2001 From: wangdepeng Date: Wed, 24 Jan 2024 17:17:25 +0800 Subject: [PATCH] fix: modify deploy and test/e2e files delete Deprecated serviceAccount config, update make clean Signed-off-by: wangdepeng --- deploy/clusterlink-elector.yml | 1 - deploy/scheduler/deployment.yaml | 1 - test/e2e/deploy/mysql-operator/mysqll-operator.yaml | 1 - 3 files changed, 3 deletions(-) diff --git a/deploy/clusterlink-elector.yml b/deploy/clusterlink-elector.yml index 42840cafe..7f6201ca0 100644 --- a/deploy/clusterlink-elector.yml +++ b/deploy/clusterlink-elector.yml @@ -65,7 +65,6 @@ spec: - mountPath: /etc/clusterlink name: proxy-config readOnly: true - serviceAccount: clusterlink-elector serviceAccountName: clusterlink-elector tolerations: - effect: NoSchedule diff --git a/deploy/scheduler/deployment.yaml b/deploy/scheduler/deployment.yaml index 2959b9863..e9fdf9161 100644 --- a/deploy/scheduler/deployment.yaml +++ b/deploy/scheduler/deployment.yaml @@ -51,7 +51,6 @@ spec: restartPolicy: Always dnsPolicy: ClusterFirst serviceAccountName: kosmos-scheduler - serviceAccount: kosmos-scheduler --- apiVersion: v1 diff --git a/test/e2e/deploy/mysql-operator/mysqll-operator.yaml b/test/e2e/deploy/mysql-operator/mysqll-operator.yaml index 7f6475440..b6e696861 100644 --- a/test/e2e/deploy/mysql-operator/mysqll-operator.yaml +++ b/test/e2e/deploy/mysql-operator/mysqll-operator.yaml @@ -114,7 +114,6 @@ spec: runAsGroup: 65532 runAsNonRoot: true runAsUser: 65532 - serviceAccount: mysql-operator serviceAccountName: mysql-operator volumes: - configMap: