Skip to content

Commit 602acda

Browse files
authored
Align bundle path param name and upgrade image version in k8s example yaml (#99)
Co-authored-by: Stefano Lottini <[email protected]>
1 parent 3208c8a commit 602acda

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ Using Kubernetes with `cql-proxy` requires a number of steps:
221221
222222
1. Generate a token following the Astra [instructions](https://docs.datastax.com/en/astra/docs/manage-application-tokens.html#_create_application_token). This step will display your Client ID, Client Secret, and Token; make sure you download the information for the next steps. Store the secure bundle in `/tmp/scb.zip` to match the example below.
223223
224-
2. Create `cql-proxy.yaml`. You'll need to add three sets of information: arguments, volume mounts, and volumes.
224+
2. Create `cql-proxy.yaml`. You'll need to add three sets of information: arguments, volume mounts, and volumes. A full example can be found [here](k8s/cql-proxy.yml).
225225

226226
- Argument: Modify the local bundle location, username and password, using the client ID and client secret obtained in the last step to the container argument.
227227

@@ -253,9 +253,9 @@ Using Kubernetes with `cql-proxy` requires a number of steps:
253253
4. Check the configmap that was created.
254254

255255
```sh
256-
kubectl describe configmap config
256+
kubectl describe configmap cql-proxy-configmap
257257
258-
Name: config
258+
Name: cql-proxy-configmap
259259
Namespace: default
260260
Labels: <none>
261261
Annotations: <none>

k8s/cql-proxy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ spec:
1515
spec:
1616
containers:
1717
- name: cql-proxy
18-
image: datastax/cql-proxy:v0.0.2
18+
image: datastax/cql-proxy:v0.1.3
1919
command: ["./cql-proxy"]
20-
args: ["--bundle=/tmp/scb.zip","--username=Client ID","--password=Client Secret"]
20+
args: ["--astra-bundle=/tmp/scb.zip","--username=Client ID","--password=Client Secret"]
2121
volumeMounts:
2222
- name: my-cm-vol
2323
mountPath: /tmp/

0 commit comments

Comments
 (0)