Uninstall Apigee hybrid
Use the following commands to uninstall the hybrid runtime:
- Uninstall the resources in your
apigee
namespace:helm uninstall -n APIGEE_NAMESPACE ENV_GROUP_RELEASE_NAME ENV_RELEASE_NAME $ORG_NAME ingress-manager telemetry redis datastore
- ENV_GROUP_RELEASE_NAME is the name with which you previously installed the
apigee-virtualhost
chart. In hybrid v1.10, it is usuallyapigee-virtualhost-ENV_GROUP
. In Hybrid v1.11 and newer it is usually ENV_GROUP. - ENV_RELEASE_NAME is the name with which you previously installed the
apigee-env
chart. In hybrid v1.10, it is usuallyapigee-env-ENV_NAME
. In Hybrid v1.11 and newer it is usually ENV_NAME. - ORG_NAME is the name with which you previously installed the
apigee-org
chart. It is usually your organization name. If you have defined an ORG_NAME environment variable, you can use that variable in your command.
- ENV_GROUP_RELEASE_NAME is the name with which you previously installed the
- Uninstall
apigee-operator
.helm uninstall -n APIGEE_NAMESPACE operator
- Delete the Apigee CRDs:
kubectl delete -k apigee-operator/etc/crds/default/
Remove cert-manager
To remove cert-manager, permanently remove the apigee-ca certificate and secret from the cert-manager namespace with the following steps:
- Delete the
apigee-ca
certificate.kubectl delete secret -n APIGEE_NAMESPACE apigee-ca
- Verify that the
apigee-ca
certificate was deleted by getting all certificates:kubectl get certificates -A
- Delete the
apigee-ca
secret:kubectl -n cert-manager delete secret apigee-ca
- Verify that the secret was deleted:
kubectl get secrets -n cert-manager
The output should look similar to the following:
certificate.cert-manager.io "apigee-ca" deleted
The output should look similar to the following:
NAMESPACE NAME READY SECRET AGE apigee apigee-datastore-guardrails-tls True apigee-datastore-guardrails-tls 89m
The output should look similar to the following:
NAME TYPE DATA AGE cert-manager-webhook-ca Opaque 3 94m