From c16588f74d468f4373d4c7a39bfda88382c2a914 Mon Sep 17 00:00:00 2001 From: Claude AI Date: Mon, 5 Jan 2026 17:57:54 +0000 Subject: [PATCH] feat(jenkins): Use jenkins ServiceAccount and remove kubeconfig mount --- apps/jenkins/deployment.yaml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/apps/jenkins/deployment.yaml b/apps/jenkins/deployment.yaml index 7e7a209..b00bf16 100644 --- a/apps/jenkins/deployment.yaml +++ b/apps/jenkins/deployment.yaml @@ -13,6 +13,7 @@ spec: labels: app: jenkins spec: + serviceAccountName: jenkins securityContext: fsGroup: 1000 initContainers: @@ -70,9 +71,6 @@ spec: mountPath: /var/run/docker.sock - name: tools-bin mountPath: /tmp/tools-bin - - name: kubeconfig - mountPath: /root/.kube - readOnly: true volumes: - name: jenkins-home persistentVolumeClaim: @@ -83,7 +81,3 @@ spec: type: Socket - name: tools-bin emptyDir: {} - - name: kubeconfig - hostPath: - path: /root/.kube - type: Directory