Skip to content
This repository was archived by the owner on May 24, 2023. It is now read-only.

Update manual installation docs to include tag checkout #157

Merged
merged 2 commits into from
Sep 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,9 @@ jobs:
uses: docker/build-push-action@v2
with:
context: '.'
cache-from: type=gha
cache-to: type=gha,mode=max
# Disable cache until https://github.com/docker/buildx/issues/681 is fixed
# cache-from: type=gha
# cache-to: type=gha,mode=max
tags: nginx/nginx-ingress-operator:${{ github.sha }}
push: false

Expand Down Expand Up @@ -135,6 +136,9 @@ jobs:
with:
file: Dockerfile
context: '.'
# Disable cache until https://github.com/docker/buildx/issues/681 is fixed
# cache-from: type=gha
# cache-to: type=gha,mode=max
cache-from: type=gha
cache-to: type=gha,mode=max
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Forgot to delete line 142-143 🙂

tags: |
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ testbin/*
*.swp
*.swo
*~
.vscode/
13 changes: 9 additions & 4 deletions docs/manual-installation.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
# Manual installation

### 1. Deploy the operator

This will deploy the operator in the `nginx-ingress-operator-system` namespace.


1. Deploy the Operator and associated resources:
1. <Openshift> To deploy the Operator and associated resources to an OpenShift environment, run:
1. Clone the `nginx-ingress-operator` repo and checkout the latest stable tag:
```
git clone https://github.com/nginxinc/nginx-ingress-operator/
cd nginx-ingress-operator/
git checkout v0.3.0
```

2. `Openshift` To deploy the Operator and associated resources to an OpenShift environment, run:
```
make openshift-deploy IMG=registry.connect.redhat.com/nginx/nginx-ingress-operator:0.3.0
```

2. To deploy the Operator and associated resources to all other environments:
3. Alternatively, to deploy the Operator and associated resources to all other environments:
```
make deploy IMG=nginx/nginx-ingress-operator:0.3.0
```
Expand Down