Skip to content

Commit

Permalink
Fix README for 1.21.1
Browse files Browse the repository at this point in the history
  • Loading branch information
burmanm committed Jun 24, 2024
1 parent a61a5da commit 1cf0f7a
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ Default installation is simple, the kubectl will create a namespace ``cass-opera
Default install requires cert-manager to be installed, since webhooks require TLS certificates to be injected. See below how to install cert-manager if your environment does not have it installed previously.

```console
kubectl apply --force-conflicts --server-side -k github.com/k8ssandra/cass-operator/config/deployments/default?ref=1.21.1
kubectl apply --force-conflicts --server-side -k github.com/k8ssandra/cass-operator/config/deployments/default?ref=v1.21.1
```

If you wish to install it with cluster wide rights to monitor all the namespaces for ``CassandraDatacenter`` objects, use the following command:

```console
kubectl apply --force-conflicts --server-side -k github.com/k8ssandra/cass-operator/config/deployments/cluster?ref=1.21.1
kubectl apply --force-conflicts --server-side -k github.com/k8ssandra/cass-operator/config/deployments/cluster?ref=v1.21.1
```

Alternatively, if you checkout the code, you can use ``make deploy`` to run [Kustomize](https://kustomize.io/) and deploy the files.
Expand All @@ -61,7 +61,7 @@ cass-operator-555577b9f8-zgx6j 1/1 Running 0 25h
If you have Prometheus installed in your cluster, you can apply the following command to install the Prometheus support:

```console
kubectl apply -k github.com/k8ssandra/cass-operator/config/prometheus?ref=1.21.1
kubectl apply -k github.com/k8ssandra/cass-operator/config/prometheus?ref=v1.21.1
```

#### Install cert-manager
Expand All @@ -83,10 +83,10 @@ kind: Kustomization
namespace: cass-operator

resources:
- github.com/k8ssandra/cass-operator/config/deployments/default?ref=1.21.1
- github.com/k8ssandra/cass-operator/config/deployments/default?ref=v1.21.1

components:
- github.com/k8ssandra/cass-operator/config/components/cluster?ref=1.21.1
- github.com/k8ssandra/cass-operator/config/components/cluster?ref=v1.21.1
```
We provide both components to modify the installation as well as some additional resources for custom features. At the moment, you can modify the behavior of the installation in the following ways, or remove a component to
Expand Down Expand Up @@ -121,7 +121,7 @@ kind: ImageConfig
metadata:
name: image-config
images:
system-logger: "k8ssandra/system-logger:1.21.1"
system-logger: "k8ssandra/system-logger:v1.21.1"
config-builder: "datastax/cass-config-builder:1.0-ubi7"
imageRegistry: "localhost:5000"
defaults:
Expand Down Expand Up @@ -152,7 +152,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- github.com/k8ssandra/cass-operator/config/deployments/default?ref=1.21.1
- github.com/k8ssandra/cass-operator/config/deployments/default?ref=v1.21.1

components:
- components/private_image_config
Expand All @@ -164,7 +164,7 @@ If you also wish to load the cass-operator from a different path, you will need
images:
- name: controller
newName: localhost:5000/k8ssandra/cass-operator
newTag: 1.21.1
newTag: v1.21.1
```
Run ``kubectl apply -k our_installation`` to install cass-operator.
Expand Down Expand Up @@ -253,7 +253,7 @@ reclaimPolicy: Delete
Paste the above to a file and apply:
```
kubectl apply -f https://raw.githubusercontent.com/k8ssandra/cass-operator/1.21.1/operator/k8s-flavors/gke/storage.yaml
kubectl apply -f https://raw.githubusercontent.com/k8ssandra/cass-operator/v1.21.1/operator/k8s-flavors/gke/storage.yaml
```

### Creating a CassandraDatacenter
Expand Down

0 comments on commit 1cf0f7a

Please sign in to comment.