From 3307fe4b8a9ce2ef26d52eec91b1f147f3c7896f Mon Sep 17 00:00:00 2001
From: Dominik Hebeler <dominik@suma-ev.de>
Date: Tue, 21 Jun 2022 10:02:54 +0200
Subject: [PATCH] removed obsolete chmod

---
 .gitlab/ci/build_docker_images.yml | 2 --
 .gitlab/ci/deploy.yml              | 2 --
 2 files changed, 4 deletions(-)

diff --git a/.gitlab/ci/build_docker_images.yml b/.gitlab/ci/build_docker_images.yml
index 1e6748f93..984e22f11 100644
--- a/.gitlab/ci/build_docker_images.yml
+++ b/.gitlab/ci/build_docker_images.yml
@@ -44,8 +44,6 @@ nginx:
     NGINX_REPOSITORY_ID: 416
     NODE_REPOSITORY_ID: 419
     KEEP_N: 9 # Trim to the latest 9 revisions as the 10th will be deleted in the next stage
-  before_script:
-    - chmod go-r $KUBECONFIG
   script:
     - .gitlab/deployment_scripts/cleanup_tags_revision.sh
     - .gitlab/deployment_scripts/cleanup_tags_non_revision.sh
diff --git a/.gitlab/ci/deploy.yml b/.gitlab/ci/deploy.yml
index ef19825fa..1028c34d0 100644
--- a/.gitlab/ci/deploy.yml
+++ b/.gitlab/ci/deploy.yml
@@ -9,8 +9,6 @@
     DEPLOYMENT_CHART_NAME: ${CI_COMMIT_REF_SLUG}
     BRANCH_NAME: $CI_COMMIT_REF_NAME
     COMMIT_NAME: $CI_COMMIT_REF_SLUG
-  before_script:
-    - chmod go-r $KUBECONFIG
   script:
     - .gitlab/deployment_scripts/update_secret.sh
     - .gitlab/deployment_scripts/update_deployment.sh
-- 
GitLab