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