Skip to content

Commit c67baf5

Browse files
committed
fixed revview
1 parent 60cfbd2 commit c67baf5

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-8
lines changed

cloudbees-cd/kubernetes/cloudbees-cd-demo-openshift.yaml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,15 @@ clusteredMode: false
77
storage:
88
volumes:
99
serverPlugins:
10-
accessMode: ReadWriteOnce
11-
# Storage class for plugins directory. Currently it has to be shared across server and web replicas.
12-
# Server and web are co-located using hard affinity rule for non clusteredMode. StorageClass is null here to ensure the same behavior across all cloud providers
13-
# (it forces storage class to fall back to "default" disk based ReadWriteOnce platform specific storage class)
14-
storageClass: null
15-
storage: 5Gi
16-
10+
name: flow-server-shared
11+
accessMode: ReadWriteMany
12+
## A ReadWriteMany storage class used for plugins directory.
13+
## It is shared across all the Flow server and the web server
14+
## replicas.
15+
storageClass: nfs-client
16+
# In order to use any existing pvc. set existingClaim flag to true and
17+
# set storage.volumes.serverPlugins.name to pvc name
18+
existingClaim: false
1719
repositoryStorage:
1820
storage: 10Gi
1921

cloudbees-cd/kubernetes/cloudbees-cd-prod-openshift.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,16 @@ ingress:
5858
storage:
5959
volumes:
6060
serverPlugins:
61+
name: flow-server-shared
62+
accessMode: ReadWriteMany
6163
## A ReadWriteMany storage class used for plugins directory.
6264
## It is shared across all the Flow server and the web server
6365
## replicas.
64-
storageClass: your-readwritemany-storage-class
66+
storageClass: nfs-client
67+
# In order to use any existing pvc. set existingClaim flag to true and
68+
# set storage.volumes.serverPlugins.name to pvc name
69+
existingClaim: false
70+
6571

6672
##---------------------------------------------
6773
## Flow server admin credentials section

0 commit comments

Comments
 (0)