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

Simplified change for cluster-provided kubectl comands #1928

Open
wants to merge 2 commits into
base: devel
Choose a base branch
from

Conversation

IronTooch
Copy link

SUMMARY

This update is related to numerous issues filed related to use of the Makefile for kubectl that is provided by a cluster by Kubernates clusters like Minikube. This allows for one change in the Makefile that adjusts all the kubectl uses in the Makefile.

While this does not fix the issues (below), it simplifies and clarifies the changes needed by a user to be able to use the instructions for installation.

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

Following change, if users are using Minikube, developers can just change the single KUBECTL_CMD variable from kubectl to minikube kubectl --

Before change

make deploy
/bin/sh: 1: kubectl: not found
make: *** [Makefile:146: deploy] Error 127

After change

make deploy
namespace/awx created
customresourcedefinition.apiextensions.k8s.io/awxbackups.awx.ansible.com created
customresourcedefinition.apiextensions.k8s.io/awxmeshingresses.awx.ansible.com created
customresourcedefinition.apiextensions.k8s.io/awxrestores.awx.ansible.com created
customresourcedefinition.apiextensions.k8s.io/awxs.awx.ansible.com created
serviceaccount/awx-operator-controller-manager created
role.rbac.authorization.k8s.io/awx-operator-awx-manager-role created
role.rbac.authorization.k8s.io/awx-operator-leader-election-role created
clusterrole.rbac.authorization.k8s.io/awx-operator-metrics-reader created
clusterrole.rbac.authorization.k8s.io/awx-operator-proxy-role created
rolebinding.rbac.authorization.k8s.io/awx-operator-awx-manager-rolebinding created
rolebinding.rbac.authorization.k8s.io/awx-operator-leader-election-rolebinding created
clusterrolebinding.rbac.authorization.k8s.io/awx-operator-proxy-rolebinding created
configmap/awx-operator-awx-manager-config created
service/awx-operator-controller-manager-metrics-service created
deployment.apps/awx-operator-controller-manager created
root@axiom:/opt/awx-operator# 

This update is related to numerous issues filed related to use of the Makefile for kubectl that is provided by a cluster like Minikube
Copy link

sonarcloud bot commented Jul 26, 2024

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

Successfully merging this pull request may close these issues.

1 participant