-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Wants: kubectel delete -k . should only delete all the awx resources, but not the entire namespace #15173
Feature Wants: kubectel delete -k . should only delete all the awx resources, but not the entire namespace #15173
Comments
awx repo does not handle the installation of awx, please open this issue on awx-operator repo. also... not sure if this is possible... |
@wangzhihaocom do you mind opening this issue in the awx-operator repo? FYI, for anyone stumbling upon this issue, a work-around for now to delete everything awx related in the namespace except the namespace itself is to run:
|
sure I will open it |
@rooftopcellist here it is ansible/awx-operator#1864 |
@rooftopcellist I am using this command to delete the AWX resources, the resources got deleted but I got some error at the end . so that my gitlab CICD job failed. Is this command correct?
|
Please confirm the following
Feature type
Enhancement to Existing Feature
Feature Summary
Currently., when I deploy the awx in the existing namespace, I use kustomization.yaml
kubectl apply -k .
command ,but when I want to delete all the resources, I use kubectl delete -k .
It will terminate all the resources, as well as the entire existing namespace( including our other existing pod in the namespace), which is not good.
Is there a better to just delete all the awx resource but not to delete the entire namespace?
This is my kustomization.yaml
Select the relevant components
Steps to reproduce
kubectl apply -k .
kubectl delete -k .
Current results
When run kubectl delete -k ., it delete the entire existing namespace deletes
Sugested feature result
Should only delete the awx resources , not delete the entire namespace
Additional information
N/A
The text was updated successfully, but these errors were encountered: