Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -198,16 +198,42 @@ If the license is provided through a Kubernetes Secret, follow these steps to up
kubectl delete secret redpanda-license --namespace <namespace>
----

. Create a new Secret with the updated license:
. Create a new Secret with a **new name** that contains the contents of the updated license:
+
[,bash]
----
kubectl create secret generic redpanda-license \
kubectl create secret generic redpanda-license-updated \
--from-file=license=./redpanda.license \
--namespace <namespace>
----
+

. Update the Redpanda CRD to use the new Secret.
.`redpanda-cluster.yaml`
[,yaml]
----
apiVersion: cluster.redpanda.com/v1alpha2
kind: Redpanda
metadata:
name: redpanda
spec:
chartRef: {}
clusterSpec:
enterprise:
licenseSecretRef:
name: redpanda-license-updated
key: license
----

. Apply the changes to the Redpanda CRD:
+
[,bash]
---
kubectl apply -f redpanda-cluster.yaml --namespace <namespace>
---
+
The Redpanda Operator updates the license without restarting the Repanda broker.

. Check the status of new license to make sure it was successfully applied:
+
[,bash]
Expand Down Expand Up @@ -321,4 +347,4 @@ kubectl delete pod $(kubectl get pod --namespace <namespace> | grep redpanda-con

== Next steps

xref:get-started:licensing/monitor-license-status.adoc[].
xref:get-started:licensing/monitor-license-status.adoc[].
Loading