Skip to content
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

Fix the documentaion/basic-install so the namespace wont be deleted on kubectl delete -k #1996

Open
wants to merge 1 commit into
base: devel
Choose a base branch
from

Conversation

honza801
Copy link

@honza801 honza801 commented Dec 5, 2024

SUMMARY

Documentation advises users to put awx resources to the same kustomization file as awx-operator. This can lead to permanent data loss on kubectl delete -k . Operator and resources should be split to special directories/kustomization files

Fixes #1864
Fixes ansible/awx#15173

ISSUE TYPE
  • Bug, Docs Fix or other nominal change
ADDITIONAL INFORMATION

Instead of deleting everything while running the kubectl delete -k .

namespace "awx-test" deleted (dry run)
customresourcedefinition.apiextensions.k8s.io "awxbackups.awx.ansible.com" deleted (dry run)
customresourcedefinition.apiextensions.k8s.io "awxmeshingresses.awx.ansible.com" deleted (dry run)
customresourcedefinition.apiextensions.k8s.io "awxrestores.awx.ansible.com" deleted (dry run)
customresourcedefinition.apiextensions.k8s.io "awxs.awx.ansible.com" deleted (dry run)
serviceaccount "awx-operator-controller-manager" deleted (dry run)
role.rbac.authorization.k8s.io "awx-operator-awx-manager-role" deleted (dry run)
role.rbac.authorization.k8s.io "awx-operator-leader-election-role" deleted (dry run)
clusterrole.rbac.authorization.k8s.io "awx-operator-metrics-reader" deleted (dry run)
clusterrole.rbac.authorization.k8s.io "awx-operator-proxy-role" deleted (dry run)
rolebinding.rbac.authorization.k8s.io "awx-operator-awx-manager-rolebinding" deleted (dry run)
rolebinding.rbac.authorization.k8s.io "awx-operator-leader-election-rolebinding" deleted (dry run)
clusterrolebinding.rbac.authorization.k8s.io "awx-operator-proxy-rolebinding" deleted (dry run)
configmap "awx-operator-awx-manager-config" deleted (dry run)
service "awx-operator-controller-manager-metrics-service" deleted (dry run)
deployment.apps "awx-operator-controller-manager" deleted (dry run)
awx.awx.ansible.com "awx-test" deleted (dry run)

Only awx resource is beeing deleted

awx.awx.ansible.com "awx-test" deleted (dry run)

Jan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant