Introduction
When applying a Mendix on Kubernetes license, an error indicating that an operator license already exists is shown:
kubectl -n ap-ns create secret generic mendix-operator-license --from-literal=licensekey=$license_key
error: failed to create secret secrets "mendix-operator-license" already existsEnvironment/Prerequisites
- Applications hosted in Mendix on Kubernetes
Instructions/Procedure
To resolve the issue, perform the following steps:
Run the following command in the affected cluster (replace
namespacewith the name of the actual name of the namespace):kubectl delete secret mendix-operator-license -n <namespace>- Redeploy the operator license.
Outcome
The license can be applied successfully.
Internal information related
- 218166
Additional information
Not applicable
0 Comments