update tcs jenkins

main
ycz008 2023-11-06 12:16:34 +08:00
parent 53c7de2b51
commit 3d7d05742b
1 changed files with 5 additions and 5 deletions

View File

@ -27,13 +27,13 @@ subjects:
- kind: ServiceAccount - kind: ServiceAccount
name: jenkins-admin name: jenkins-admin
# ref: ServiceAccount # ref: ServiceAccount
namespace: basic namespace: tcs
--- ---
apiVersion: storage.k8s.io/v1 apiVersion: storage.k8s.io/v1
kind: StorageClass kind: StorageClass
metadata: metadata:
name: local-storage name: local
provisioner: kubernetes.io/no-provisioner provisioner: kubernetes.io/no-provisioner
volumeBindingMode: WaitForFirstConsumer volumeBindingMode: WaitForFirstConsumer
@ -43,7 +43,7 @@ kind: PersistentVolumeClaim
metadata: metadata:
name: jenkins-pvc-local name: jenkins-pvc-local
spec: spec:
storageClassName: local-storage storageClassName: local
accessModes: accessModes:
- ReadWriteOnce - ReadWriteOnce
resources: resources:
@ -58,11 +58,11 @@ metadata:
labels: labels:
type: local type: local
spec: spec:
storageClassName: local-storage storageClassName: local
claimRef: claimRef:
name: jenkins-pvc-local name: jenkins-pvc-local
# ref: PersistentVolumeClaim # ref: PersistentVolumeClaim
namespace: basic namespace: tcs
capacity: capacity:
storage: 20Gi storage: 20Gi
accessModes: accessModes: