|
| 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 | + # External Mysql Connector URL to download during cloudbees flow installation |
| 45 | + mysqlConnector: |
| 46 | + externalUrl: |
| 47 | + |
| 48 | +##--------------------------------------------- |
| 49 | +## Flow storage configuration section |
| 50 | +##--------------------------------------------- |
| 51 | +storage: |
| 52 | + volumes: |
| 53 | + serverPlugins: |
| 54 | + ## A ReadWriteMany storage class used for plugins directory. |
| 55 | + ## It is shared across all the Flow server and the web server |
| 56 | + ## replicas. |
| 57 | + storageClass: your-readwritemany-storage-class |
| 58 | + |
| 59 | +##--------------------------------------------- |
| 60 | +## Flow server admin credentials section |
| 61 | +##--------------------------------------------- |
| 62 | + |
| 63 | +flowCredentials: |
| 64 | + ## Name of the secret containing the admin user password to use. |
| 65 | + ## The data field must contain base64 encoded value for key 'CBF_SERVER_ADMIN_PASSWORD'. |
| 66 | + ## E.g., kubectl create secret generic your-flow-admin-secret --from-literal=CBF_SERVER_ADMIN_PASSWORD='rrx!*d$z75Dsb' |
| 67 | + ## |
| 68 | + ## Set the name of the secret that contains the admin user password. |
| 69 | + existingSecret: your-flow-admin-secret |
| 70 | + |
| 71 | + |
| 72 | +#--------------------------------------------- |
| 73 | +# Ingress configuration section |
| 74 | +#--------------------------------------------- |
| 75 | + |
| 76 | +ingress: |
| 77 | + enabled: true |
| 78 | + host: your-flow-domain-name.domain |
| 79 | + ## This section is just an example that ingress can be configured with |
| 80 | + ## certificate for TLS. |
| 81 | + certificate: |
| 82 | + existingSecret: |
| 83 | + key: |
| 84 | + crt: |
| 85 | + |
| 86 | +##---------------------------------------------------- |
| 87 | +## Flow multizone gateway pair configuration section |
| 88 | +##---------------------------------------------------- |
| 89 | + |
| 90 | +internalGatewayAgent: |
| 91 | + enabled: true |
| 92 | + |
| 93 | +externalGatewayAgent: |
| 94 | + enabled: true |
| 95 | + service: |
| 96 | + ## Set the host name same as ingress.host . |
| 97 | + publicHostName: your-flow-domain-name.domain |
| 98 | + |
0 commit comments