Skip to content

Commit

Permalink
DOC-4598 added missing command variants
Browse files Browse the repository at this point in the history
  • Loading branch information
andy-stark-redis committed Nov 26, 2024
1 parent ed5467d commit 8c6866d
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions content/integrate/redis-data-integration/data-pipelines/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,17 @@ kubectl create secret generic source-db \
--namespace=rdi \
--from-literal=SOURCE_DB_CACERT=/etc/certificates/source_db/ca.crt

# Source public key
# Source public key (both commands are required)
kubectl create secret generic source-db-ssl --from-file=client.crt=/path/to/myclient.crt -n rdi

kubectl create secret generic source-db \
--namespace=rdi \
--from-literal=SOURCE_DB_CERT=/etc/certificates/source_db/client.crt

# Source private key

# Source private key (both commands are required)
kubectl create secret generic source-db-ssl --from-file=client.key=/path/to/myclient.key -n rdi

kubectl create secret generic source-db \
--namespace=rdi \
--from-literal=SOURCE_DB_KEY=/etc/certificates/source_db/client.key
Expand All @@ -125,15 +130,20 @@ kubectl create secret generic target-db \
--namespace=rdi \
--from-literal=TARGET_DB_CACERT=/etc/certificates/target-db/ca.crt

# Target public key
# Target public key (both commands are required)
kubectl create secret generic target-db-ssl --from-file=client.crt=/path/to/myclient.crt -n rdi

kubectl create secret generic target-db \
--namespace=rdi \
--from-literal=TARGET_DB_CERT=/etc/certificates/target-db/client.crt
--from-literal=SOURCE_DB_CERT=/etc/certificates/target_db/client.crt


# Target private key (both commands are required)
kubectl create secret generic target-db-ssl --from-file=client.key=/path/to/myclient.key -n rdi

# Target private key
kubectl create secret generic target-db \
--namespace=rdi \
--from-literal=TARGET_DB_KEY=/etc/certificates/target-db/client.key
--from-literal=SOURCE_DB_KEY=/etc/certificates/target_db/client.key
```

## Deploy a pipeline
Expand Down

0 comments on commit 8c6866d

Please sign in to comment.