|
| 1 | +##--------------------------------------------- |
| 2 | +## Database configuration section |
| 3 | +##--------------------------------------------- |
| 4 | +database: |
| 5 | + ## 1. The database to use for CloudBees Flow installation. |
| 6 | + ## The following database types are supported with Flow in a production environment: |
| 7 | + ## mysql, oracle, or sqlserver |
| 8 | + ## |
| 9 | + ## The database type must be specified. |
| 10 | + dbType: |
| 11 | + |
| 12 | + ## 2. The name of the database to use with CloudBees Flow installation. |
| 13 | + ## |
| 14 | + ## The database name must be specified. |
| 15 | + dbName: |
| 16 | + |
| 17 | + ## 3. Name of the secret containing the database user credentials. |
| 18 | + ## The data field must contain base64 encoded values for keys 'DB_USER' and 'DB_PASSWORD'. |
| 19 | + ## E.g., kubectl create secret generic flow-db-secret --from-literal=DB_USER=flow_user --from-literal=DB_PASSWORD='S!*d$z5Dsb' |
| 20 | + ## |
| 21 | + ## Set the name of the secret that contains the database user credentials. |
| 22 | + existingSecret: flow-db-secret |
| 23 | + |
| 24 | + ## 4.(a) Database hostname if the database instance is running outside the cluster |
| 25 | + ## |
| 26 | + ## Either the database hostname (externalEndpoint) or the database service name (clusterEndpoint) must be specified. |
| 27 | + ## |
| 28 | + ## Uncomment the following line to set the database hostname. |
| 29 | + # externalEndpoint: flowdb.example.com |
| 30 | + |
| 31 | + ## 4.(b) Database service name if the database instance is running within the cluster. Use the service DNS name if |
| 32 | + ## the database service is running in a different namespace in the cluster, e.g., my-sql-db-mysql.default.svc.cluster.local |
| 33 | + ## |
| 34 | + ## Either the database hostname (externalEndpoint) or the database service name (clusterEndpoint) must be specified. |
| 35 | + ## |
| 36 | + ## Uncomment the following line to set the database service name. |
| 37 | + # clusterEndpoint: flow-db-mysql |
| 38 | + |
| 39 | + ## 5. The database port to use. |
| 40 | + ## |
| 41 | + ## The database port must be specified. |
| 42 | + dbPort: |
| 43 | + |
| 44 | +##--------------------------------------------- |
| 45 | +## Flow storage configuration section |
| 46 | +##--------------------------------------------- |
| 47 | +storage: |
| 48 | + volumes: |
| 49 | + serverPlugins: |
| 50 | + ## A ReadWriteMany storage class used for plugins directory. |
| 51 | + ## It is shared across all the Flow server and the web server |
| 52 | + ## replicas. |
| 53 | + storageClass: your-readwritemany-storage-class |
| 54 | + |
| 55 | +##--------------------------------------------- |
| 56 | +## Flow server admin credentials section |
| 57 | +##--------------------------------------------- |
| 58 | + |
| 59 | +flowCredentials: |
| 60 | + ## Name of the secret containing the admin user password to use. |
| 61 | + ## The data field must contain base64 encoded value for key 'CBF_SERVER_ADMIN_PASSWORD'. |
| 62 | + ## E.g., kubectl create secret generic your-flow-admin-secret --from-literal=CBF_SERVER_ADMIN_PASSWORD='rrx!*d$z75Dsb' |
| 63 | + ## |
| 64 | + ## Set the name of the secret that contains the admin user password. |
| 65 | + existingSecret: your-flow-admin-secret |
0 commit comments