@@ -328,81 +328,11 @@ find the preparation guides for the databases that RDI supports in the
328328[Prepare source databases]({{< relref "/integrate/redis-data-integration/data-pipelines/prepare-dbs" >}}) 
329329section. 
330330
331- # # Set secrets
332- 
333- Before you deploy your pipeline, you must set the authentication secrets for the 
334- source and target databases. Each secret has a corresponding property name that 
335- you can pass to the 
336- [`redis-di set-secret`]({{< relref "/integrate/redis-data-integration/reference/cli/redis-di-set-secret" >}}) 
337- command to set the property's value. You can then refer to these properties 
338- in `config.yaml` using the syntax "`${PROPERTY_NAME}`" 
339- (the sample [config.yaml file](#the-configyaml-file) shows these properties in use). 
340- For example, you would use the 
341- following command line to set the source database username to `myUserName` :
342- 
343- ` ` ` bash
344- redis-di set-secret SOURCE_DB_USERNAME myUserName 
345- ` ` ` 
346- 
347- The table below shows the property name for each secret. Note that the 
348- username and password are required for the source and target, but the other 
349- secrets are only relevant to TLS/mTLS connections. 
350- 
351- | Property name | Description | 
352- | :-- | :-- | 
353- | `SOURCE_DB_USERNAME` | Username for the source database | 
354- | `SOURCE_DB_PASSWORD` | Password for the source database | 
355- | `SOURCE_DB_CACERT` | (For TLS only) Source database trust certificate | 
356- | `SOURCE_DB_KEY` | (For mTLS only) Source database private key | 
357- | `SOURCE_DB_CERT` | (For mTLS only) Source database public key | 
358- | `SOURCE_DB_KEY_PASSWORD` | (For mTLS only) Source database private key password | 
359- | `TARGET_DB_USERNAME` | Username for the target database | 
360- | `TARGET_DB_PASSWORD` | Password for the target database | 
361- | `TARGET_DB_CACERT` | (For TLS only) Target database trust certificate | 
362- | `TARGET_DB_KEY` | (For mTLS only) Target database private key | 
363- | `TARGET_DB_CERT` | (For mTLS only) Target database public key | 
364- | `TARGET_DB_KEY_PASSWORD` | (For mTLS only) Target database private key password | 
365- 
366331# # Deploy a pipeline
367332
368- If you are hosting RDI on your own VMs, you can use the 
369- [`deploy`]({{< relref "/integrate/redis-data-integration/reference/cli/redis-di-deploy" >}}) 
370- command to deploy a configuration, including the jobs, once you have created them. 
371- 
372- If your RDI CLI is deployed as a pod in a Kubernetes cluster, you should perform the following 
373- steps to deploy a pipeline :
374- 
375- - Create a [ConfigMap](https://kubernetes.io/docs/concepts/configuration/configmap/) from the 
376-   YAML files in your `jobs` folder :
377- 
378-   ` ` ` bash
379-   kubectl create configmap redis-di-jobs --from-file=jobs/ 
380-   ` ` `  
381- 
382- - Deploy your jobs :
383- 
384-   ` ` ` bash
385-   kubectl exec -it pod/redis-di-cli -- redis-di deploy 
386-   ` ` `  
387- 
388- {{< note >}}When you create or modify a ConfigMap, it will be available in the `redis-di-cli` pod 
389- after a short delay. Wait around 30 seconds before running the `redis-di deploy` command.{{< /note >}} 
390- 
391- You have two options to update the ConfigMap :
392- 
393- - For smaller changes, you can edit the ConfigMap directly with this command :
394- 
395-   ` ` ` bash
396-   kubectl edit configmap redis-di-jobs 
397-   ` ` `  
398- 
399- - For bigger changes, such as adding another job file, edit the files in your local `jobs` folder and then run this command :
400- 
401-   ` ` ` bash
402-   kubectl create configmap redis-di-jobs --from-file=jobs/ --dry-run=client -o yaml | kubectl apply -f - 
403-   ` ` `  
404- 
405- {{< note >}} You must run `kubectl exec -it pod/redis-di-cli -- redis-di deploy` after updating the ConfigMap with either option.{{< /note >}} 
333+ When your configuration is ready, you must deploy it to start using the pipeline. See 
334+ [Deploy a pipeline]({{< relref "/integrate/redis-data-integration/data-pipelines/deploy" >}}) 
335+ to learn how to do this. 
406336
407337# # Ingest pipeline lifecycle
408338
0 commit comments