mirror of
https://github.com/ansible/awx.git
synced 2026-01-09 23:12:08 -03:30
Fix Kubernetes dev environment + update docs
This commit is contained in:
parent
65771b7629
commit
fcebd188a6
@ -35,16 +35,7 @@ For the following playbooks to work, you will need to:
|
||||
$ pip install openshift
|
||||
```
|
||||
|
||||
If you are not changing any code in the operator itself, git checkout the latest version from https://github.com/ansible/awx-operator/releases, and then run the following command (from the awx-operator repo):
|
||||
|
||||
```
|
||||
$ alias kubectl="minikube kubectl --"
|
||||
$ export NAMESPACE=my-namespace
|
||||
$ kubectl create namespace $NAMESPACE
|
||||
$ kubectl config set-context --current --namespace=$NAMESPACE
|
||||
$ make deploy
|
||||
|
||||
```
|
||||
If you are not changing any code in the operator itself, git checkout the latest version from https://github.com/ansible/awx-operator/releases, and then follow the instructions in the awx-operator [README](https://github.com/ansible/awx-operator#basic-install).
|
||||
|
||||
If making changes to the operator itself, run the following command in the root
|
||||
of the awx-operator repo. If not, continue to the next section.
|
||||
@ -57,7 +48,6 @@ $ export IMAGE_TAG_BASE=quay.io/<username>/awx-operator
|
||||
$ export VERSION=<cusom-tag>
|
||||
$ make docker-build
|
||||
$ docker push ${IMAGE_TAG_BASE}:${VERSION}
|
||||
$ make deploy
|
||||
```
|
||||
|
||||
## Deploy AWX into Minikube using the AWX Operator
|
||||
|
||||
@ -152,7 +152,7 @@ RUN dnf -y install \
|
||||
unzip && \
|
||||
npm install -g n && n 16.13.1 && npm install -g npm@8.5.0 && dnf remove -y nodejs
|
||||
|
||||
RUN pip3 install black git+https://github.com/coderanger/supervisor-stdout
|
||||
RUN pip3 install black git+https://github.com/coderanger/supervisor-stdout setuptools-scm
|
||||
|
||||
# This package randomly fails to download.
|
||||
# It is nice to have in the dev env, but not necessary.
|
||||
@ -246,6 +246,7 @@ RUN for dir in \
|
||||
/etc/containers \
|
||||
/var/lib/awx/.config/containers \
|
||||
/var/lib/awx/.config/cni \
|
||||
/var/lib/awx/.local \
|
||||
/var/lib/awx/venv \
|
||||
/var/lib/awx/venv/awx/bin \
|
||||
/var/lib/awx/venv/awx/lib/python3.9 \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user